allensdk.internal.ephys.core_feature_extract module¶
-
allensdk.internal.ephys.core_feature_extract.
filter_sweeps
(sweeps, types=None, passed_only=True, iclamp_only=True)[source]¶
-
allensdk.internal.ephys.core_feature_extract.
filtered_sweep_numbers
(sweeps, types=None, passed_only=True, iclamp_only=True)[source]¶
-
allensdk.internal.ephys.core_feature_extract.
find_coarse_long_square_amp_delta
(sweeps, decimals=0)[source]¶ Find the delta between amplitudes of coarse long square sweeps. Includes failed sweeps.
-
allensdk.internal.ephys.core_feature_extract.
find_stim_start
(stim, idx0=0)[source]¶ Find the index of the first nonzero positive or negative jump in an array.
Parameters: - stim: np.ndarray
Array to be searched
- idx0: int
Start searching with this index (default: 0).
Returns: - int
-
allensdk.internal.ephys.core_feature_extract.
generate_output_cell_features
(cell_features, sweep_features, sweep_index)[source]¶
-
allensdk.internal.ephys.core_feature_extract.
nan_get
(obj, key)[source]¶ Return a value from a dictionary. If it does not exist, return None. If it is NaN, return None