Missed updates for digital modems

This commit is contained in:
Charles J. Cliffe 2021-04-29 21:25:24 -04:00
parent dcaa5cda38
commit d0b4bf694b
8 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ ModemArgInfoList ModemAPSK::getSettings() {
consArg.name = "Constellation";
consArg.description = "Modem Constellation Pattern";
consArg.value = std::to_string(cons);
consArg.type = ModemArgInfo::STRING;
consArg.type = ModemArgInfo::Type::STRING;
std::vector<std::string> consOpts;
consOpts.push_back("4");
consOpts.push_back("8");

View File

@ -42,7 +42,7 @@ ModemArgInfoList ModemASK::getSettings() {
consArg.name = "Constellation";
consArg.description = "Modem Constellation Pattern";
consArg.value = std::to_string(cons);
consArg.type = ModemArgInfo::STRING;
consArg.type = ModemArgInfo::Type::STRING;
std::vector<std::string> consOpts;
consOpts.push_back("2");
consOpts.push_back("4");

View File

@ -43,7 +43,7 @@ ModemArgInfoList ModemDPSK::getSettings() {
consArg.name = "Constellation";
consArg.description = "Modem Constellation Pattern";
consArg.value = std::to_string(cons);
consArg.type = ModemArgInfo::STRING;
consArg.type = ModemArgInfo::Type::STRING;
std::vector<std::string> consOpts;
consOpts.push_back("2");
consOpts.push_back("4");

View File

@ -38,7 +38,7 @@ ModemArgInfoList ModemFSK::getSettings() {
bpsArg.name = "Bits/symbol";
bpsArg.value = std::to_string(bps);
bpsArg.description = "Modem bits-per-symbol";
bpsArg.type = ModemArgInfo::STRING;
bpsArg.type = ModemArgInfo::Type::STRING;
bpsArg.units = "bits";
std::vector<std::string> bpsOpts;
@ -56,7 +56,7 @@ ModemArgInfoList ModemFSK::getSettings() {
spsArg.name = "Symbols/second";
spsArg.value = std::to_string(sps);
spsArg.description = "Modem symbols-per-second";
spsArg.type = ModemArgInfo::INT;
spsArg.type = ModemArgInfo::Type::INT;
spsArg.range = ModemRange(10,115200);
std::vector<std::string> spsOpts;
@ -67,7 +67,7 @@ ModemArgInfoList ModemFSK::getSettings() {
bwArg.name = "Signal bandwidth";
bwArg.value = std::to_string(bw);
bwArg.description = "Total signal bandwidth";
bwArg.type = ModemArgInfo::FLOAT;
bwArg.type = ModemArgInfo::Type::FLOAT;
bwArg.range = ModemRange(0.1,0.49);
args.push_back(bwArg);

View File

@ -40,7 +40,7 @@ ModemArgInfoList ModemGMSK::getSettings() {
fdelayArg.name = "Filter delay";
fdelayArg.value = std::to_string(_fdelay);
fdelayArg.description = "Filter delay in samples";
fdelayArg.type = ModemArgInfo::INT;
fdelayArg.type = ModemArgInfo::Type::INT;
fdelayArg.units = "samples";
fdelayArg.range = ModemRange(1,128);
args.push_back(fdelayArg);
@ -50,7 +50,7 @@ ModemArgInfoList ModemGMSK::getSettings() {
spsArg.name = "Samples / symbol";
spsArg.value = std::to_string(_sps);
spsArg.description = "Modem samples-per-symbol";
spsArg.type = ModemArgInfo::INT;
spsArg.type = ModemArgInfo::Type::INT;
spsArg.units = "samples/symbol";
spsArg.range = ModemRange(2,512);
args.push_back(spsArg);
@ -60,7 +60,7 @@ ModemArgInfoList ModemGMSK::getSettings() {
ebfArg.name = "Excess bandwidth";
ebfArg.value = std::to_string(_ebf);
ebfArg.description = "Modem excess bandwidth factor";
ebfArg.type = ModemArgInfo::FLOAT;
ebfArg.type = ModemArgInfo::Type::FLOAT;
ebfArg.range = ModemRange(0.1,0.49);
args.push_back(ebfArg);

View File

@ -44,7 +44,7 @@ ModemArgInfoList ModemPSK::getSettings() {
consArg.name = "Constellation";
consArg.description = "Modem Constellation Pattern";
consArg.value = std::to_string(cons);
consArg.type = ModemArgInfo::STRING;
consArg.type = ModemArgInfo::Type::STRING;
std::vector<std::string> consOpts;
consOpts.push_back("2");
consOpts.push_back("4");

View File

@ -41,7 +41,7 @@ ModemArgInfoList ModemQAM::getSettings() {
consArg.name = "Constellation";
consArg.description = "Modem Constellation Pattern";
consArg.value = std::to_string(cons);
consArg.type = ModemArgInfo::STRING;
consArg.type = ModemArgInfo::Type::STRING;
std::vector<std::string> consOpts;
consOpts.push_back("4");
consOpts.push_back("8");

View File

@ -31,7 +31,7 @@ ModemArgInfoList ModemSQAM::getSettings() {
consArg.name = "Constellation";
consArg.description = "Modem Constellation Pattern";
consArg.value = std::to_string(cons);
consArg.type = ModemArgInfo::STRING;
consArg.type = ModemArgInfo::Type::STRING;
std::vector<std::string> consOpts;
consOpts.push_back("32");
consOpts.push_back("128");