Software Defined Receiver. More...
#include <snSDRStandard.h>
Public Member Functions | |
snSDRStandard (libconfig::Setting &Settings, SNSignal pSNSignal, ProcessingParameters &pProcSig, snWidget *psnw, snWidget *ptrkw, snWidget *ptrkw4, snWidget *ptrkw3, snWidget *ptrkw2, ConcBuf *pConcBuf1) | |
SDRGPS constructor. More... | |
~snSDRStandard () | |
void | run () |
implements QThread's run() More... | |
bool | dbl_eq (double x, double v) |
Public Member Functions inherited from snSDR | |
snSDR (SNSignal pSNSignal) | |
Software Defined Receiver base class constructor. More... | |
Public Member Functions inherited from snBlockSerial | |
snBlockSerial (SNSignal pSNSignal) | |
snBlockSerial constructor More... | |
Samples_Type | get_absolute_sample () const |
returns the absolute amount of processed samples More... | |
Public Member Functions inherited from snBlock | |
snBlock (SNSignal pSNSignal) | |
snBlock constructor More... | |
Blocks_Type | getBlks () |
returns current block number which is being processed More... | |
Blocks_Type | getOutputBlks () |
returns processed block number of a signal sink More... | |
Blocks_Type | getTotalBlks () |
returns total amount of blocks to be processed More... | |
double | get_time_per_block () |
double | get_blks_simulation_time () |
returns current simulation time dependent on current block number More... | |
bool | isActive () |
returns snBlock status. will return true after requestStop() was called. More... | |
void | requestStop () |
requests to stop processing and return the snBlock main program in run() More... | |
Private Member Functions | |
void | setup_plots () |
double | cn0_estimation (const std::vector< double > &vI_P, const std::vector< double > &vQ_P) |
std::vector< double > | build_shifted_code (double shift, snModulation *m, Samples_Type samples) |
double | determine_gain_of_code (snModulation *m, double el_spacing) |
Static Private Member Functions | |
static double | correlation (const std::vector< double > &a, const std::vector< double > &b) |
static std::vector< double > | build_code (const std::vector< double > &indices, snModulation *m) |
Additional Inherited Members | |
Signals inherited from snBlock | |
void | snLogSignal (const QString &mess) |
is connected in snMainWindow to the log text widget. More... | |
void | snLogSignalDebug (const QString &mess, int d) |
is connected in snMainWindow to the log text widget. More... | |
Protected Member Functions inherited from snSDR | |
void | calculate_loop_coefficients (double &tau1, double &tau2, double LBW, double zeta, double k) |
unsigned int | next_power_of_two (unsigned int val) |
bool | Aquisition (std::vector< double > aq_signal, signed long long samplesPerChip, double search_length, double &AqFreq, Samples_Type &AqCodePhase, snWidget *snw, snCurve3D *curve_aq) |
Aquisition() performs a parallel code phase search aquisition. More... | |
double | discriminator_dot_product_normalized (double I_E, double Q_E, double I_P, double Q_P, double I_L, double Q_L) |
double | discriminator_early_minus_late_power_normalized (double I_E, double Q_E, double I_L, double Q_L) |
double | costas_discriminator_atan (double I_P, double Q_P) |
Protected Member Functions inherited from snBlockSerial | |
std::vector< std::complex < double > > | get_next_samples (Samples_Type n) |
returns the next samples More... | |
void | InitSerialBuffer (Samples_Type size, ConcBuf *pConcBuf) |
initializes the serial buffer. Should be called by snBlocks in their constructor. More... | |
void | set_next_sample_index (Samples_Type index) |
allows to go back to a specific samples position in the actual serial buffer More... | |
Protected Member Functions inherited from snBlock | |
void | snLog (QString mess) |
can be used by snBlocks to log data to log text widget. More... | |
void | snLogErr (QString mess) |
void | snLogDeb (QString mess, int DebugLevel) |
can be used by snBlocks to log data to log text widget. More... | |
void | increaseBlks () |
has to be called by snBlocks after processing of the actual concbuf block More... | |
void | increaseOutputBlks () |
has to be called by the sink snBlocks after processing of the actual concbuf block More... | |
void | printSummary (std::string caller) |
This member function prints a summary of how much data was processed after the calling snBlock's exit. More... | |
Protected Attributes inherited from snSDR | |
SettingsSDR | SDR |
parameter set for SDR parameters More... | |
double | intermed_freq |
Protected Attributes inherited from snBlock | |
SNSignal | Sig |
holds the simulation parameters which are common to all snBlocks More... | |
unsigned int | plot_x_max |
double | max_simulation_length |
Blocks_Type | max_blocks |
Software Defined Receiver.
Contains the SDR of SNACS. Aquisition and tracking are performed.
snSDRStandard::~snSDRStandard | ( | ) |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
inline |
|
private |
void snSDRStandard::run | ( | ) |
implements QThread's run()
starts the software receiver.
|
private |
|
private |
|
private |
|
private |
|
private |
amount of samples for one aq block
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |