pynwb.ogen module
- class pynwb.ogen.OptogeneticStimulusSite(name, device, description, excitation_lambda, location)[source]
Bases:
NWBContainer
Optogenetic stimulus site.
- Parameters:
- property description
Description of site.
- property device
The device that was used.
- property excitation_lambda
Excitation wavelength in nm.
- property location
Location of stimulation site.
- namespace = 'core'
- neurodata_type = 'OptogeneticStimulusSite'
- class pynwb.ogen.OptogeneticSeries(name, data, site, resolution=-1.0, conversion=1.0, timestamps=None, starting_time=None, rate=None, comments='no comments', description='no description', control=None, control_description=None, offset=0.0)[source]
Bases:
TimeSeries
Optogenetic stimulus. The data field is in unit of watts.
- Parameters:
name (
str
) – The name of this TimeSeries datasetdata (
ndarray
orlist
ortuple
orDataset
orArray
orStrDataset
orHDMFDataset
orAbstractDataChunkIterator
orDataIO
orTimeSeries
) – The data values over time.site (
OptogeneticStimulusSite
) – The site to which this stimulus was applied.resolution (
float
) – The smallest meaningful difference (in specified unit) between values in dataconversion (
float
) – Scalar to multiply each element in data to convert it to the specified unittimestamps (
ndarray
orlist
ortuple
orDataset
orArray
orStrDataset
orHDMFDataset
orAbstractDataChunkIterator
orDataIO
orTimeSeries
) – Timestamps for samples stored in datastarting_time (
float
) – The timestamp of the first samplerate (
float
) – Sampling rate in Hzcomments (
str
) – Human-readable comments about this TimeSeries datasetdescription (
str
) – Description of this TimeSeries datasetcontrol (
Iterable
) – Numerical labels that apply to each element in datacontrol_description (
Iterable
) – Description of each control valueoffset (
float
) – Scalar to add to each element in the data scaled by ‘conversion’ to finish converting it to the specified unit.
- property site
The site to which this stimulus was applied.
- namespace = 'core'
- neurodata_type = 'OptogeneticSeries'