Classes for NSDF data.
Bases: nsdf.nsdfdata.NSDFData
Stores event times recorded from data sources.
Bases: object
Base class for NSDF Data.
str
name of the dataset.
str
unit of the recorded quantity.
str
the recorded field/parameter of the source object. If unspecified it defaults to name.
numpy.dtype
type of the recorded data. Default: numpy.float64
Set the data array for source.
Parameters: |
|
---|---|
Returns: | None |
Insert a bunch of source, data pairs.
Parameters: |
|
---|---|
Returns: | None |
Examples
>>> data_obj = nsdf.UniformData('current', unit='pA')
>>> ika, ikdr = [0.1, 0.3, 0.5], [0.3, 0.14]
>>> data_obj.update_source_data_dict([('KA', ika), ('KDR', ikdr)])
Bases: nsdf.nsdfdata.TimeSeriesData
Stores nonuniformly sampled data.
np.dtype data type of time points. Default np.float64
Bases: nsdf.nsdfdata.TimeSeriesData
Stores nonuniformly sampled data where all sources are sampled at the same time points.
Bases: nsdf.nsdfdata.NSDFData
Stores static data recorded from data sources.