neuralset.events.etypes.Spikes¶
- pydantic model neuralset.events.etypes.Spikes[source][source]¶
Spikes recording event saved as HDF5 object.
Base class for spikes recordings that can be loaded using HDF5.
- Parameters:
Notes
Subject ID is cast to string to handle numeric IDs from dataframes
Examples
spikes = Spikes(start=0, timeline="scan1", filepath="data_raw.nwb", subject="sub-01") h5py_file = spikes.read() # Returns h5py.File object
- field subject: Annotated[str, BeforeValidator(func=_int_cast, json_schema_input_type=PydanticUndefined)] = ''[source]¶