trace_check_err¶
- 
biophysics_fitting.ephys.trace_check_err(t, v, stim_onset=None, stim_duration=None, punish=250)¶
- Returns a basic trace error that penalizes traces with low variance. Useful for an evolutionary algorithm, when the voltage trace is not spiking yet, and spike-related error functions cannot be applied yet. This tells the algorithm to reward variance in a non-spiking voltage trace – at least something is happening. 
Documentation unclear, incomplete, broken or wrong? Let us know