spike_analysis ❭ core ❭ _sta_input_checker
_sta_input_checker¶
- spike_analysis.core._sta_input_checker(t_start, t_end, period)¶
Checks if the input is valid.
- Parameters:¶
t_start (float) – Start time.
t_end (float) – End time.
period (dict) – Dictionary containing period labels as keys and (period_start, period_end) as values.
- Returns:¶
A tuple containing the start time, end time, and period.
- Return type:¶
tuple
- Raises:¶
ValueError – If both
periodand eithert_startort_endare defined.ValueError – If only one of
t_startort_endis defined.