nwb-linkml/nwb_linkml/schema/core.nwb.epoch.yaml
sneakers-the-rat be21325123 Cleaner code generation, npytyping type hints for arrays
- split off generated subclasses into "include" files, not sure if that's good, but in any case we have them separable now.
- more work on cleanly un-nesting scalar and 1D-vector data into attributes and lists, respectively
- brought the pydantic generator in-repo to do a bunch of overrides
2023-08-28 22:16:58 -07:00

49 lines
1.3 KiB
YAML

name: core.nwb.epoch
id: core.nwb.epoch
imports:
- hdmf-common.table
- core.nwb.base
- nwb.language
- core.nwb.epoch.include
- core.nwb.epoch
default_prefix: core.nwb.epoch/
classes:
TimeIntervals:
name: TimeIntervals
description: A container for aggregating epoch data and the TimeSeries that each
epoch applies to.
is_a: DynamicTable
attributes:
start_time:
name: start_time
description: Start time of epoch, in seconds.
multivalued: true
range: float32
stop_time:
name: stop_time
description: Stop time of epoch, in seconds.
multivalued: true
range: float32
tags:
name: tags
description: User-defined tags that identify or categorize events.
multivalued: true
range: text
tags_index:
name: tags_index
description: Index for tags.
multivalued: false
range: TimeIntervals__tags_index
required: false
timeseries:
name: timeseries
description: An index into a TimeSeries object.
multivalued: false
range: TimeIntervals__timeseries
required: false
timeseries_index:
name: timeseries_index
description: Index for timeseries.
multivalued: false
range: TimeIntervals__timeseries_index
required: false