bluepyemodel.evaluation.recordings

Module with recording classes and functions.

Functions

check_recordings(recordings, icell, sim)

Returns a list of valid recordings (where the variable is in the location).

get_i_membrane(isection)

Look for i_membrane in a location.

get_loc_currents(isection)

Get all overall currents available in a location.

get_loc_ions(isection)

Get all ion concentrations available in a location.

get_loc_varlist(isection)

Get all possible variables in a location.

Classes

FixedDtRecordingCustom([name, location, ...])

Recording that can be checked, with recording every 0.1 ms.

FixedDtRecordingStimulus([name, location, ...])

Stimulus recording that can be checked, with recording every 0.1 ms..

LooseDtRecordingCustom([name, location, ...])

Recording that can be checked, but that do not records at fixed dt.

LooseDtRecordingStimulus([name, location, ...])

Stimulus recording that can be checked, but that do not records at fixed dt.

class FixedDtRecordingCustom(name=None, location=None, variable='v')

Bases: LooseDtRecordingCustom

Recording that can be checked, with recording every 0.1 ms.

Constructor.

Parameters:
  • name (str) – name of this object

  • location (Location) – location in the model of the recording

  • variable (str) – which variable to record from (e.g. ‘v’)

instantiate(sim=None, icell=None)

Instantiate recording.

class FixedDtRecordingStimulus(name=None, location=None, variable=None)

Bases: LooseDtRecordingStimulus

Stimulus recording that can be checked, with recording every 0.1 ms..

Constructor

Parameters:
  • name (str) – name of this object

  • location (Location) – location in the model of the recording

  • variable (str) – which variable to record from (e.g. ‘v’)

instantiate(sim=None, icell=None, stimulus=None)

Instantiate recording.

class LooseDtRecordingCustom(name=None, location=None, variable='v')

Bases: CompRecording

Recording that can be checked, but that do not records at fixed dt.

Constructor.

Parameters:
  • name (str) – name of this object

  • location (Location) – location in the model of the recording

  • variable (str) – which variable to record from (e.g. ‘v’)

instantiate(sim=None, icell=None)

Instantiate recording.

property response

Return recording response. Turn current densities into currents.

class LooseDtRecordingStimulus(name=None, location=None, variable=None)

Bases: CompRecording

Stimulus recording that can be checked, but that do not records at fixed dt.

Constructor

Parameters:
  • name (str) – name of this object

  • location (Location) – location in the model of the recording

  • variable (str) – which variable to record from (e.g. ‘v’)

instantiate(sim=None, icell=None, stimulus=None)

Instantiate recording.

check_recordings(recordings, icell, sim)

Returns a list of valid recordings (where the variable is in the location).

get_i_membrane(isection)

Look for i_membrane in a location.

get_loc_currents(isection)

Get all overall currents available in a location.

get_loc_ions(isection)

Get all ion concentrations available in a location.

get_loc_varlist(isection)

Get all possible variables in a location.