BDS Public
BdsApi 4.0.1
This is the Blacknest BDS API.
Loading...
Searching...
No Matches

This class provides the actual Sensor data values contained within a single data block. More...

#include <BdsD.h>

Public Member Functions

 DataBlock (BTimeStamp startTime=BTimeStamp(), BTimeStamp endTime=BTimeStamp(), BUInt32 channelNumber=0, BUInt32 segmentNumber=0, BArray< BArray< BFloat64 > > channelData=BArray< BArray< BFloat64 > >(), BDict< BString > info=BDict< BString >())
 

Public Attributes

BTimeStamp startTime
 The Start Time.
 
BTimeStamp endTime
 The End Time the channel was available.
 
BUInt32 channelNumber
 The first channel number. (1, 2, 3 ...)
 
BUInt32 segmentNumber
 The segment number. (1, 2, 3, ...)
 
BArray< BArray< BFloat64 > > channelData
 The raw channel data in a 2 dimensional array, ordered as per channel information in dataInfo.
 
BDict< BStringinfo
 Extra information on data or ASCII data.
 

Detailed Description

This class provides the actual Sensor data values contained within a single data block.

All Sensor data is segmented into blocks that have a start and end timestamp and perhaps other metadata. The DataBlock contains an array of actual data samples in a 64bit floating pointer format for one or more channels. If the samples are for multiple channels it is assumed that these are synchronously sampled and are normally from a data file that is in the sample multiplexed format (ie. For each point in time there is a set of samples one for each cahnnel). The startTime comes from the original blocks start time information. The endTime may come from the original blocks end time information, if available in the original data format that the data was imported from or is generated from the startTime and the calculated sample rate of the data. For some data types where the sampling rate is a bit varible, the endTime fields may be lined up with the next blocks startTime field to ensure contiguous data segments when exporting data. The info field contains extra, free string format, metadata on the block if available. This could be quality information from the TapeDigitiser system for example.

Constructor & Destructor Documentation

◆ DataBlock()

Bds::DataBlock::DataBlock ( BTimeStamp  startTime = BTimeStamp(),
BTimeStamp  endTime = BTimeStamp(),
BUInt32  channelNumber = 0,
BUInt32  segmentNumber = 0,
BArray< BArray< BFloat64 > >  channelData = BArray<BArray<BFloat64 > >(),
BDict< BString info = BDict<BString >() 
)

Member Data Documentation

◆ startTime

BTimeStamp Bds::DataBlock::startTime

The Start Time.

◆ endTime

BTimeStamp Bds::DataBlock::endTime

The End Time the channel was available.

◆ channelNumber

BUInt32 Bds::DataBlock::channelNumber

The first channel number. (1, 2, 3 ...)

◆ segmentNumber

BUInt32 Bds::DataBlock::segmentNumber

The segment number. (1, 2, 3, ...)

◆ channelData

BArray<BArray<BFloat64 > > Bds::DataBlock::channelData

The raw channel data in a 2 dimensional array, ordered as per channel information in dataInfo.

◆ info

BDict<BString > Bds::DataBlock::info

Extra information on data or ASCII data.


The documentation for this class was generated from the following files: