All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
#include <GuralpSignal.h>
Public Member Functions | |
void | addRecord (quint64 offset, const GuralpCompressedBlock &b) |
Signal::Components | component () const |
GuralpSignal (quint64 offset, const GuralpCompressedBlock &b) | |
QString | name () const |
int | nSamples () const |
const GuralpRecords & | records () const |
double | samplingFrequency () const |
QDateTime | startTime () const |
SparseTimeRange | timeRange (double t0) const |
De-interlacing tool for reading GCF files or streams.
GeopsyCore::GuralpSignal::GuralpSignal | ( | quint64 | offset, |
const GuralpCompressedBlock & | b | ||
) |
Description of constructor still missing
References addRecord(), and TRACE.
void GeopsyCore::GuralpSignal::addRecord | ( | quint64 | offset, |
const GuralpCompressedBlock & | b | ||
) |
Adds one record. Nota that first block must not be added this way. It is automatically add by the contructor.
References GeopsyCore::SparseTimeRange::add(), GeopsyCore::GuralpRecords::add(), GeopsyCore::GuralpCompressedBlock::nSamples(), GeopsyCore::GuralpCompressedBlock::startTime(), and GeopsyCore::GuralpCompressedBlock::timeRange().
Referenced by GuralpSignal().
Signal::Components GeopsyCore::GuralpSignal::component | ( | ) | const [inline] |
{return _firstBlock.component();}
QString GeopsyCore::GuralpSignal::name | ( | ) | const [inline] |
{return _firstBlock.name();}
int GeopsyCore::GuralpSignal::nSamples | ( | ) | const [inline] |
{return _nSamples;}
const GuralpRecords& GeopsyCore::GuralpSignal::records | ( | ) | const [inline] |
{return _records;}
double GeopsyCore::GuralpSignal::samplingFrequency | ( | ) | const [inline] |
{return _firstBlock.samplingFrequency();}
QDateTime GeopsyCore::GuralpSignal::startTime | ( | ) | const [inline] |
{return _firstBlock.startTime();}
SparseTimeRange GeopsyCore::GuralpSignal::timeRange | ( | double | t0 | ) | const |
Returns the range of available signal shitfed by t0.
References GeopsyCore::SparseTimeRange::shift(), and TRACE.