1#ifndef JS8_SUBMODE_HPP_
2#define JS8_SUBMODE_HPP_
4#include "JS8_Mode/JS8.h"
15struct error :
public std::runtime_error {
16 explicit error(QString
const &what)
17 : std::runtime_error(what.toStdString()) {}
JS8 Submode namespace implementation.
Definition JS8Submode.cpp:19
double computeRatio(int const submode, double const period)
Compute the ratio of data duration to period.
Definition JS8Submode.cpp:392
int computeAltCycleForDecode(int const submode, int const k, int const offsetFrames)
Compute the alternate cycle for decode.
Definition JS8Submode.cpp:377
double txDuration(int const submode)
Get the transmit duration of the submode.
Definition JS8Submode.cpp:345
Costas::Type costas(int const submode)
Get the Costas array type of the submode.
Definition JS8Submode.cpp:258
unsigned int samplesForOneSymbol(int const submode)
Get the number of samples for one symbol of the submode.
Definition JS8Submode.cpp:322
unsigned int samplesNeeded(int const submode)
Get the number of samples needed for the submode.
Definition JS8Submode.cpp:283
unsigned int period(int const submode)
Get the period of the submode.
Definition JS8Submode.cpp:292
unsigned int startDelayMS(int const submode)
Get the start delay in milliseconds of the submode.
Definition JS8Submode.cpp:313
double dataDuration(int const submode)
Get the data duration of the submode.
Definition JS8Submode.cpp:338
double toneSpacing(int const submode)
Get the tone spacing of the submode.
Definition JS8Submode.cpp:331
int rxSNRThreshold(int const submode)
Get the receive SNR threshold of the submode.
Definition JS8Submode.cpp:299
unsigned int samplesPerPeriod(int const submode)
Get the number of samples per period of the submode.
Definition JS8Submode.cpp:265
unsigned int bandwidth(int const submode)
Get the bandwidth of the submode.
Definition JS8Submode.cpp:251
QString name(int const submode)
Get the name of the submode.
Definition JS8Submode.cpp:240
int computeCycleForDecode(int const submode, int const k)
Compute the cycle for decode.
Definition JS8Submode.cpp:357
unsigned int samplesForSymbols(int const submode)
Get the number of samples for symbols of the submode.
Definition JS8Submode.cpp:274
int rxThreshold(int const submode)
Get the receive threshold of the submode.
Definition JS8Submode.cpp:306