allensdk.brain_observatory.ecephys.ecephys_session_api.ecephys_nwb_session_api module¶
- class allensdk.brain_observatory.ecephys.ecephys_session_api.ecephys_nwb_session_api.EcephysNwbSessionApi(path, probe_lfp_paths: Dict[int, Callable[[], NWBFile]] | None = None, additional_unit_metrics=None, external_channel_columns=None, **kwargs)[source]¶
Bases:
NwbApi,EcephysSessionApi- get_running_speed(include_rotation=False) DataFrame[source]¶
Gets the running speed Parameters ———- lowpass: bool
Whether to return the running speed with lowpass filter applied or without
- Returns:
- RunningSpeed:
The running speed
- path¶
- test()[source]¶
A minimal test to make sure that this API’s NWB file exists and is readable. Ecephys NWB files use the required session identifier field to store the session id, so this is guaranteed to be present for any uncorrupted NWB file.
Of course, this does not ensure that the file as a whole is correct.