bluepyefe.ecode.pinkNoise

PinkNoise eCode class

Classes

PinkNoise(config_data, reader_data[, ...])

Rheobase-scaled pink-noise stimulation protocol.

class PinkNoise(config_data, reader_data, protocol_name='PinkNoise', efel_settings=None)[source]

Bases: Recording

Rheobase-scaled pink-noise stimulation protocol.

This protocol applies a pink-noise current command scaled relative to the rheobase. The stimulus uses three amplitude levels: 0.75x, 1x, and 1.5x rheobase. It is used to measure the response to suprathreshold noisy stimulation and for model fitting and validation.

Constructor

Parameters:
  • config_data (dict) – metadata for the recording considered informed by the user.

  • reader_data (dict) – metadata for the recording considered returned by the recording reader.

  • protocol_name (str) – name of the protocol of the present recording.

generate()[source]

Generate the current array from the parameters of the ecode

get_stimulus_parameters()[source]

Returns the eCode parameters

interpret(t, current, config_data, reader_data)[source]

Analyse a current array and extract from it the parameters needed to reconstruct the array