edlio.dataio package#

Submodules#

edlio.dataio.csvdata module#

edlio.dataio.csvdata.load_data(part_paths, aux_data_entries, as_dataframe=False)#

Entry point for automatic dataset loading.

This function is used internally to load CSV data.

Return type:

T.Iterator[pd.DataFrame | list[str]]

edlio.dataio.intan module#

class edlio.dataio.intan.SyncIntanReader(intan_filename)#

Bases: IntanRawIO, BaseFromRaw

Reader for Intan electrophysiology data.

This class is the same as IntanIO from NEO, but additionally also provides synchronized timestamps in its sync_times() property.

property digin_channels_raw: ndarray#

Obtain the raw data of digital input channels

property has_adjusted_times: bool#

Returns True if we have synchronized or otherwise adjusted time data.

property sync_times: Any#

Synchronized timestamps vector

edlio.dataio.intan.load_data(part_paths, aux_data_entries, do_timesync=True, include_nosync_time=False)#

Entry point for automatic dataset loading.

This function is used internally to load Intan RHD signals data and apply time synchronization.

Return type:

Iterator[SyncIntanReader]

edlio.dataio.tsyncfile module#

class edlio.dataio.tsyncfile.TSyncFile(fname=None)#

Bases: object

Read a TimeSync (.tsync) binary file as generated by the Syntalos DAQ system.

property collection_id: UUID#

Data collection ID this file belongs to.

property custom: dict[str, Any]#

User-defined custom properties of this file.

property generator_name: str#

Name of the module that generated this file.

open(fname)#
Return type:

None

property sync_mode: TSyncFileMode#

Time data storage mode..

property time_created: datetime | None#
property time_labels: tuple[str, str]#

Labels of the two encoded times.

property time_units: tuple[Any, Any]#

Units of the two encoded times.

property times: ndarray#

The actual time values of the two clocks.

property tolerance: int#

The tolerance range value, in microseconds

class edlio.dataio.tsyncfile.TSyncFileMode(*values)#

Bases: IntEnum

Time storage mode of a TSync file.

CONTINUOUS = 0#
SYNCPOINTS = 1#
class edlio.dataio.tsyncfile.TSyncTimeUnit(*values)#

Bases: IntEnum

Unit types for time representation in a TSync file.

INDEX = 0#
MICROSECONDS = 2#
MILLISECONDS = 3#
NANOSECONDS = 1#
SECONDS = 4#

edlio.dataio.video module#

edlio.dataio.zarr module#

edlio.dataio.zarr.load_data(part_paths, aux_data_entries)#

Entry point for automatic dataset loading.

Opens each Zarr store and yields its root group. Callers can access arrays and attributes directly via the zarr API.

Return type:

Iterator[Any]

Module contents#

edlio.dataio.load_dataio_module(what)#
Return type:

Callable[..., Any]