data_base
❭ db_initializers
❭ prepare_ANN_batches
❭ get_max_depolarization_per_ms
get_max_depolarization_per_ms¶
- data_base.db_initializers.prepare_ANN_batches.get_max_depolarization_per_ms(vt_dask)¶
Subsample a voltage trace dask dataframe to 1ms bins based on the maximum depolarization.
- Parameters:¶
vt_dask (dask.dataframe) – Voltage traces dask dataframe
- Returns:¶
A dask dataframe of the maximum depolarization per ms.
- Return type:¶
dask.dataframe
Attention
This method assumes a voltage trace time interval of 0.025 ms.