brainsets.descriptions¶
A class for describing a brainset |
|
A class for describing a subject |
|
A class for describing an experimental session |
|
A class for describing a recording device |
- class BrainsetDescription(*args, **kwargs)[source]¶
Bases:
DataA class for describing a brainset.
- Parameters:
id (str) – Unique identifier for the brainset
origin_version (str) – Version identifier for the original data source
derived_version (str) – Version identifier for the derived/processed data
source (str) – Original data source (usually a URL, or a short description otherwise)
description (str) – Text description of the brainset
brainsets_version (str, optional) – Version of brainsets package used, defaults to current version
temporaldata_version (str, optional) – Version of temporaldata package used, defaults to current version
- class SubjectDescription(*args, **kwargs)[source]¶
Bases:
DataA class for describing a subject.
- Parameters:
id (str) – Unique identifier for the subject
species (Species) – Species of the subject
age (float, optional) – Age of the subject in days, defaults to 0.0
sex (Sex, optional) – Sex of the subject, defaults to UNKNOWN
genotype (str, optional) – Genotype of the subject, defaults to “unknown”
cre_line (Cre_line, optional) – Cre line of the subject, defaults to None
- class SessionDescription(*args, **kwargs)[source]¶
Bases:
DataA class for describing an experimental session.
- Parameters:
id (str) – Unique identifier for the session
recording_date (datetime.datetime) – Date and time when the recording was made
task (Task) – Task performed during the session
- class DeviceDescription(*args, **kwargs)[source]¶
Bases:
DataA class for describing a recording device.
- Parameters:
id (str) – Unique identifier for the device
recording_tech (RecordingTech or List[RecordingTech], optional) – Recording technology used, defaults to None
processing (str, optional) – Processing applied to the recording, defaults to None
chronic (bool, optional) – Whether the device was chronically implanted, defaults to False
start_date (datetime.datetime, optional) – Date when device was implanted/first used, defaults to None
end_date (datetime.datetime, optional) – Date when device was removed/last used, defaults to None
imaging_depth (float, optional) – Depth of imaging in micrometers, defaults to None
target_area (BrainRegion, optional) – Target brain region for recording, defaults to None
-
recording_tech:
Union[RecordingTech,List[RecordingTech]] = None¶