Public Member Functions | Public Attributes | List of all members
gnsstk::AshtechMBEN::code_block Struct Reference

Detailed Description

Definition at line 75 of file AshtechMBEN.hpp.

#include <AshtechMBEN.hpp>

Public Member Functions

virtual void decodeASCII (std::stringstream &str)
 
virtual void decodeBIN (std::string &str)
 
void dump (std::ostream &out) const
 
float snr (float chipRate, float magnitude=4.14) const noexcept
 

Public Attributes

double doppler
 
double full_phase
 
unsigned goodbad
 
unsigned ireg
 
unsigned polarity_known
 
unsigned qa_phase
 
double raw_range
 
unsigned smooth_cnt
 
double smoothing
 
unsigned warning
 

Member Function Documentation

◆ decodeASCII()

void gnsstk::AshtechMBEN::code_block::decodeASCII ( std::stringstream &  str)
virtual
Exceptions
std::exception
FFStreamError

Definition at line 158 of file AshtechMBEN.cpp.

◆ decodeBIN()

void gnsstk::AshtechMBEN::code_block::decodeBIN ( std::string &  str)
virtual
Exceptions
std::exception
FFStreamError

Definition at line 180 of file AshtechMBEN.cpp.

◆ dump()

void gnsstk::AshtechMBEN::code_block::dump ( std::ostream &  out) const

Definition at line 201 of file AshtechMBEN.cpp.

◆ snr()

float gnsstk::AshtechMBEN::code_block::snr ( float  chipRate,
float  magnitude = 4.14 
) const
noexcept

Translate the ireg value to an SNR in dB*Hz.

Parameters
[in]chipRateThe chipping rate of the code.
[in]magnitudeThe magnitude of the carrier estimate.
Note
The magnitude of the carrier estimate is a factor specified by Ashtech. Currently this algorithm is designed for the Ashtech Z-12 receiver and will not yield correct results for other Ashtech receivers. The default setting in the Z-12 receiver is 2 bit quantization, for which the magnitude of the carrier estimate is 4.14. For Z-12 receivers using 1-bit quantization, the magnitude is 2.18. Other Ashtech receivers can only provide a 1-bit sample, however the magnitude for those receivers is not 2.18.
Returns
the SNR in dB*Hz.

Definition at line 220 of file AshtechMBEN.cpp.

Member Data Documentation

◆ doppler

double gnsstk::AshtechMBEN::code_block::doppler

Definition at line 101 of file AshtechMBEN.hpp.

◆ full_phase

double gnsstk::AshtechMBEN::code_block::full_phase

Definition at line 99 of file AshtechMBEN.hpp.

◆ goodbad

unsigned gnsstk::AshtechMBEN::code_block::goodbad

Definition at line 95 of file AshtechMBEN.hpp.

◆ ireg

unsigned gnsstk::AshtechMBEN::code_block::ireg

Definition at line 97 of file AshtechMBEN.hpp.

◆ polarity_known

unsigned gnsstk::AshtechMBEN::code_block::polarity_known

Definition at line 96 of file AshtechMBEN.hpp.

◆ qa_phase

unsigned gnsstk::AshtechMBEN::code_block::qa_phase

Definition at line 98 of file AshtechMBEN.hpp.

◆ raw_range

double gnsstk::AshtechMBEN::code_block::raw_range

Definition at line 100 of file AshtechMBEN.hpp.

◆ smooth_cnt

unsigned gnsstk::AshtechMBEN::code_block::smooth_cnt

Definition at line 103 of file AshtechMBEN.hpp.

◆ smoothing

double gnsstk::AshtechMBEN::code_block::smoothing

Definition at line 102 of file AshtechMBEN.hpp.

◆ warning

unsigned gnsstk::AshtechMBEN::code_block::warning

Definition at line 86 of file AshtechMBEN.hpp.


The documentation for this struct was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44