← Về thư mục
skills/neuropixels-analysis/scripts/neuropixels_pipeline.py
- load_recording · function · L22-L44 — def load_recording(data_path: str, stream_name: str = 'imec0.ap') -> si.BaseRecording
- preprocess · function · L47-L84 — def preprocess( recording: si.BaseRecording, apply_phase_shift: bool = True, freq_min: float = 400., ) -> tuple
- check_drift · function · L87-L149 — def check_drift(recording: si.BaseRecording, output_folder: str) -> dict
- correct_motion · function · L152-L173 — def correct_motion( recording: si.BaseRecording, output_folder: str, preset: str = 'nonrigid_fast_and_accurate' ) -> si.BaseRecording
- run_spike_sorting · function · L176-L196 — def run_spike_sorting( recording: si.BaseRecording, output_folder: str, sorter: str = 'kilosort4' ) -> si.BaseSorting
- postprocess · function · L199-L235 — def postprocess( sorting: si.BaseSorting, recording: si.BaseRecording, output_folder: str ) -> tuple
- curate_units · function · L238-L307 — def curate_units(qm, method: str = 'allen') -> dict
- export_results · function · L310-L355 — def export_results( analyzer, sorting, recording, labels: dict, output_folder: str )
- run_pipeline · function · L358-L414 — def run_pipeline( data_path: str, output_path: str, sorter: str = 'kilosort4', stream_name: str = 'imec0.ap', apply_motion_correction: bool = True, curation_method: str = 'allen' )