nwb-linkml/nwb_linkml/schema/core.nwb.ogen.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

46 lines
1.3 KiB
YAML

name: core.nwb.ogen
id: core.nwb.ogen
imports:
- core.nwb.base
- core.nwb.device
- nwb.language
- core.nwb.ogen.include
- core.nwb.ogen
default_prefix: core.nwb.ogen/
classes:
OptogeneticSeries:
name: OptogeneticSeries
description: An optogenetic stimulus.
is_a: TimeSeries
attributes:
data:
name: data
description: Applied power for optogenetic stimulus, in watts.
multivalued: false
range: OptogeneticSeries__data
required: true
OptogeneticStimulusSite:
name: OptogeneticStimulusSite
description: A site of optogenetic stimulation.
is_a: NWBContainer
attributes:
description:
name: description
description: Description of stimulation site.
multivalued: false
range: text
required: true
excitation_lambda:
name: excitation_lambda
description: Excitation wavelength, in nm.
multivalued: false
range: float32
required: true
location:
name: location
description: Location of the stimulation site. Specify the area, layer, comments
on estimation of area/layer, stereotaxic coordinates if in vivo, etc. Use
standard atlas names for anatomical regions when possible.
multivalued: false
range: text
required: true