Skip to main content

features.ModelSpikeFeatures

features.ModelSpikeFeatures()

Schema for spike waveform features.

This schema defines the structure and validation rules for spike waveform features including timing, amplitude, and slope characteristics. Adds the raw per-spike-event columns to ModelSpikeSharedFeatures.

Attributes: peak_time_secs (Series[float]): Time to peak in seconds. peak_val (Series[float]): Peak amplitude value (V). recovery_time_secs (Series[float]): Recovery time in seconds. tip_time_secs (Series[float]): Time to tip in seconds. trough_time_secs (Series[float]): Time to trough in seconds. trough_val (Series[float]): Trough amplitude value (V).

Note: peak_val/trough_val are computed from waveforms that dart_subtraction_numpy has already rescaled back to Volts; see ModelSpikeSharedFeatures for tip_val/the slopes/alpha.