File IPNWB_Structures.ipf¶
Functions
-
variable InitWriteChannelParams(WriteChannelParams *p)¶
Initialize WriteChannelParams structure.
-
variable InitReadChannelParams(ReadChannelParams *p)¶
Initialization routine for InitReadChannelParams.
-
variable InitGeneralInfo(GeneralInfo *gi)¶
Initialization routine for GeneralInfo.
-
variable InitSubjectInfo(SubjectInfo *si)¶
Initialization routine for SubjectInfo.
-
variable InitToplevelInfo(ToplevelInfo *ti, variable version)¶
Initialization routine for ToplevelInfo.
- Parameters:
ti – TopLevelInfo Structure
version – [optional] defaults to latest version specified in NWB_VERSION_LATEST
-
variable InitTimeSeriesProperties(TimeSeriesProperties *tsp, variable channelType, variable clampMode)¶
Initialization of TimeSeriesProperties.
- Parameters:
tsp – [out] structure to initialize
channelType – [in] one of IPNWBChannelTypes
clampMode – [in] one of IPNWB_ClampModes
-
variable InitDynamicTable(DynamicTable *dt)¶
-
variable InitElementIdentifiers(ElementIdentifiers *eli)¶
-
variable InitVectorData(VectorData *vd)¶
-
variable InitVectorIndex(VectorIndex *vi)¶
-
struct WriteChannelParams¶
Helper structure for WriteSingleChannel()
Public Members
-
string device¶
name of the measure device, e.g. “ITC18USB_Dev_0”
-
string stimSet¶
name of the template simulus set
-
string channelSuffix¶
custom channel suffix, in case the channel number is ambiguous
-
string channelSuffixDesc¶
description of the channel suffix, will be added to the
source
attribute
-
variable samplingRate¶
sampling rate in Hz
-
variable startingTime¶
timestamp since Igor Pro epoch in UTC of the start of this measurement
-
variable sweep¶
running number for each measurement
-
variable channelType¶
channel type, one of IPNWBChannelTypes
-
variable channelNumber¶
running number of the channel
-
variable electrodeNumber¶
electrode identifier the channel was acquired with
-
string electrodeName¶
electrode identifier the channel was acquired with (string version)
-
variable clampMode¶
clamp mode, one of IPNWB_ClampModes
-
variable groupIndex¶
Should be filled with the result of GetNextFreeGroupIndex(locationID, path) before
-
WAVE data¶
channel data
the first call and must stay constant for all channels for this measurement. If
NaN
an automatic solution is provided.
-
string device¶
-
struct ReadChannelParams¶
Loader structure analog to WriteChannelParams.
Public Members
-
string device¶
name of the measure device, e.g. “ITC18USB_Dev_0”
-
string channelSuffix¶
custom channel suffix, in case the channel number is ambiguous
-
variable sweep¶
running number for each measurement
-
variable channelType¶
channel type, one of IPNWBChannelTypes
-
variable channelNumber¶
running number of the hardware channel
-
variable electrodeNumber¶
electrode identifier the channel was acquired with
-
variable groupIndex¶
constant for all channels in this measurement.
-
variable ttlBit¶
additional information to make the channel number unambigous, in the range 2^0, …, 2^3
-
variable samplingRate¶
sampling rate in Hz
-
string device¶
-
struct GeneralInfo¶
Structure to hold all properties of the NWB file directly below
/general
-
struct SubjectInfo¶
Structure to hold all properties of the NWB file directly below
/general/subject
-
struct ToplevelInfo¶
Structure to hold all properties of the NWB file directly below
/
-
struct TimeSeriesProperties¶
Holds class specific entries for TimeSeries objects.
Usage for writers
STRUCT TimeSeriesProperties tsp InitTimeSeriesProperties(tsp, channelType, clampMode) AddProperty(tsp, "gain", 1.23456) // more calls tp AddProperty() WriteSingleChannel(locationID, path, p, tsp)
and for readers
STRUCT TimeSeriesProperties tsp InitTimeSeriesProperties(tsp, channelType, clampMode) ReadTimeSeriesProperties(groupID, channel, tsp)
-
struct DynamicTable¶
-
struct VectorData¶
-
struct VectorIndex¶