QDF

DataFile
Overview
the root node of a QDF file
Children
Example: short pulse.qdf
DataFile
{
	Segments
	{
		Segment
		{
			StartTime = 0
			Channels : 800 elements / 400 x 2
		}
	}
	Sampling = 0.001
	Scaling = 100
	ADChannelCount = 2
	ADDataSize = 2
	ADDataType = 7
}
Segments
Overview
contains one or more Segment of data
Children
Segment
Overview
Data
none
Children
StartTime
Overview
the start of this segment, in seconds since the beginning of the recording
Data
QTR_TYPE_DOUBLE: 1 x 1
Channels
Overview
contains the sampled data for this segment.
PRELOAD flag is False.
Data
type: DataFile["ADDataType"].data
rowcount: number of samples
colcount: DataFile["ADChannelCount"].data
Sampling
Overview
time between samples, in seconds
Data
QTR_TYPE_DOUBLE: 1 x 1
Scaling
Overview
conversion factor between int data and Voltage.
Voltage of point p, channel c is (Channels.data[p, c] / Scaling)
Data
QTR_TYPE_DOUBLE: 1 x 1
ADChannelCount
Overview
Data
QTR_TYPE_INT: 1 x 1
ADDataSize
Overview
size of one sample of one channel, in bytes
Data
QTR_TYPE_INT: 1 x 1
ADDataType
Overview
data type of sampled data -- a numerical constant from qubtree.pyd:
QTR_TYPE_SHORT = 7;
QTR_TYPE_INT = 9;
should equal Segment['Channels'].dataType
Data
QTR_TYPE_INT: 1 x 1