bluepyopt.ephys.locations

Location classes

exception bluepyopt.ephys.locations.EPhysLocInstantiateException(message)[source]

Bases: exceptions.Exception

All exception generated by location instantiation

Constructor

class bluepyopt.ephys.locations.Location(name='', comment='')[source]

Bases: bluepyopt.ephys.base.BaseEPhys

class bluepyopt.ephys.locations.NrnPointProcessLocation(name, pprocess_mech, comment='')[source]

Bases: bluepyopt.ephys.locations.Location

Point process location

Constructor

Parameters:
  • name (str) – name of the object
  • pprocess_mech (str) – point process mechanism
__str__()[source]

String representation

instantiate(sim=None, icell=None)[source]

Find the instantiated point processes

class bluepyopt.ephys.locations.NrnSeclistCompLocation(name, seclist_name=None, sec_index=None, comp_x=None, comment='')[source]

Bases: bluepyopt.ephys.locations.Location, bluepyopt.ephys.serializer.DictMixin

Compartment in a sectionlist

Constructor

Parameters:
  • name (str) – name of the object
  • seclist_name (str) – name of Neuron section list (ex: ‘somatic’)
  • sec_index (int) – index of the section in the section list
  • comp_x (float) – segx (0..1) of segment inside section
__str__()[source]

String representation

instantiate(sim=None, icell=None)[source]

Find the instantiate compartment

class bluepyopt.ephys.locations.NrnSeclistLocation(name, seclist_name=None, comment='')[source]

Bases: bluepyopt.ephys.locations.Location, bluepyopt.ephys.serializer.DictMixin

Section in a sectionlist

Constructor

Parameters:
  • name (str) – name of the object
  • seclist_name (str) – name of NEURON section list (ex: ‘somatic’)
__str__()[source]

String representation

instantiate(sim=None, icell=None)[source]

Find the instantiate compartment

class bluepyopt.ephys.locations.NrnSeclistSecLocation(name, seclist_name=None, sec_index=None, comment='')[source]

Bases: bluepyopt.ephys.locations.Location, bluepyopt.ephys.serializer.DictMixin

Section in a sectionlist

Constructor

Parameters:
  • name (str) – name of this object
  • seclist_name (str) – name of Neuron section list (ex: ‘somatic’)
  • sec_index (int) – index of the section
__str__()[source]

String representation

instantiate(sim=None, icell=None)[source]

Find the instantiate compartment

class bluepyopt.ephys.locations.NrnSomaDistanceCompLocation(name, soma_distance=None, seclist_name=None, comment='')[source]

Bases: bluepyopt.ephys.locations.Location, bluepyopt.ephys.serializer.DictMixin

Compartment at distance from soma

Constructor

Parameters:
  • name (str) – name of this object
  • soma_distance (float) – distance from soma to this segment
  • seclist_name (str) – name of Neuron section list (ex: ‘apical’)
__str__()[source]

String representation

instantiate(sim=None, icell=None)[source]

Find the instantiate compartment