extract_spikes_from_nwbfile

brainsets.utils.dandi_utils.extract_spikes_from_nwbfile(nwbfile, recording_tech)[source]

Extract spikes and unit metadata from an NWBFile

Parameters:
  • nwbfile (NWBFile) – An open NWB file handle

  • recording_tech (RecordingTech) – Only supports RecordingTech.UTAH_ARRAY_THRESHOLD_CROSSINGS and RecordingTech.UTAH_ARRAY_SPIKES