Quickstart#
Reading Data#
To get the fun part out of the way, you can read ur data:
from pathlib import Path
from rich.pretty import pprint, pretty_repr
from rich.console import Console
from nwb_linkml.io import HDF5IO
# set up for pprinting in notebooks
console = Console(width=100)
print = console.print
# find sample data file and read
nwb_file = Path('../../nwb_linkml/tests/data/aibs.nwb')
data = HDF5IO(nwb_file).read()
print(data)
Show code cell output
NWBFile( hdf5_path='/', name='root', nwb_version='2.2.2', file_create_date=array([datetime.datetime(2020, 5, 26, 0, 53, 26, 903120, tzinfo=datetime.timezone(datetime.timedelta(days=-1, seconds=61200)))], dtype=object), identifier='760693773', session_description='Data and metadata for an Ecephys session', session_start_time=datetime.datetime(2018, 10, 26, 12, 59, 23, tzinfo=TzInfo(-07:00)), timestamps_reference_time=datetime.datetime(2018, 10, 26, 12, 59, 23, tzinfo=TzInfo(-07:00)), acquisition={ 'raw_running_wheel_rotation': TimeSeries( hdf5_path='/acquisition/raw_running_wheel_rotation', name='raw_running_wheel_rotation', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/acquisition/raw_running_wheel_rotation/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='radians', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b80844a50> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a5d2b90>, control=None, control_description=None, sync=None ), 'running_wheel_signal_voltage': TimeSeries( hdf5_path='/acquisition/running_wheel_signal_voltage', name='running_wheel_signal_voltage', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/acquisition/running_wheel_signal_voltage/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='V', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a5c1650> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a5d2b90>, control=None, control_description=None, sync=None ), 'running_wheel_supply_voltage': TimeSeries( hdf5_path='/acquisition/running_wheel_supply_voltage', name='running_wheel_supply_voltage', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/acquisition/running_wheel_supply_voltage/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='V', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a5c1c90> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a5d2b90>, control=None, control_description=None, sync=None ) }, analysis={}, scratch={}, processing={ 'eye_tracking': ProcessingModule( hdf5_path='/processing/eye_tracking', name='eye_tracking', children={ 'cr_ellipse_fits': cr_ellipse_fits( hdf5_path='/processing/eye_tracking/cr_ellipse_fits', name='cr_ellipse_fits', colnames=array(['center_x', 'center_y', 'height', 'phi', 'width', 'timestamps'], dtype=object), description='', id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, center_x=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, center_y=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, height=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phi=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, width=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, timestamps=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'eye_ellipse_fits': eye_ellipse_fits( hdf5_path='/processing/eye_tracking/eye_ellipse_fits', name='eye_ellipse_fits', colnames=array(['center_x', 'center_y', 'height', 'phi', 'width', 'timestamps'], dtype=object), description='', id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, center_x=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, center_y=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, height=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phi=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, width=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, timestamps=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'pupil_ellipse_fits': pupil_ellipse_fits( hdf5_path='/processing/eye_tracking/pupil_ellipse_fits', name='pupil_ellipse_fits', colnames=array(['center_x', 'center_y', 'height', 'phi', 'width', 'timestamps'], dtype=object), description='', id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, center_x=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, center_y=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, height=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phi=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, width=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, timestamps=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ) } ), 'eye_tracking_rig_metadata': ProcessingModule( hdf5_path='/processing/eye_tracking_rig_metadata', name='eye_tracking_rig_metadata', children={ 'eye_tracking_rig_metadata': EcephysEyeTrackingRigMetadata( hdf5_path='/processing/eye_tracking_rig_metadata/eye_tracking_rig_metadata', name='eye_tracking_rig_metadata', equipment='NP.1', monitor_position=EcephysEyeTrackingRigMetadataMonitorPosition( hdf5_path='/processing/eye_tracking_rig_metadata/eye_tracking_rig_metadata/m onitor_position', object_id=None, name='monitor_position', unit='mm', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a116950> ), camera_position=EcephysEyeTrackingRigMetadataCameraPosition( hdf5_path='/processing/eye_tracking_rig_metadata/eye_tracking_rig_metadata/c amera_position', object_id=None, name='camera_position', unit='mm', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2d38d0> ), led_position=EcephysEyeTrackingRigMetadataLedPosition( hdf5_path='/processing/eye_tracking_rig_metadata/eye_tracking_rig_metadata/l ed_position', object_id=None, name='led_position', unit='mm', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a114f10> ), monitor_rotation=EcephysEyeTrackingRigMetadataMonitorRotation( hdf5_path='/processing/eye_tracking_rig_metadata/eye_tracking_rig_metadata/m onitor_rotation', object_id=None, name='monitor_rotation', unit='deg', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a121410> ), camera_rotation=EcephysEyeTrackingRigMetadataCameraRotation( hdf5_path='/processing/eye_tracking_rig_metadata/eye_tracking_rig_metadata/c amera_rotation', object_id=None, name='camera_rotation', unit='deg', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a115450> ) ) } ), 'filtered_gaze_mapping': ProcessingModule( hdf5_path='/processing/filtered_gaze_mapping', name='filtered_gaze_mapping', children={ 'eye_area': TimeSeries( hdf5_path='/processing/filtered_gaze_mapping/eye_area', name='eye_area', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/filtered_gaze_mapping/eye_area/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Pixels ^ 2', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a1168d0> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2caf90>, control=None, control_description=None, sync=None ), 'pupil_area': TimeSeries( hdf5_path='/processing/filtered_gaze_mapping/pupil_area', name='pupil_area', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/filtered_gaze_mapping/pupil_area/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Pixels ^ 2', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a379d50> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a10af50>, control=None, control_description=None, sync=None ), 'screen_coordinates': TimeSeries( hdf5_path='/processing/filtered_gaze_mapping/screen_coordinates', name='screen_coordinates', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/filtered_gaze_mapping/screen_coordinates/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Centimeters', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a10a290> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a109b50>, control=None, control_description=None, sync=None ), 'screen_coordinates_spherical': TimeSeries( hdf5_path='/processing/filtered_gaze_mapping/screen_coordinates_spherical', name='screen_coordinates_spherical', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/filtered_gaze_mapping/screen_coordinates_spherical/da ta', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Degrees', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a109fd0> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a109b90>, control=None, control_description=None, sync=None ) } ), 'optotagging': ProcessingModule( hdf5_path='/processing/optotagging', name='optotagging', children={ 'optogenetic_stimulation': optogenetic_stimulation( hdf5_path='/processing/optotagging/optogenetic_stimulation', name='optogenetic_stimulation', colnames=array(['start_time', 'condition', 'level', 'stop_time', 'stimulus_name', 'duration', 'tags', 'timeseries'], dtype=object), description='', id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2e6850>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2fbc50>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, condition=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2faad0>, level=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a229dd0>, duration=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'optotagging': TimeSeries( hdf5_path='/processing/optotagging/optotagging', name='optotagging', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/optotagging/optotagging/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='seconds', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a10af10> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a123050>, control=None, control_description=None, sync=None ) } ), 'raw_gaze_mapping': ProcessingModule( hdf5_path='/processing/raw_gaze_mapping', name='raw_gaze_mapping', children={ 'eye_area': TimeSeries( hdf5_path='/processing/raw_gaze_mapping/eye_area', name='eye_area', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/raw_gaze_mapping/eye_area/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Pixels ^ 2', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a248d10> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2b4550>, control=None, control_description=None, sync=None ), 'pupil_area': TimeSeries( hdf5_path='/processing/raw_gaze_mapping/pupil_area', name='pupil_area', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/raw_gaze_mapping/pupil_area/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Pixels ^ 2', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2b4c50> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a13e710>, control=None, control_description=None, sync=None ), 'screen_coordinates': TimeSeries( hdf5_path='/processing/raw_gaze_mapping/screen_coordinates', name='screen_coordinates', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/raw_gaze_mapping/screen_coordinates/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Centimeters', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a13d050> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a13f310>, control=None, control_description=None, sync=None ), 'screen_coordinates_spherical': TimeSeries( hdf5_path='/processing/raw_gaze_mapping/screen_coordinates_spherical', name='screen_coordinates_spherical', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/raw_gaze_mapping/screen_coordinates_spherical/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='Degrees', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a13d850> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a143550>, control=None, control_description=None, sync=None ) } ), 'running': ProcessingModule( hdf5_path='/processing/running', name='running', children={ 'running_speed': TimeSeries( hdf5_path='/processing/running/running_speed', name='running_speed', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/running/running_speed/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='cm/s', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a143f10> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a143e90>, control=None, control_description=None, sync=None ), 'running_speed_end_times': TimeSeries( hdf5_path='/processing/running/running_speed_end_times', name='running_speed_end_times', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/running/running_speed_end_times/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='cm/s', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a143b10> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a150810>, control=None, control_description=None, sync=None ), 'running_wheel_rotation': TimeSeries( hdf5_path='/processing/running/running_wheel_rotation', name='running_wheel_rotation', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/running/running_wheel_rotation/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='radians', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a150cd0> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a143e90>, control=None, control_description=None, sync=None ) } ), 'stimulus': ProcessingModule( hdf5_path='/processing/stimulus', name='stimulus', children={ 'timestamps': TimeSeries( hdf5_path='/processing/stimulus/timestamps', name='timestamps', description='no description', comments='no comments', data=TimeSeriesData( hdf5_path='/processing/stimulus/timestamps/data', object_id=None, name='data', conversion=1.0, resolution=-1.0, unit='s', array=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a151b50> ), starting_time=None, timestamps=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a151790>, control=None, control_description=None, sync=None ) } ) }, stimulus=NWBFileStimulus( hdf5_path=None, object_id=None, name='stimulus', presentation={}, templates={} ), general=NWBFileGeneral( hdf5_path=None, object_id=None, name='general', data_collection=None, experiment_description=None, experimenter=None, institution='Allen Institute for Brain Science', keywords=None, lab=None, notes=None, pharmacology=None, protocol=None, related_publications=None, session_id='760693773', slices=None, source_script=None, stimulus='brain_observatory_1.1', surgery=None, virus=None, nwb_container=[], devices={ 'probeA': EcephysProbe( hdf5_path='/general/devices/probeA', name='probeA', description=None, manufacturer=None, sampling_rate=29999.9700560591, probe_id=769322820 ), 'probeB': EcephysProbe( hdf5_path='/general/devices/probeB', name='probeB', description=None, manufacturer=None, sampling_rate=29999.9195957425, probe_id=769322824 ), 'probeC': EcephysProbe( hdf5_path='/general/devices/probeC', name='probeC', description=None, manufacturer=None, sampling_rate=29999.9985048795, probe_id=769322827 ), 'probeD': EcephysProbe( hdf5_path='/general/devices/probeD', name='probeD', description=None, manufacturer=None, sampling_rate=29999.9228144047, probe_id=769322829 ), 'probeE': EcephysProbe( hdf5_path='/general/devices/probeE', name='probeE', description=None, manufacturer=None, sampling_rate=30000.0007890914, probe_id=769322831 ), 'probeF': EcephysProbe( hdf5_path='/general/devices/probeF', name='probeF', description=None, manufacturer=None, sampling_rate=30000.0428393552, probe_id=769322833 ) }, subject=EcephysSpecimen( hdf5_path='/general/subject', name='subject', age='P110D', date_of_birth=None, description=None, genotype='Sst-IRES-Cre/wt;Ai32(RCL-ChR2(H134R)_EYFP)/wt', sex='F', species='Mus musculus', subject_id='738651046', weight=None, specimen_name='Sst-IRES-Cre;Ai32-406808', age_in_days=110.0, strain='C57BL/6J' ), extracellular_ephys=NWBFileGeneralExtracellularEphys( hdf5_path=None, object_id=None, name='extracellular_ephys', electrode_group=[ EcephysElectrodeGroup( hdf5_path='/general/extracellular_ephys/probeA', name='probeA', description='Ecephys Electrode Group', location='See electrode locations', position=None, has_lfp_data=True, probe_id=769322820, lfp_sampling_rate=1249.998752335795 ), EcephysElectrodeGroup( hdf5_path='/general/extracellular_ephys/probeB', name='probeB', description='Ecephys Electrode Group', location='See electrode locations', position=None, has_lfp_data=True, probe_id=769322824, lfp_sampling_rate=1249.996649822605 ), EcephysElectrodeGroup( hdf5_path='/general/extracellular_ephys/probeC', name='probeC', description='Ecephys Electrode Group', location='See electrode locations', position=None, has_lfp_data=True, probe_id=769322827, lfp_sampling_rate=1249.999937703315 ), EcephysElectrodeGroup( hdf5_path='/general/extracellular_ephys/probeD', name='probeD', description='Ecephys Electrode Group', location='See electrode locations', position=None, has_lfp_data=True, probe_id=769322829, lfp_sampling_rate=1249.99678393353 ), EcephysElectrodeGroup( hdf5_path='/general/extracellular_ephys/probeE', name='probeE', description='Ecephys Electrode Group', location='See electrode locations', position=None, has_lfp_data=True, probe_id=769322831, lfp_sampling_rate=1250.000032878805 ), EcephysElectrodeGroup( hdf5_path='/general/extracellular_ephys/probeF', name='probeF', description='Ecephys Electrode Group', location='See electrode locations', position=None, has_lfp_data=True, probe_id=769322833, lfp_sampling_rate=1250.00178497313 ) ], electrodes=NWBFileGeneralExtracellularEphysElectrodes( hdf5_path=None, name='electrodes', colnames=None, description=None, vector_data=[], vector_index=[], x=[], y=[], z=[], imp=[], location=[], filtering=[], group=[], group_name=[], rel_x=[], rel_y=[], rel_z=[], reference=[] ) ), intracellular_ephys=None, optogenetics={}, optophysiology={} ), intervals={ 'drifting_gratings_presentations': drifting_gratings_presentations( hdf5_path='/intervals/drifting_gratings_presentations', name='drifting_gratings_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'temporal_frequency', 'color', 'mask', 'opacity', 'phase', 'size', 'units', 'stimulus_index', 'orientation', 'spatial_frequency', 'contrast', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'drifting_gratings' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4b5790>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4b4dd0>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4b4690>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, temporal_frequency=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, color=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4a3090>, mask=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4a31d0>, opacity=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phase=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4a2010>, size=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4a18d0>, units=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4a1c90>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, orientation=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, spatial_frequency=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a47cbd0>, contrast=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'flashes_presentations': flashes_presentations( hdf5_path='/intervals/flashes_presentations', name='flashes_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'color', 'mask', 'opacity', 'phase', 'size', 'units', 'stimulus_index', 'orientation', 'spatial_frequency', 'contrast', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'flashes' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a30a4d0>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a309ad0>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a309350>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, color=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3081d0>, mask=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a308090>, opacity=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phase=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4f7550>, size=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4f7390>, units=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4f7150>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, orientation=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, spatial_frequency=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a30d550>, contrast=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'gabors_presentations': gabors_presentations( hdf5_path='/intervals/gabors_presentations', name='gabors_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'temporal_frequency', 'x_position', 'y_position', 'color', 'mask', 'opacity', 'phase', 'size', 'units', 'stimulus_index', 'orientation', 'spatial_frequency', 'contrast', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'gabors' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a37a6d0>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a37a310>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a379d10>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, temporal_frequency=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, x_position=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, y_position=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, color=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a356f10>, mask=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a356b10>, opacity=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phase=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a355a50>, size=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3557d0>, units=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a355990>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, orientation=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, spatial_frequency=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a33eb50>, contrast=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'natural_movie_one_presentations': natural_movie_one_presentations( hdf5_path='/intervals/natural_movie_one_presentations', name='natural_movie_one_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'color', 'opacity', 'size', 'units', 'stimulus_index', 'orientation', 'frame', 'contrast', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'natural_movie_one' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4c5a10>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4a3110>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4b7210>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, color=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4b6ad0>, opacity=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, size=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4d2750>, units=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a4d2650>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, orientation=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, frame=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, contrast=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'natural_movie_three_presentations': natural_movie_three_presentations( hdf5_path='/intervals/natural_movie_three_presentations', name='natural_movie_three_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'color', 'opacity', 'size', 'units', 'stimulus_index', 'orientation', 'frame', 'contrast', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'natural_movie_three' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3e3110>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3e2a50>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3e2410>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, color=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3e16d0>, opacity=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, size=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3ef910>, units=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3efb10>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, orientation=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, frame=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, contrast=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'natural_scenes_presentations': natural_scenes_presentations( hdf5_path='/intervals/natural_scenes_presentations', name='natural_scenes_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'stimulus_index', 'frame', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'natural_scenes' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a21f510>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a21e750>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a3ece90>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, frame=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ), 'spontaneous_presentations': spontaneous_presentations( hdf5_path='/intervals/spontaneous_presentations', name='spontaneous_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'spontaneous' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2495d0>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a24b110>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a255c10>, vector_data=[], vector_index=[] ), 'static_gratings_presentations': static_gratings_presentations( hdf5_path='/intervals/static_gratings_presentations', name='static_gratings_presentations', colnames=array(['start_time', 'stop_time', 'stimulus_name', 'stimulus_block', 'color', 'mask', 'opacity', 'phase', 'size', 'units', 'stimulus_index', 'orientation', 'spatial_frequency', 'contrast', 'tags', 'timeseries'], dtype=object), description="Presentation times and stimuli details for 'static_gratings' stimuli", id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, start_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, stop_time=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, tags=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a283150>, tags_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, timeseries=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a282b90>, timeseries_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, stimulus_name=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a282b50>, stimulus_block=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, color=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a2824d0>, mask=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a282210>, opacity=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, phase=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a281990>, size=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a281a90>, units=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a281190>, stimulus_index=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, orientation=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, spatial_frequency=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, contrast=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[] ) }, units=units( hdf5_path='/units', name='units', colnames=array(['quality', 'amplitude_cutoff', 'recovery_slope', 'cluster_id', 'spread', 'velocity_below', 'd_prime', 'nn_miss_rate', 'isolation_distance', 'silhouette_score', 'waveform_halfwidth', 'PT_ratio', 'cumulative_drift', 'isi_violations', 'presence_ratio', 'snr', 'l_ratio', 'amplitude', 'repolarization_slope', 'local_index', 'velocity_above', 'nn_hit_rate', 'peak_channel_id', 'waveform_duration', 'firing_rate', 'max_drift', 'spike_times', 'spike_amplitudes', 'waveform_mean'], dtype=object), description='', id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, spike_times_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, spike_times=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, waveform_mean=dask.array<array, shape=(10, 82), dtype=float64, chunksize=(10, 82), chunktype=numpy.ndarray>, quality=<nwb_linkml.types.ndarray.NDArrayProxy object at 0x7f1b7a17ebd0>, amplitude_cutoff=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, recovery_slope=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, cluster_id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, spread=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, velocity_below=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, d_prime=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, nn_miss_rate=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, isolation_distance=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, silhouette_score=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, waveform_halfwidth=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, PT_ratio=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, cumulative_drift=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, isi_violations=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, presence_ratio=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, snr=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, l_ratio=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, amplitude=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, repolarization_slope=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, local_index=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, velocity_above=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, nn_hit_rate=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, peak_channel_id=dask.array<array, shape=(10,), dtype=int64, chunksize=(10,), chunktype=numpy.ndarray>, waveform_duration=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, firing_rate=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, max_drift=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, spike_amplitudes=dask.array<array, shape=(10,), dtype=float64, chunksize=(10,), chunktype=numpy.ndarray>, vector_data=[], vector_index=[], obs_intervals_index=None, obs_intervals=None, electrodes_index=None, electrodes=None, electrode_group=[], waveform_sd=None ) )
Load and manipulate NWB schemas#
A git
provider module can manage a repository to
provide a given NWB namespace at a given version, and cast the
schema into Pydantic models from nwb_schema_language
.
For the nwb-core schema, loading first just the namespaces file (without adjoining schema):
from nwb_linkml.providers.git import NWB_CORE_REPO
from nwb_linkml.io.schema import load_namespaces
namespace_file: 'Path' = NWB_CORE_REPO.provide_from_git('2.6.0')
core_namespaces = load_namespaces(namespace_file)
print(core_namespaces)
Show code cell output
Namespaces( namespaces=[ Namespace( doc='NWB namespace', name='core', full_name='NWB core', version='2.6.0-alpha', date=None, author=[ 'Andrew Tritt', 'Oliver Ruebel', 'Ryan Ly', 'Ben Dichter', 'Keith Godfrey', 'Jeff Teeters' ], contact=[ 'ajtritt@lbl.gov', 'oruebel@lbl.gov', 'rly@lbl.gov', 'bdichter@lbl.gov', 'keithg@alleninstitute.org', 'jteeters@berkeley.edu' ], schema_=[ Schema( source=None, namespace='hdmf-common', title=None, neurodata_types=[], doc=None ), Schema( source='nwb.base.yaml', namespace=None, title='Base data types', neurodata_types=[], doc='This source module contains base data types used throughout the NWB data format.' ), Schema( source='nwb.device.yaml', namespace=None, title='Devices', neurodata_types=[], doc='This source module contains neurodata_types for device data.' ), Schema( source='nwb.epoch.yaml', namespace=None, title='Epochs', neurodata_types=[], doc='This source module contains neurodata_types for epoch data.' ), Schema( source='nwb.image.yaml', namespace=None, title='Image data', neurodata_types=[], doc='This source module contains neurodata_types for image data.' ), Schema( source='nwb.file.yaml', namespace=None, title='NWB file', neurodata_types=[], doc='Main NWB file specification.' ), Schema( source='nwb.misc.yaml', namespace=None, title='Miscellaneous neurodata_types.', neurodata_types=[], doc='Miscellaneous types.' ), Schema( source='nwb.behavior.yaml', namespace=None, title='Behavior', neurodata_types=[], doc='This source module contains neurodata_types for behavior data.' ), Schema( source='nwb.ecephys.yaml', namespace=None, title='Extracellular electrophysiology', neurodata_types=[], doc='This source module contains neurodata_types for extracellular electrophysiology data.' ), Schema( source='nwb.icephys.yaml', namespace=None, title='Intracellular electrophysiology', neurodata_types=[], doc='This source module contains neurodata_types for intracellular electrophysiology data.' ), Schema( source='nwb.ogen.yaml', namespace=None, title='Optogenetics', neurodata_types=[], doc='This source module contains neurodata_types for opto-genetics data.' ), Schema( source='nwb.ophys.yaml', namespace=None, title='Optical physiology', neurodata_types=[], doc='This source module contains neurodata_types for optical physiology data.' ), Schema( source='nwb.retinotopy.yaml', namespace=None, title='Retinotopy', neurodata_types=[], doc='This source module contains neurodata_type for retinotopy data.' ) ] ) ] )
Or for a schema file…
from nwb_linkml.io.schema import load_schema_file
base_schema_file = namespace_file.parent / 'nwb.base.yaml'
nwb_core_base = load_schema_file(base_schema_file)
print(nwb_core_base)
Show code cell output
SchemaAdapter( path=PosixPath('/tmp/nwb_linkml__cache/git/core/core/nwb.base.yaml'), groups=[ Group( neurodata_type_def='NWBContainer', neurodata_type_inc='Container', name=None, default_name=None, doc='An abstract data type for a generic container storing collections of data and metadata. Base type for all data and metadata containers.', quantity=1, linkable=None, attributes=[], datasets=[], groups=[], links=[] ), Group( neurodata_type_def='NWBDataInterface', neurodata_type_inc='NWBContainer', name=None, default_name=None, doc='An abstract data type for a generic container storing collections of data, as opposed to metadata.', quantity=1, linkable=None, attributes=[], datasets=[], groups=[], links=[] ), Group( neurodata_type_def='TimeSeries', neurodata_type_inc='NWBDataInterface', name=None, default_name=None, doc='General purpose time series.', quantity=1, linkable=None, attributes=[ Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value='no description', doc='Description of the time series.', required=False ), Attribute( dtype='text', name='comments', dims=[], shape=[], value=None, default_value='no comments', doc='Human-readable comments about the TimeSeries. This second descriptive field can be used to store additional information, or descriptive information if the primary description field is populated with a computer-readable string.', required=False ) ], datasets=[ Dataset( dtype=[], neurodata_type_def=None, neurodata_type_inc=None, name='data', default_name=None, dims=[ ['num_times'], ['num_times', 'num_DIM2'], ['num_times', 'num_DIM2', 'num_DIM3'], ['num_times', 'num_DIM2', 'num_DIM3', 'num_DIM4'] ], shape=[[None], [None, None], [None, None, None], [None, None, None, None]], value=None, default_value=None, doc='Data values. Data can be in 1-D, 2-D, 3-D, or 4-D. The first dimension should always represent time. This can also be used to store binary data (e.g., image frames). This can also be a link to data stored in an external file.', quantity=1, linkable=None, attributes=[ Attribute( dtype='float32', name='conversion', dims=[], shape=[], value=None, default_value=1.0, doc="Scalar to multiply each element in data to convert it to the specified 'unit'. If the data are stored in acquisition system units or other units that require a conversion to be interpretable, multiply the data by 'conversion' to convert the data to the specified 'unit'. e.g. if the data acquisition system stores values in this object as signed 16-bit integers (int16 range -32,768 to 32,767) that correspond to a 5V range (-2.5V to 2.5V), and the data acquisition system gain is 8000X, then the 'conversion' multiplier to get from raw data acquisition values to recorded volts is 2.5/32768/8000 = 9.5367e-9.", required=False ), Attribute( dtype='float32', name='offset', dims=[], shape=[], value=None, default_value=0.0, doc="Scalar to add to the data after scaling by 'conversion' to finalize its coercion to the specified 'unit'. Two common examples of this include (a) data stored in an unsigned type that requires a shift after scaling to re-center the data, and (b) specialized recording devices that naturally cause a scalar offset with respect to the true units.", required=False ), Attribute( dtype='float32', name='resolution', dims=[], shape=[], value=None, default_value=-1.0, doc='Smallest meaningful difference between values in data, stored in the specified by unit, e.g., the change in value of the least significant bit, or a larger number if signal noise is known to be present. If unknown, use -1.0.', required=False ), Attribute( dtype='text', name='unit', dims=[], shape=[], value=None, default_value=None, doc="Base unit of measurement for working with the data. Actual stored values are not necessarily stored in these units. To access the data in these units, multiply 'data' by 'conversion' and add 'offset'.", required=True ), Attribute( dtype='text', name='continuity', dims=[], shape=[], value=None, default_value=None, doc='Optionally describe the continuity of the data. Can be "continuous", "instantaneous", or "step". For example, a voltage trace would be "continuous", because samples are recorded from a continuous process. An array of lick times would be "instantaneous", because the data represents distinct moments in time. Times of image presentations would be "step" because the picture remains the same until the next timepoint. This field is optional, but is useful in providing information about the underlying data. It may inform the way this data is interpreted, the way it is visualized, and what analysis methods are applicable.', required=False ) ] ), Dataset( dtype='float64', neurodata_type_def=None, neurodata_type_inc=None, name='starting_time', default_name=None, dims=[], shape=[], value=None, default_value=None, doc='Timestamp of the first sample in seconds. When timestamps are uniformly spaced, the timestamp of the first sample can be specified and all subsequent ones calculated from the sampling rate attribute.', quantity='?', linkable=None, attributes=[ Attribute( dtype='float32', name='rate', dims=[], shape=[], value=None, default_value=None, doc='Sampling rate, in Hz.', required=True ), Attribute( dtype='text', name='unit', dims=[], shape=[], value='seconds', default_value=None, doc="Unit of measurement for time, which is fixed to 'seconds'.", required=True ) ] ), Dataset( dtype='float64', neurodata_type_def=None, neurodata_type_inc=None, name='timestamps', default_name=None, dims=['num_times'], shape=[None], value=None, default_value=None, doc='Timestamps for samples stored in data, in seconds, relative to the common experiment master-clock stored in NWBFile.timestamps_reference_time.', quantity='?', linkable=None, attributes=[ Attribute( dtype='int32', name='interval', dims=[], shape=[], value=1, default_value=None, doc="Value is '1'", required=True ), Attribute( dtype='text', name='unit', dims=[], shape=[], value='seconds', default_value=None, doc="Unit of measurement for timestamps, which is fixed to 'seconds'.", required=True ) ] ), Dataset( dtype='uint8', neurodata_type_def=None, neurodata_type_inc=None, name='control', default_name=None, dims=['num_times'], shape=[None], value=None, default_value=None, doc='Numerical labels that apply to each time point in data for the purpose of querying and slicing data by these values. If present, the length of this array should be the same size as the first dimension of data.', quantity='?', linkable=None, attributes=[] ), Dataset( dtype='text', neurodata_type_def=None, neurodata_type_inc=None, name='control_description', default_name=None, dims=['num_control_values'], shape=[None], value=None, default_value=None, doc='Description of each control value. Must be present if control is present. If present, control_description[0] should describe time points where control == 0.', quantity='?', linkable=None, attributes=[] ) ], groups=[ Group( neurodata_type_def=None, neurodata_type_inc=None, name='sync', default_name=None, doc="Lab-specific time and sync information as provided directly from hardware devices and that is necessary for aligning all acquired time information to a common timebase. The timestamp array stores time in the common timebase. This group will usually only be populated in TimeSeries that are stored external to the NWB file, in files storing raw data. Once timestamp data is calculated, the contents of 'sync' are mostly for archival purposes.", quantity='?', linkable=None, attributes=[], datasets=[], groups=[], links=[] ) ], links=[] ), Group( neurodata_type_def='ProcessingModule', neurodata_type_inc='NWBContainer', name=None, default_name=None, doc='A collection of processed data.', quantity=1, linkable=None, attributes=[ Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value=None, doc='Description of this collection of processed data.', required=True ) ], datasets=[], groups=[ Group( neurodata_type_def=None, neurodata_type_inc='NWBDataInterface', name=None, default_name=None, doc='Data objects stored in this collection.', quantity='*', linkable=None, attributes=[], datasets=[], groups=[], links=[] ), Group( neurodata_type_def=None, neurodata_type_inc='DynamicTable', name=None, default_name=None, doc='Tables stored in this collection.', quantity='*', linkable=None, attributes=[], datasets=[], groups=[], links=[] ) ], links=[] ), Group( neurodata_type_def='Images', neurodata_type_inc='NWBDataInterface', name=None, default_name='Images', doc='A collection of images with an optional way to specify the order of the images using the "order_of_images" dataset. An order must be specified if the images are referenced by index, e.g., from an IndexSeries.', quantity=1, linkable=None, attributes=[ Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value=None, doc='Description of this collection of images.', required=True ) ], datasets=[ Dataset( dtype=[], neurodata_type_def=None, neurodata_type_inc='Image', name=None, default_name=None, dims=[], shape=[], value=None, default_value=None, doc='Images stored in this collection.', quantity='+', linkable=None, attributes=[] ), Dataset( dtype=[], neurodata_type_def=None, neurodata_type_inc='ImageReferences', name='order_of_images', default_name=None, dims=[], shape=[], value=None, default_value=None, doc='Ordered dataset of references to Image objects stored in the parent group. Each Image object in the Images group should be stored once and only once, so the dataset should have the same length as the number of images.', quantity='?', linkable=None, attributes=[] ) ], groups=[], links=[] ) ], datasets=[ Dataset( dtype=[], neurodata_type_def='NWBData', neurodata_type_inc='Data', name=None, default_name=None, dims=[], shape=[], value=None, default_value=None, doc='An abstract data type for a dataset.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[ CompoundDtype( name='idx_start', doc="Start index into the TimeSeries 'data' and 'timestamp' datasets of the referenced TimeSeries. The first dimension of those arrays is always time.", dtype='int32' ), CompoundDtype( name='count', doc='Number of data samples available in this time series, during this epoch', dtype='int32' ), CompoundDtype( name='timeseries', doc='The TimeSeries that this index applies to', dtype=ReferenceDtype(target_type='TimeSeries', reftype='object') ) ], neurodata_type_def='TimeSeriesReferenceVectorData', neurodata_type_inc='VectorData', name=None, default_name='timeseries', dims=[], shape=[], value=None, default_value=None, doc='Column storing references to a TimeSeries (rows). For each TimeSeries this VectorData column stores the start_index and count to indicate the range in time to be selected as well as an object reference to the TimeSeries.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype='numeric', neurodata_type_def='Image', neurodata_type_inc='NWBData', name=None, default_name=None, dims=[['x', 'y'], ['x', 'y', 'r, g, b'], ['x', 'y', 'r, g, b, a']], shape=[[None, None], [None, None, 3], [None, None, 4]], value=None, default_value=None, doc='An abstract data type for an image. Shape can be 2-D (x, y), or 3-D where the third dimension can have three or four elements, e.g. (x, y, (r, g, b)) or (x, y, (r, g, b, a)).', quantity=1, linkable=None, attributes=[ Attribute( dtype='float32', name='resolution', dims=[], shape=[], value=None, default_value=None, doc='Pixel resolution of the image, in pixels per centimeter.', required=False ), Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value=None, doc='Description of the image.', required=False ) ] ), Dataset( dtype=ReferenceDtype(target_type='Image', reftype='object'), neurodata_type_def='ImageReferences', neurodata_type_inc='NWBData', name=None, default_name=None, dims=['num_images'], shape=[None], value=None, default_value=None, doc='Ordered dataset of references to Image objects.', quantity=1, linkable=None, attributes=[] ) ], imports=[], namespace=None, version=None )
And additional adapters
are used to handle some of the
implicit behavior in nwb schema files, like importing other namespaces
at a specific version, and inter-schema class imports. Eg. the
NamespacesAdapter
finds the implicitly
imported hdmf-common
namespace (again provided by the git schema provider).
from nwb_linkml.adapters import NamespacesAdapter
core_ns = NamespacesAdapter.from_yaml(namespace_file)
print(core_ns.imported)
Show code cell output
[ NamespacesAdapter( namespaces=Namespaces( namespaces=[ Namespace( doc='Common data structures provided by HDMF', name='hdmf-common', full_name='HDMF Common', version='1.8.0', date=None, author=['Andrew Tritt', 'Oliver Ruebel', 'Ryan Ly', 'Ben Dichter'], contact=[ 'ajtritt@lbl.gov', 'oruebel@lbl.gov', 'rly@lbl.gov', 'bdichter@lbl.gov' ], schema_=[ Schema( source='base.yaml', namespace=None, title='Base data types', neurodata_types=[], doc='base data types' ), Schema( source='table.yaml', namespace=None, title='Table data types', neurodata_types=[], doc='data types for a column-based table' ), Schema( source='sparse.yaml', namespace=None, title='Sparse data types', neurodata_types=[], doc='data types for different types of sparse matrices' ) ] ), Namespace( doc='Experimental data structures provided by HDMF. These are not guaranteed to be available in the future.', name='hdmf-experimental', full_name='HDMF Experimental', version='0.5.0', date=None, author=[ 'Andrew Tritt', 'Oliver Ruebel', 'Ryan Ly', 'Ben Dichter', 'Matthew Avaylon' ], contact=[ 'ajtritt@lbl.gov', 'oruebel@lbl.gov', 'rly@lbl.gov', 'bdichter@lbl.gov', 'mavaylon@lbl.gov' ], schema_=[ Schema( source=None, namespace='hdmf-common', title=None, neurodata_types=[], doc=None ), Schema( source='experimental.yaml', namespace=None, title='Experimental data types', neurodata_types=[], doc='Experimental data types' ), Schema( source='resources.yaml', namespace=None, title='Resource reference data types', neurodata_types=[], doc='data types for storing references to web accessible resources' ) ] ) ] ), schemas=[ SchemaAdapter( path=PosixPath('/tmp/nwb_linkml__cache/git/hdmf-common/common/base.yaml'), groups=[ Group( neurodata_type_def='Container', neurodata_type_inc=None, name=None, default_name=None, doc='An abstract data type for a group storing collections of data and metadata. Base type for all data and metadata containers.', quantity=1, linkable=None, attributes=[], datasets=[], groups=[], links=[] ), Group( neurodata_type_def='SimpleMultiContainer', neurodata_type_inc='Container', name=None, default_name=None, doc='A simple Container for holding onto multiple containers.', quantity=1, linkable=None, attributes=[], datasets=[ Dataset( dtype=[], neurodata_type_def=None, neurodata_type_inc='Data', name=None, default_name=None, dims=[], shape=[], value=None, default_value=None, doc='Data objects held within this SimpleMultiContainer.', quantity='*', linkable=None, attributes=[] ) ], groups=[ Group( neurodata_type_def=None, neurodata_type_inc='Container', name=None, default_name=None, doc='Container objects held within this SimpleMultiContainer.', quantity='*', linkable=None, attributes=[], datasets=[], groups=[], links=[] ) ], links=[] ) ], datasets=[ Dataset( dtype=[], neurodata_type_def='Data', neurodata_type_inc=None, name=None, default_name=None, dims=[], shape=[], value=None, default_value=None, doc='An abstract data type for a dataset.', quantity=1, linkable=None, attributes=[] ) ], imports=[], namespace='hdmf-common', version='1.8.0' ), SchemaAdapter( path=PosixPath('/tmp/nwb_linkml__cache/git/hdmf-common/common/table.yaml'), groups=[ Group( neurodata_type_def='DynamicTable', neurodata_type_inc='Container', name=None, default_name=None, doc='A group containing multiple datasets that are aligned on the first dimension (Currently, this requirement if left up to APIs to check and enforce). These datasets represent different columns in the table. Apart from a column that contains unique identifiers for each row, there are no other required datasets. Users are free to add any number of custom VectorData objects (columns) here. DynamicTable also supports ragged array columns, where each element can be of a different size. To add a ragged array column, use a VectorIndex type to index the corresponding VectorData type. See documentation for VectorData and VectorIndex for more details. Unlike a compound data type, which is analogous to storing an array-of-structs, a DynamicTable can be thought of as a struct-of-arrays. This provides an alternative structure to choose from when optimizing storage for anticipated access patterns. Additionally, this type provides a way of creating a table without having to define a compound type up front. Although this convenience may be attractive, users should think carefully about how data will be accessed. DynamicTable is more appropriate for column-centric access, whereas a dataset with a compound type would be more appropriate for row-centric access. Finally, data size should also be taken into account. For small tables, performance loss may be an acceptable trade-off for the flexibility of a DynamicTable.', quantity=1, linkable=None, attributes=[ Attribute( dtype='text', name='colnames', dims=['num_columns'], shape=[None], value=None, default_value=None, doc='The names of the columns in this table. This should be used to specify an order to the columns.', required=True ), Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value=None, doc='Description of what is in this dynamic table.', required=True ) ], datasets=[ Dataset( dtype='int', neurodata_type_def=None, neurodata_type_inc='ElementIdentifiers', name='id', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='Array of unique identifiers for the rows of this dynamic table.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[], neurodata_type_def=None, neurodata_type_inc='VectorData', name=None, default_name=None, dims=[], shape=[], value=None, default_value=None, doc='Vector columns, including index columns, of this dynamic table.', quantity='*', linkable=None, attributes=[] ) ], groups=[], links=[] ), Group( neurodata_type_def='AlignedDynamicTable', neurodata_type_inc='DynamicTable', name=None, default_name=None, doc='DynamicTable container that supports storing a collection of sub-tables. Each sub-table is a DynamicTable itself that is aligned with the main table by row index. I.e., all DynamicTables stored in this group MUST have the same number of rows. This type effectively defines a 2-level table in which the main data is stored in the main table implemented by this type and additional columns of the table are grouped into categories, with each category being represented by a separate DynamicTable stored within the group.', quantity=1, linkable=None, attributes=[ Attribute( dtype='text', name='categories', dims=['num_categories'], shape=[None], value=None, default_value=None, doc='The names of the categories in this AlignedDynamicTable. Each category is represented by one DynamicTable stored in the parent group. This attribute should be used to specify an order of categories and the category names must match the names of the corresponding DynamicTable in the group.', required=True ) ], datasets=[], groups=[ Group( neurodata_type_def=None, neurodata_type_inc='DynamicTable', name=None, default_name=None, doc='A DynamicTable representing a particular category for columns in the AlignedDynamicTable parent container. The table MUST be aligned with (i.e., have the same number of rows) as all other DynamicTables stored in the AlignedDynamicTable parent container. The name of the category is given by the name of the DynamicTable and its description by the description attribute of the DynamicTable.', quantity='*', linkable=None, attributes=[], datasets=[], groups=[], links=[] ) ], links=[] ) ], datasets=[ Dataset( dtype=[], neurodata_type_def='VectorData', neurodata_type_inc='Data', name=None, default_name=None, dims=[ ['dim0'], ['dim0', 'dim1'], ['dim0', 'dim1', 'dim2'], ['dim0', 'dim1', 'dim2', 'dim3'] ], shape=[[None], [None, None], [None, None, None], [None, None, None, None]], value=None, default_value=None, doc='An n-dimensional dataset representing a column of a DynamicTable. If used without an accompanying VectorIndex, first dimension is along the rows of the DynamicTable and each step along the first dimension is a cell of the larger table. VectorData can also be used to represent a ragged array if paired with a VectorIndex. This allows for storing arrays of varying length in a single cell of the DynamicTable by indexing into this VectorData. The first vector is at VectorData[0:VectorIndex[0]]. The second vector is at VectorData[VectorIndex[0]:VectorIndex[1]], and so on.', quantity=1, linkable=None, attributes=[ Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value=None, doc='Description of what these vectors represent.', required=True ) ] ), Dataset( dtype='uint8', neurodata_type_def='VectorIndex', neurodata_type_inc='VectorData', name=None, default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='Used with VectorData to encode a ragged array. An array of indices into the first dimension of the target VectorData, and forming a map between the rows of a DynamicTable and the indices of the VectorData. The name of the VectorIndex is expected to be the name of the target VectorData object followed by "_index".', quantity=1, linkable=None, attributes=[ Attribute( dtype=ReferenceDtype(target_type='VectorData', reftype='object'), name='target', dims=[], shape=[], value=None, default_value=None, doc='Reference to the target dataset that this index applies to.', required=True ) ] ), Dataset( dtype='int', neurodata_type_def='ElementIdentifiers', neurodata_type_inc='Data', name=None, default_name='element_id', dims=['num_elements'], shape=[None], value=None, default_value=None, doc='A list of unique identifiers for values within a dataset, e.g. rows of a DynamicTable.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype='int', neurodata_type_def='DynamicTableRegion', neurodata_type_inc='VectorData', name=None, default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='DynamicTableRegion provides a link from one table to an index or region of another. The `table` attribute is a link to another `DynamicTable`, indicating which table is referenced, and the data is int(s) indicating the row(s) (0-indexed) of the target array. `DynamicTableRegion`s can be used to associate rows with repeated meta-data without data duplication. They can also be used to create hierarchical relationships between multiple `DynamicTable`s. `DynamicTableRegion` objects may be paired with a `VectorIndex` object to create ragged references, so a single cell of a `DynamicTable` can reference many rows of another `DynamicTable`.', quantity=1, linkable=None, attributes=[ Attribute( dtype=ReferenceDtype(target_type='DynamicTable', reftype='object'), name='table', dims=[], shape=[], value=None, default_value=None, doc='Reference to the DynamicTable object that this region applies to.', required=True ), Attribute( dtype='text', name='description', dims=[], shape=[], value=None, default_value=None, doc='Description of what this table region points to.', required=True ) ] ) ], imports=[], namespace='hdmf-common', version='1.8.0' ), SchemaAdapter( path=PosixPath('/tmp/nwb_linkml__cache/git/hdmf-common/common/sparse.yaml'), groups=[ Group( neurodata_type_def='CSRMatrix', neurodata_type_inc='Container', name=None, default_name=None, doc='A compressed sparse row matrix. Data are stored in the standard CSR format, where column indices for row i are stored in indices[indptr[i]:indptr[i+1]] and their corresponding values are stored in data[indptr[i]:indptr[i+1]].', quantity=1, linkable=None, attributes=[ Attribute( dtype='uint', name='shape', dims=['number of rows, number of columns'], shape=[2], value=None, default_value=None, doc='The shape (number of rows, number of columns) of this sparse matrix.', required=True ) ], datasets=[ Dataset( dtype='uint', neurodata_type_def=None, neurodata_type_inc=None, name='indices', default_name=None, dims=['number of non-zero values'], shape=[None], value=None, default_value=None, doc='The column indices.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype='uint', neurodata_type_def=None, neurodata_type_inc=None, name='indptr', default_name=None, dims=['number of rows in the matrix + 1'], shape=[None], value=None, default_value=None, doc='The row index pointer.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[], neurodata_type_def=None, neurodata_type_inc=None, name='data', default_name=None, dims=['number of non-zero values'], shape=[None], value=None, default_value=None, doc='The non-zero values in the matrix.', quantity=1, linkable=None, attributes=[] ) ], groups=[], links=[] ) ], datasets=[], imports=[], namespace='hdmf-common', version='1.8.0' ), SchemaAdapter( path=PosixPath('/tmp/nwb_linkml__cache/git/hdmf-common/common/experimental.yaml'), groups=[], datasets=[ Dataset( dtype='uint8', neurodata_type_def='EnumData', neurodata_type_inc='VectorData', name=None, default_name=None, dims=[], shape=[], value=None, default_value=None, doc="Data that come from a fixed set of values. A data value of i corresponds to the i-th value in the VectorData referenced by the 'elements' attribute.", quantity=1, linkable=None, attributes=[ Attribute( dtype=ReferenceDtype(target_type='VectorData', reftype='object'), name='elements', dims=[], shape=[], value=None, default_value=None, doc='Reference to the VectorData object that contains the enumerable elements', required=True ) ] ) ], imports=[], namespace='hdmf-experimental', version='0.5.0' ), SchemaAdapter( path=PosixPath('/tmp/nwb_linkml__cache/git/hdmf-common/common/resources.yaml'), groups=[ Group( neurodata_type_def='HERD', neurodata_type_inc='Container', name=None, default_name=None, doc='HDMF External Resources Data Structure. A set of six tables for tracking external resource references in a file or across multiple files.', quantity=1, linkable=None, attributes=[], datasets=[ Dataset( dtype=[ CompoundDtype( name='key', doc='The user term that maps to one or more resources in the `resources` table, e.g., "human".', dtype='text' ) ], neurodata_type_def=None, neurodata_type_inc='Data', name='keys', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='A table for storing user terms that are used to refer to external resources.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[ CompoundDtype( name='file_object_id', doc='The object id (UUID) of a file that contains objects that refers to external resources.', dtype='text' ) ], neurodata_type_def=None, neurodata_type_inc='Data', name='files', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='A table for storing object ids of files used in external resources.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[ CompoundDtype( name='entity_id', doc="The compact uniform resource identifier (CURIE) of the entity, in the form [prefix]:[unique local identifier], e.g., 'NCBI_TAXON:9606'.", dtype='text' ), CompoundDtype( name='entity_uri', doc='The URI for the entity this reference applies to. This can be an empty string. e.g., https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=info&id=9606', dtype='text' ) ], neurodata_type_def=None, neurodata_type_inc='Data', name='entities', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='A table for mapping user terms (i.e., keys) to resource entities.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[ CompoundDtype( name='files_idx', doc='The row index to the file in the `files` table containing the object.', dtype='uint' ), CompoundDtype( name='object_id', doc='The object id (UUID) of the object.', dtype='text' ), CompoundDtype( name='object_type', doc='The data type of the object.', dtype='text' ), CompoundDtype( name='relative_path', doc='The relative path from the data object with the `object_id` to the dataset or attribute with the value(s) that is associated with an external resource. This can be an empty string if the object is a dataset that contains the value(s) that is associated with an external resource.', dtype='text' ), CompoundDtype( name='field', doc='The field within the compound data type using an external resource. This is used only if the dataset or attribute is a compound data type; otherwise this should be an empty string.', dtype='text' ) ], neurodata_type_def=None, neurodata_type_inc='Data', name='objects', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='A table for identifying which objects in a file contain references to external resources.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[ CompoundDtype( name='objects_idx', doc='The row index to the object in the `objects` table that holds the key', dtype='uint' ), CompoundDtype( name='keys_idx', doc='The row index to the key in the `keys` table.', dtype='uint' ) ], neurodata_type_def=None, neurodata_type_inc='Data', name='object_keys', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='A table for identifying which objects use which keys.', quantity=1, linkable=None, attributes=[] ), Dataset( dtype=[ CompoundDtype( name='entities_idx', doc='The row index to the entity in the `entities` table.', dtype='uint' ), CompoundDtype( name='keys_idx', doc='The row index to the key in the `keys` table.', dtype='uint' ) ], neurodata_type_def=None, neurodata_type_inc='Data', name='entity_keys', default_name=None, dims=['num_rows'], shape=[None], value=None, default_value=None, doc='A table for identifying which keys use which entity.', quantity=1, linkable=None, attributes=[] ) ], groups=[], links=[] ) ], datasets=[], imports=[], namespace='hdmf-experimental', version='0.5.0' ) ], imported=[] ) ]
The classes in nwb_schema_language
are just pydantic models, so they
can be used like any other to create new, validated schemas.
Translating to LinkML#
adapters
handle the conversion from NWB schema language to
LinkML.
core_linkml = core_ns.build()
print(core_linkml)
Show code cell output
Build Result: --------------- Schemas: ---------- core core.nwb.base core.nwb.behavior core.nwb.device core.nwb.ecephys core.nwb.epoch core.nwb.file core.nwb.icephys core.nwb.image core.nwb.language core.nwb.misc core.nwb.ogen core.nwb.ophys core.nwb.retinotopy hdmf-common hdmf-common.base hdmf-common.nwb.language hdmf-common.sparse hdmf-common.table hdmf-experimental hdmf-experimental.experimental hdmf-experimental.nwb.language hdmf-experimental.resources
The BuildResult
class holds the LinkML representation
of each of the schemas and their classes, which are now in linkml_runtime.linkml_model.SchemaDefinition
and ClassDefinition
classes:
print(core_linkml.schemas[0])
Show code cell output
SchemaDefinition( name='core.nwb.base', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={ 'is_namespace': Annotation(tag='is_namespace', value=False, extensions={}, annotations={}), 'namespace': Annotation(tag='namespace', value='core', extensions={}, annotations={}) }, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], id='core.nwb.base', version='2.6.0-alpha', imports=['hdmf-common.base', 'hdmf-common.table', 'core.nwb.language'], license=None, prefixes={}, emit_prefixes=[], default_curi_maps=[], default_prefix='core.nwb.base/', default_range=None, subsets={}, types={}, enums={}, slots={}, classes={ 'NWBData': ClassDefinition( name='NWBData', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='An abstract data type for a dataset.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Data', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeriesReferenceVectorData': ClassDefinition( name='TimeSeriesReferenceVectorData', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Column storing references to a TimeSeries (rows). For each TimeSeries this VectorData column stores the start_index and count to indicate the range in time to be selected as well as an object reference to the TimeSeries.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='VectorData', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'Image': ClassDefinition( name='Image', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='An abstract data type for an image. Shape can be 2-D (x, y), or 3-D where the third dimension can have three or four elements, e.g. (x, y, (r, g, b)) or (x, y, (r, g, b, a)).', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='NWBData', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'resolution': SlotDefinition( name='resolution', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Pixel resolution of the image, in pixels per centimeter.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float32', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'description': SlotDefinition( name='description', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Description of the image.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'array': SlotDefinition( name='array', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='Image__Arraylike', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'Image__Arraylike': ClassDefinition( name='Image__Arraylike', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Arraylike', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'x': SlotDefinition( name='x', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='numeric', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'y': SlotDefinition( name='y', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='numeric', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'r, g, b': SlotDefinition( name='r, g, b', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='numeric', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=3, maximum_cardinality=3, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'r, g, b, a': SlotDefinition( name='r, g, b, a', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='numeric', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=4, maximum_cardinality=4, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'ImageReferences': ClassDefinition( name='ImageReferences', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Ordered dataset of references to Image objects.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='NWBData', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'image': SlotDefinition( name='image', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Ordered dataset of references to Image objects.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=True, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='Image', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'NWBContainer': ClassDefinition( name='NWBContainer', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='An abstract data type for a generic container storing collections of data and metadata. Base type for all data and metadata containers.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Container', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'NWBDataInterface': ClassDefinition( name='NWBDataInterface', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='An abstract data type for a generic container storing collections of data, as opposed to metadata.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='NWBContainer', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries': ClassDefinition( name='TimeSeries', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='General purpose time series.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='NWBDataInterface', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'description': SlotDefinition( name='description', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Description of the time series.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'comments': SlotDefinition( name='comments', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Human-readable comments about the TimeSeries. This second descriptive field can be used to store additional information, or descriptive information if the primary description field is populated with a computer-readable string.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'data': SlotDefinition( name='data', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Data values. Data can be in 1-D, 2-D, 3-D, or 4-D. The first dimension should always represent time. This can also be used to store binary data (e.g., image frames). This can also be a link to data stored in an external file.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__data', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'starting_time': SlotDefinition( name='starting_time', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Timestamp of the first sample in seconds. When timestamps are uniformly spaced, the timestamp of the first sample can be specified and all subsequent ones calculated from the sampling rate attribute.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__starting_time', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'timestamps': SlotDefinition( name='timestamps', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Timestamps for samples stored in data, in seconds, relative to the common experiment master-clock stored in NWBFile.timestamps_reference_time.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__timestamps__Arraylike', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'control': SlotDefinition( name='control', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Numerical labels that apply to each time point in data for the purpose of querying and slicing data by these values. If present, the length of this array should be the same size as the first dimension of data.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__control__Arraylike', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'control_description': SlotDefinition( name='control_description', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Description of each control value. Must be present if control is present. If present, control_description[0] should describe time points where control == 0.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__control_description__Arraylike', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'sync': SlotDefinition( name='sync', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description="Lab-specific time and sync information as provided directly from hardware devices and that is necessary for aligning all acquired time information to a common timebase. The timestamp array stores time in the common timebase. This group will usually only be populated in TimeSeries that are stored external to the NWB file, in files storing raw data. Once timestamp data is calculated, the contents of 'sync' are mostly for archival purposes.", alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__sync', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__data': ClassDefinition( name='TimeSeries__data', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Data values. Data can be in 1-D, 2-D, 3-D, or 4-D. The first dimension should always represent time. This can also be used to store binary data (e.g., image frames). This can also be a link to data stored in an external file.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent='string(data)', list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string='data', equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'conversion': SlotDefinition( name='conversion', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description="Scalar to multiply each element in data to convert it to the specified 'unit'. If the data are stored in acquisition system units or other units that require a conversion to be interpretable, multiply the data by 'conversion' to convert the data to the specified 'unit'. e.g. if the data acquisition system stores values in this object as signed 16-bit integers (int16 range -32,768 to 32,767) that correspond to a 5V range (-2.5V to 2.5V), and the data acquisition system gain is 8000X, then the 'conversion' multiplier to get from raw data acquisition values to recorded volts is 2.5/32768/8000 = 9.5367e-9.", alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float32', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'offset': SlotDefinition( name='offset', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description="Scalar to add to the data after scaling by 'conversion' to finalize its coercion to the specified 'unit'. Two common examples of this include (a) data stored in an unsigned type that requires a shift after scaling to re-center the data, and (b) specialized recording devices that naturally cause a scalar offset with respect to the true units.", alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float32', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'resolution': SlotDefinition( name='resolution', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Smallest meaningful difference between values in data, stored in the specified by unit, e.g., the change in value of the least significant bit, or a larger number if signal noise is known to be present. If unknown, use -1.0.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float32', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'unit': SlotDefinition( name='unit', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description="Base unit of measurement for working with the data. Actual stored values are not necessarily stored in these units. To access the data in these units, multiply 'data' by 'conversion' and add 'offset'.", alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'continuity': SlotDefinition( name='continuity', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Optionally describe the continuity of the data. Can be "continuous", "instantaneous", or "step". For example, a voltage trace would be "continuous", because samples are recorded from a continuous process. An array of lick times would be "instantaneous", because the data represents distinct moments in time. Times of image presentations would be "step" because the picture remains the same until the next timepoint. This field is optional, but is useful in providing information about the underlying data. It may inform the way this data is interpreted, the way it is visualized, and what analysis methods are applicable.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'array': SlotDefinition( name='array', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='TimeSeries__data__Arraylike', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__data__Arraylike': ClassDefinition( name='TimeSeries__data__Arraylike', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Arraylike', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'num_times': SlotDefinition( name='num_times', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='AnyType', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'num_DIM2': SlotDefinition( name='num_DIM2', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='AnyType', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'num_DIM3': SlotDefinition( name='num_DIM3', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='AnyType', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'num_DIM4': SlotDefinition( name='num_DIM4', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='AnyType', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__starting_time': ClassDefinition( name='TimeSeries__starting_time', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Timestamp of the first sample in seconds. When timestamps are uniformly spaced, the timestamp of the first sample can be specified and all subsequent ones calculated from the sampling rate attribute.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent='string(starting_time)', list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string='starting_time', equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'rate': SlotDefinition( name='rate', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Sampling rate, in Hz.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float32', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'unit': SlotDefinition( name='unit', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description="Unit of measurement for time, which is fixed to 'seconds'.", alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'value': SlotDefinition( name='value', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float64', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__timestamps__Arraylike': ClassDefinition( name='TimeSeries__timestamps__Arraylike', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Arraylike', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'num_times': SlotDefinition( name='num_times', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='float64', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__control__Arraylike': ClassDefinition( name='TimeSeries__control__Arraylike', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Arraylike', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'num_times': SlotDefinition( name='num_times', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='uint8', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__control_description__Arraylike': ClassDefinition( name='TimeSeries__control_description__Arraylike', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='Arraylike', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'num_control_values': SlotDefinition( name='num_control_values', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'TimeSeries__sync': ClassDefinition( name='TimeSeries__sync', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description="Lab-specific time and sync information as provided directly from hardware devices and that is necessary for aligning all acquired time information to a common timebase. The timestamp array stores time in the common timebase. This group will usually only be populated in TimeSeries that are stored external to the NWB file, in files storing raw data. Once timestamp data is calculated, the contents of 'sync' are mostly for archival purposes.", alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent='string(sync)', list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string='sync', equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'ProcessingModule': ClassDefinition( name='ProcessingModule', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='A collection of processed data.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='NWBContainer', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes=[ SlotDefinition( name='children', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=True, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range=None, range_expression=None, enum_range=None, required=None, recommended=None, inlined=True, inlined_as_list=False, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[ AnonymousSlotExpression( extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], range='NWBDataInterface', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), AnonymousSlotExpression( extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], range='DynamicTable', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) ], all_of=[] ) ], class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'Images': ClassDefinition( name='Images', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='A collection of images with an optional way to specify the order of the images using the "order_of_images" dataset. An order must be specified if the images are referenced by index, e.g., from an IndexSeries.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='NWBDataInterface', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'description': SlotDefinition( name='description', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Description of this collection of images.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='text', range_expression=None, enum_range=None, required=None, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'image': SlotDefinition( name='image', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Images stored in this collection.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=True, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='Image', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ), 'order_of_images': SlotDefinition( name='order_of_images', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Ordered dataset of references to Image objects stored in the parent group. Each Image object in the Images group should be stored once and only once, so the dataset should have the same length as the number of images.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=False, inherited=None, readonly=None, ifabsent=None, list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=None, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='Images__order_of_images', range_expression=None, enum_range=None, required=False, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string=None, equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=True, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ), 'Images__order_of_images': ClassDefinition( name='Images__order_of_images', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description='Ordered dataset of references to Image objects stored in the parent group. Each Image object in the Images group should be stored once and only once, so the dataset should have the same length as the number of images.', alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a='ImageReferences', abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, slots=[], slot_usage={}, attributes={ 'name': SlotDefinition( name='name', id_prefixes=[], definition_uri=None, local_names={}, conforms_to=None, implements=[], instantiates=[], extensions={}, annotations={}, description=None, alt_descriptions={}, title=None, deprecated=None, todos=[], notes=[], comments=[], examples=[], in_subset=[], from_schema=None, imported_from=None, source=None, in_language=None, see_also=[], deprecated_element_has_exact_replacement=None, deprecated_element_has_possible_replacement=None, aliases=[], structured_aliases={}, mappings=[], exact_mappings=[], close_mappings=[], related_mappings=[], narrow_mappings=[], broad_mappings=[], created_by=None, contributors=[], created_on=None, last_updated_on=None, modified_by=None, status=None, rank=None, categories=[], keywords=[], is_a=None, abstract=None, mixin=None, mixins=[], apply_to=[], values_from=[], string_serialization=None, singular_name=None, domain=None, slot_uri=None, multivalued=None, inherited=None, readonly=None, ifabsent='string(order_of_images)', list_elements_unique=None, list_elements_ordered=None, shared=None, key=None, identifier=True, designates_type=None, alias=None, owner=None, domain_of=[], subproperty_of=None, symmetric=None, reflexive=None, locally_reflexive=None, irreflexive=None, asymmetric=None, transitive=None, inverse=None, is_class_field=None, transitive_form_of=None, reflexive_transitive_form_of=None, role=None, is_usage_slot=None, usage_slot_name=None, relational_role=None, slot_group=None, is_grouping_slot=None, path_rule=None, disjoint_with=[], children_are_mutually_disjoint=None, union_of=[], range='string', range_expression=None, enum_range=None, required=True, recommended=None, inlined=None, inlined_as_list=None, minimum_value=None, maximum_value=None, pattern=None, structured_pattern=None, unit=None, implicit_prefix=None, value_presence=None, equals_string='order_of_images', equals_string_in=[], equals_number=None, equals_expression=None, minimum_cardinality=None, maximum_cardinality=None, has_member=None, all_members=None, none_of=[], exactly_one_of=[], any_of=[], all_of=[] ) }, class_uri=None, subclass_of=None, union_of=[], defining_slots=[], tree_root=None, unique_keys={}, rules=[], classification_rules=[], slot_names_unique=None, represents_relationship=None, disjoint_with=[], children_are_mutually_disjoint=None, any_of=[], exactly_one_of=[], none_of=[], all_of=[], slot_conditions={} ) }, metamodel_version=None, source_file=None, source_file_date=None, source_file_size=None, generation_date=None, slot_names_unique=None, settings={} )
Generating Pydantic Models#
Todo
Document Pydantic model generation
Caching Output with Providers#
Todo
Document provider usage