bluepyopt.ephys.parameters

Parameter classes

class bluepyopt.ephys.parameters.MetaParameter(name, obj=None, attr_name=None, value=None, frozen=False, bounds=None)[source]

Bases: bluepyopt.ephys.parameters.NrnParameter

Parameter class that controls attributes of other objects

Constructor

value

Parameter value

class bluepyopt.ephys.parameters.NrnGlobalParameter(name, value=None, frozen=False, bounds=None, param_name=None)[source]

Bases: bluepyopt.ephys.parameters.NrnParameter, bluepyopt.ephys.serializer.DictMixin

Parameter set in the global namespace of neuron

Contructor

Parameters:
  • name (str) – name of this object
  • value (float) – Value for the parameter, required if Frozen=True
  • frozen (bool) – Whether the parameter can be varied, or its values
  • permently set (is) –
  • bounds (indexable) – two elements; the lower and upper bounds (Optional)
  • param_name (str) – name used within NEURON
instantiate(sim=None, icell=None)[source]

Instantiate

class bluepyopt.ephys.parameters.NrnParameter(name, value=None, frozen=False, bounds=None)[source]

Bases: bluepyopt.parameters.Parameter

Abstract Parameter class for Neuron object parameters

Contructor

destroy(sim=None)[source]

Remove parameter from the simulator

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

Instantiate the parameter in the simulator

class bluepyopt.ephys.parameters.NrnPointProcessParameter(name, value=None, frozen=False, bounds=None, locations=None, param_name=None)[source]

Bases: bluepyopt.ephys.parameters.NrnParameter, bluepyopt.ephys.serializer.DictMixin

Parameter of a section

Constructor

Parameters:
  • name (str) – name of the Parameter
  • value (float) – Value for the parameter, required if Frozen=True
  • frozen (bool) – Whether the parameter can be varied, or its values
  • permently set (is) –
  • bounds (indexable) – two elements; the lower and upper bounds (Optional)
  • locations – an iterator of the point process locations you want to set the parameters of
  • param_name (str) – name of parameter used within the point process
instantiate(sim=None, icell=None)[source]

Instantiate

class bluepyopt.ephys.parameters.NrnRangeParameter(name, value=None, frozen=False, bounds=None, param_name=None, value_scaler=None, locations=None)[source]

Bases: bluepyopt.ephys.parameters.NrnParameter, bluepyopt.ephys.serializer.DictMixin

Parameter that has a range over a section

Contructor

Parameters:
  • name (str) – name of the Parameter
  • value (float) – Value for the parameter, required if Frozen=True
  • frozen (bool) – Whether the parameter can be varied, or its values
  • permently set (is) –
  • bounds (indexable) – two elements; the lower and upper bounds (Optional)
  • param_name (str) – name used within NEURON
  • value_scaler (float) – value used to scale the parameter value
  • locations (list of ephys.locations.Location) – locations on which to instantiate the parameter
instantiate(sim=None, icell=None)[source]

Instantiate

class bluepyopt.ephys.parameters.NrnSectionParameter(name, value=None, frozen=False, bounds=None, param_name=None, value_scaler=None, locations=None)[source]

Bases: bluepyopt.ephys.parameters.NrnParameter, bluepyopt.ephys.serializer.DictMixin

Parameter of a section

Contructor

Parameters:
  • name (str) – name of the Parameter
  • value (float) – Value for the parameter, required if Frozen=True
  • frozen (bool) – Whether the parameter can be varied, or its values
  • permently set (is) –
  • bounds (indexable) – two elements; the lower and upper bounds (Optional)
  • param_name (str) – name used within NEURON
  • value_scaler (float) – value used to scale the parameter value
  • locations (list of ephys.locations.Location) – locations on which to instantiate the parameter
instantiate(sim=None, icell=None)[source]

Instantiate