1
/***************************************************************************
2
qpskdemodulator.h - description
5
copyright : (C) 2001 by Volker Schroer
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* based on the work of Moe Wheatley, AE4JY *
16
***************************************************************************/
18
#ifndef QPSKDEMODULATOR_H
19
#define QPSKDEMODULATOR_H
21
#include "cpskdemodulator.h"
24
/**Implementation of the QPsk demodulator
25
*@author Volker Schroer
30
double Pathdistance; // sum of all metrics for a given survivor path
31
long BitEstimates; // the bit pattern estimate associated with given survivor path
35
class QPskDemodulator : public CPskDemodulator {
40
/** Decodes a BPSK Symbol */
41
void DecodeSymbol( double_complex newsamp);
42
void CalcQuality(double);
45
bool ViterbiDecode( double newangle);
47
struct SurvivorStates m_SurvivorStates[16]; /* Survivor path trellis */