\doxysection{Bds\+::Data\+Block Class Reference}
\hypertarget{classBds_1_1DataBlock}{}\label{classBds_1_1DataBlock}\index{Bds::DataBlock@{Bds::DataBlock}}


This class provides the actual \doxylink{classBds_1_1Sensor}{Sensor} data values contained within a single data block.  




{\ttfamily \#include $<$Bds\+D.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classBds_1_1DataBlock_a797d2d669e475ed1a963113e183aeb7e}{Data\+Block}} (\textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1DataBlock_a9f7224a68675e7c8fd3e83a8a44eeaf4}{start\+Time}}=\textbf{ BTime\+Stamp}(), \textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1DataBlock_a115f4d276d5d38875387de23a1d5b3c8}{end\+Time}}=\textbf{ BTime\+Stamp}(), \textbf{ BUInt32} \mbox{\hyperlink{classBds_1_1DataBlock_a9a9849955195670d4cda8504e30a3716}{channel\+Number}}=0, \textbf{ BUInt32} \mbox{\hyperlink{classBds_1_1DataBlock_a57b01265d741ed2e0f621bce4d83a10e}{segment\+Number}}=0, \textbf{ BArray}$<$ \textbf{ BArray}$<$ \textbf{ BFloat64} $>$ $>$ \mbox{\hyperlink{classBds_1_1DataBlock_a0f1a3c18116f8dd72b774011d39d77b6}{channel\+Data}}=\textbf{ BArray}$<$ \textbf{ BArray}$<$ \textbf{ BFloat64} $>$ $>$(), \textbf{ BDict}$<$ \textbf{ BString} $>$ \mbox{\hyperlink{classBds_1_1DataBlock_a3b6c1e74db6e76a7737b474e9fc0f7e3}{info}}=\textbf{ BDict}$<$ \textbf{ BString} $>$())
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1DataBlock_a9f7224a68675e7c8fd3e83a8a44eeaf4}{start\+Time}}
\begin{DoxyCompactList}\small\item\em The Start Time. \end{DoxyCompactList}\item 
\textbf{ BTime\+Stamp} \mbox{\hyperlink{classBds_1_1DataBlock_a115f4d276d5d38875387de23a1d5b3c8}{end\+Time}}
\begin{DoxyCompactList}\small\item\em The End Time the channel was available. \end{DoxyCompactList}\item 
\textbf{ BUInt32} \mbox{\hyperlink{classBds_1_1DataBlock_a9a9849955195670d4cda8504e30a3716}{channel\+Number}}
\begin{DoxyCompactList}\small\item\em The first channel number. (1, 2, 3 ...) \end{DoxyCompactList}\item 
\textbf{ BUInt32} \mbox{\hyperlink{classBds_1_1DataBlock_a57b01265d741ed2e0f621bce4d83a10e}{segment\+Number}}
\begin{DoxyCompactList}\small\item\em The segment number. (1, 2, 3, ...) \end{DoxyCompactList}\item 
\textbf{ BArray}$<$ \textbf{ BArray}$<$ \textbf{ BFloat64} $>$ $>$ \mbox{\hyperlink{classBds_1_1DataBlock_a0f1a3c18116f8dd72b774011d39d77b6}{channel\+Data}}
\begin{DoxyCompactList}\small\item\em The raw channel data in a 2 dimensional array, ordered as per channel information in data\+Info. \end{DoxyCompactList}\item 
\textbf{ BDict}$<$ \textbf{ BString} $>$ \mbox{\hyperlink{classBds_1_1DataBlock_a3b6c1e74db6e76a7737b474e9fc0f7e3}{info}}
\begin{DoxyCompactList}\small\item\em Extra information on data or ASCII data. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This class provides the actual \doxylink{classBds_1_1Sensor}{Sensor} data values contained within a single data block. 

All \doxylink{classBds_1_1Sensor}{Sensor} data is segmented into blocks that have a start and end timestamp and perhaps other metadata. The \doxylink{classBds_1_1DataBlock}{Data\+Block} 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 start\+Time comes from the original blocks start time information. The end\+Time 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 start\+Time and the calculated sample rate of the data. For some data types where the sampling rate is a bit varible, the end\+Time fields may be lined up with the next blocks start\+Time 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 Tape\+Digitiser system for example. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classBds_1_1DataBlock_a797d2d669e475ed1a963113e183aeb7e}\label{classBds_1_1DataBlock_a797d2d669e475ed1a963113e183aeb7e} 
\index{Bds::DataBlock@{Bds::DataBlock}!DataBlock@{DataBlock}}
\index{DataBlock@{DataBlock}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{DataBlock()}{DataBlock()}}
{\footnotesize\ttfamily Bds\+::\+Data\+Block\+::\+Data\+Block (\begin{DoxyParamCaption}\item[{\textbf{ BTime\+Stamp}}]{start\+Time = {\ttfamily \textbf{ BTime\+Stamp}()},  }\item[{\textbf{ BTime\+Stamp}}]{end\+Time = {\ttfamily \textbf{ BTime\+Stamp}()},  }\item[{\textbf{ BUInt32}}]{channel\+Number = {\ttfamily 0},  }\item[{\textbf{ BUInt32}}]{segment\+Number = {\ttfamily 0},  }\item[{\textbf{ BArray}$<$ \textbf{ BArray}$<$ \textbf{ BFloat64} $>$ $>$}]{channel\+Data = {\ttfamily \textbf{ BArray}$<$\textbf{ BArray}$<$\textbf{ BFloat64}~$>$~$>$()},  }\item[{\textbf{ BDict}$<$ \textbf{ BString} $>$}]{info = {\ttfamily \textbf{ BDict}$<$\textbf{ BString}~$>$()} }\end{DoxyParamCaption})}



\doxysubsection{Member Data Documentation}
\Hypertarget{classBds_1_1DataBlock_a9f7224a68675e7c8fd3e83a8a44eeaf4}\label{classBds_1_1DataBlock_a9f7224a68675e7c8fd3e83a8a44eeaf4} 
\index{Bds::DataBlock@{Bds::DataBlock}!startTime@{startTime}}
\index{startTime@{startTime}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{startTime}{startTime}}
{\footnotesize\ttfamily \textbf{ BTime\+Stamp} Bds\+::\+Data\+Block\+::start\+Time}



The Start Time. 

\Hypertarget{classBds_1_1DataBlock_a115f4d276d5d38875387de23a1d5b3c8}\label{classBds_1_1DataBlock_a115f4d276d5d38875387de23a1d5b3c8} 
\index{Bds::DataBlock@{Bds::DataBlock}!endTime@{endTime}}
\index{endTime@{endTime}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{endTime}{endTime}}
{\footnotesize\ttfamily \textbf{ BTime\+Stamp} Bds\+::\+Data\+Block\+::end\+Time}



The End Time the channel was available. 

\Hypertarget{classBds_1_1DataBlock_a9a9849955195670d4cda8504e30a3716}\label{classBds_1_1DataBlock_a9a9849955195670d4cda8504e30a3716} 
\index{Bds::DataBlock@{Bds::DataBlock}!channelNumber@{channelNumber}}
\index{channelNumber@{channelNumber}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{channelNumber}{channelNumber}}
{\footnotesize\ttfamily \textbf{ BUInt32} Bds\+::\+Data\+Block\+::channel\+Number}



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

\Hypertarget{classBds_1_1DataBlock_a57b01265d741ed2e0f621bce4d83a10e}\label{classBds_1_1DataBlock_a57b01265d741ed2e0f621bce4d83a10e} 
\index{Bds::DataBlock@{Bds::DataBlock}!segmentNumber@{segmentNumber}}
\index{segmentNumber@{segmentNumber}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{segmentNumber}{segmentNumber}}
{\footnotesize\ttfamily \textbf{ BUInt32} Bds\+::\+Data\+Block\+::segment\+Number}



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

\Hypertarget{classBds_1_1DataBlock_a0f1a3c18116f8dd72b774011d39d77b6}\label{classBds_1_1DataBlock_a0f1a3c18116f8dd72b774011d39d77b6} 
\index{Bds::DataBlock@{Bds::DataBlock}!channelData@{channelData}}
\index{channelData@{channelData}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{channelData}{channelData}}
{\footnotesize\ttfamily \textbf{ BArray}$<$\textbf{ BArray}$<$\textbf{ BFloat64} $>$ $>$ Bds\+::\+Data\+Block\+::channel\+Data}



The raw channel data in a 2 dimensional array, ordered as per channel information in data\+Info. 

\Hypertarget{classBds_1_1DataBlock_a3b6c1e74db6e76a7737b474e9fc0f7e3}\label{classBds_1_1DataBlock_a3b6c1e74db6e76a7737b474e9fc0f7e3} 
\index{Bds::DataBlock@{Bds::DataBlock}!info@{info}}
\index{info@{info}!Bds::DataBlock@{Bds::DataBlock}}
\doxysubsubsection{\texorpdfstring{info}{info}}
{\footnotesize\ttfamily \textbf{ BDict}$<$\textbf{ BString} $>$ Bds\+::\+Data\+Block\+::info}



Extra information on data or ASCII data. 



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{BdsD_8h}{Bds\+D.\+h}}\item 
\mbox{\hyperlink{BdsD_8cc}{Bds\+D.\+cc}}\end{DoxyCompactItemize}
