allensdk.internal.ephys.core_feature_extract module

allensdk.internal.ephys.core_feature_extract.extract_data(data, nwb_file)[source]
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.find_sweep_stim_start(data_set, sweep_number)[source]
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

allensdk.internal.ephys.core_feature_extract.save_qc_figures(qc_fig_dir, nwb_file, output_data, plot_cell_figures)[source]
allensdk.internal.ephys.core_feature_extract.update_output_sweep_features(cell_features, sweep_features, sweep_index)[source]