mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-10 18:43:28 -05:00
More Sonar fixes (2)
This commit is contained in:
parent
189d5a6a01
commit
3799746ac0
@ -1938,6 +1938,10 @@ void FT8::soft_decode(const FFTEngine::ffts_t &c79, float ll174[])
|
|||||||
//
|
//
|
||||||
void FT8::soft_decode_mags(FT8Params& params, const std::vector<std::vector<float>>& mags_, int nbSymbolBits, float ll174[])
|
void FT8::soft_decode_mags(FT8Params& params, const std::vector<std::vector<float>>& mags_, int nbSymbolBits, float ll174[])
|
||||||
{
|
{
|
||||||
|
if (nbSymbolBits > 16) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<std::vector<float>> mags = convert_to_snr_gen(params, nbSymbolBits, mags_);
|
std::vector<std::vector<float>> mags = convert_to_snr_gen(params, nbSymbolBits, mags_);
|
||||||
// statistics to decide soft probabilities.
|
// statistics to decide soft probabilities.
|
||||||
// distribution of strongest tones, and
|
// distribution of strongest tones, and
|
||||||
|
@ -30,7 +30,7 @@ namespace ldpctool {
|
|||||||
template <typename TYPE>
|
template <typename TYPE>
|
||||||
class LDPCEncoder
|
class LDPCEncoder
|
||||||
{
|
{
|
||||||
LDPCInterface *ldpc;
|
LDPCInterface *ldpc = nullptr;
|
||||||
int N = 2;
|
int N = 2;
|
||||||
int K = 1;
|
int K = 1;
|
||||||
int R = 1;
|
int R = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user