##// END OF EJS Templates
lfrsgse is able to parse TM_LFR_SCIENCE_NORMAL_ASM_F0 packets...
lfrsgse is able to parse TM_LFR_SCIENCE_NORMAL_ASM_F0 packets possibility to store the spectral matrices possibility to plot diagonal values of the matrices

File last commit:

r58:6bfd3f59df14 default
r60:ead0b0c28332 default
Show More
wfpacket.cpp
24 lines | 504 B | text/x-c | CppLexer
#include "wfpacket.h"
WFPacket::WFPacket(QObject *parent, unsigned int nbData) :
QObject(parent)
{
this->nbSamples = nbData;
//
wf_v = (short*) malloc(2*nbData);
wf_e1 = (short*) malloc(2*nbData);
wf_e2 = (short*) malloc(2*nbData);
wf_b1 = (short*) malloc(2*nbData);
wf_b2 = (short*) malloc(2*nbData);
wf_b3 = (short*) malloc(2*nbData);
}
WFPacket::~WFPacket()
{
free(wf_v);
free(wf_e1);
free(wf_e2);
free(wf_b1);
free(wf_b2);
free(wf_b3);
}