iblrig.transfer_experiments.NeurophotometricsCopier
- class iblrig.transfer_experiments.NeurophotometricsCopier[source]
-
- static neurophotometrics_description(rois, locations, sync_channel, start_time=None, sync_label=None, collection='raw_photometry_data')[source]
Create the neurophotometrics description part for the specified parameters.
- Parameters:
rois (
list
ofstrings
) – List of ROIslocations (
list
ofstrings
) – List of brain regionssync_channel (
int
) – Channel number for syncstart_time (
datetime.datetime
, optional) – Date and time of the recordingsync_label (
str
, optional) – Label for the sync channel
- Returns:
Description of the neurophotometrics data {neurophotometrics’: …}, see below for the yaml rendition of dictionaries
- Return type:
- Parameters:
Example where bpod sends sync to the neurophotometrics:
- neurophotometrics:
fibers: - roi: G0
location: VTA
roi: G1 location: DR
collection: raw_photometry_data sync_label: bnc1out sync_channel: 1 datetime: 2024-09-19T14:13:18.749259
- sync:
bpod
Here MAIN_SYNC=True on behaviour
Example where a DAQ records frame times and sync:
- neurophotometrics:
fibers: - roi: G0
location: VTA
roi: G1 location: DR
collection: raw_photometry_data sync_channel: 5 datetime: 2024-09-19T14:13:18.749259
- sync:
- daqami:
acquisition_software: daqami collection: raw_sync_data extension: bin
- assert_connect_on_init = True
Raise error if unable to write stub file to remote server.
- Type: