JS8Call-Improved master
Loading...
Searching...
No Matches
JS8Submode.h File Reference

Submode parameter accessors for JS8 modes. More...

#include "JS8_Mode/JS8.h"
#include <QString>
#include <stdexcept>
Include dependency graph for JS8Submode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  JS8::Submode::error
 Exception type thrown for invalid or unsupported submode inputs. More...

Namespaces

namespace  JS8::Submode
 JS8 Submode namespace implementation.

Functions

QString JS8::Submode::name (int const submode)
 Get the name of the submode.
unsigned int JS8::Submode::bandwidth (int const submode)
 Get the bandwidth of the submode.
Costas::Type JS8::Submode::costas (int const submode)
 Get the Costas array type of the submode.
unsigned int JS8::Submode::period (int const submode)
 Get the period of the submode.
unsigned int JS8::Submode::samplesForOneSymbol (int const submode)
 Get the number of samples for one symbol of the submode.
unsigned int JS8::Submode::samplesForSymbols (int const submode)
 Get the number of samples for symbols of the submode.
unsigned int JS8::Submode::samplesNeeded (int const submode)
 Get the number of samples needed for the submode.
unsigned int JS8::Submode::samplesPerPeriod (int const submode)
 Get the number of samples per period of the submode.
int JS8::Submode::rxSNRThreshold (int const submode)
 Get the receive SNR threshold of the submode.
int JS8::Submode::rxThreshold (int const submode)
 Get the receive threshold of the submode.
unsigned int JS8::Submode::startDelayMS (int const submode)
 Get the start delay in milliseconds of the submode.
double JS8::Submode::toneSpacing (int const submode)
 Get the tone spacing of the submode.
double JS8::Submode::dataDuration (int const submode)
 Get the data duration of the submode.
double JS8::Submode::txDuration (int const submode)
 Get the transmit duration of the submode.
int JS8::Submode::computeCycleForDecode (int const submode, int const k)
 Compute the cycle for decode.
int JS8::Submode::computeAltCycleForDecode (int const submode, int const k, int const offsetFrames)
 Compute the alternate cycle for decode.
double JS8::Submode::computeRatio (int const submode, double const period)
 Compute the ratio of data duration to period.

Detailed Description

Submode parameter accessors for JS8 modes.

Provides functions returning constant data specific to each JS8 submode (names, bandwidth, samples per symbol, durations, thresholds, etc.).