bluepyopt.ephys.parameters

Parameter classes

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

Parameter class that controls attributes of other objects

Constructor

property value

Parameter value

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

Parameter set in the global namespace of neuron

Constructor

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

  • set (is permently)

  • bounds (indexable) – two elements; the lower and upper bounds (Optional)

  • param_name (str) – name used within NEURON

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

Instantiate

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

Nrn version of MetaListEqualParameter, implements instantiate

Constructor

destroy(sim=None)[source]

Remove parameter from the simulator

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

Instantiate

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

Abstract Parameter class for Neuron object parameters

Constructor

destroy(sim=None)[source]

Remove parameter from the simulator

instantiate(sim=None, icell=None, params=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, param_dependencies=None)[source]

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

  • set (is permently)

  • 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

  • param_dependencies (list) – dependencies needed to intantiate the parameter

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

Instantiate

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

Parameter that has a range over 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

  • set (is permently)

  • 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

  • param_dependencies (list) – dependencies needed to intantiate the parameter

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

Instantiate

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

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

  • set (is permently)

  • 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

  • param_dependencies (list) – dependencies needed to instantiate the parameter

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

Instantiate