@@ -272,9 +272,9 @@ def doUpdate(self, sv, parser, namespace, values, option_string):
272
272
raise ValueError ("Signal band must be specified before doppler" )
273
273
elif isinstance (sv , GLOSatellite ):
274
274
if sv .isL1Enabled ():
275
- frequency_hz = signals .GLONASS .L1S [sv .prn ]. CENTER_FREQUENCY_HZ
275
+ signal = signals .GLONASS .L1S [sv .prn ]
276
276
elif sv .isL2Enabled ():
277
- frequency_hz = signals .GLONASS .L2S [sv .prn ]. CENTER_FREQUENCY_HZ
277
+ signal = signals .GLONASS .L2S [sv .prn ]
278
278
else :
279
279
raise ValueError ("Signal band must be specified before doppler" )
280
280
else :
@@ -570,8 +570,7 @@ def __call__(self, parser, namespace, values, option_string=None):
570
570
amplitudeGrp .add_argument ('--amplitude-type' ,
571
571
default = "poly" ,
572
572
choices = ["poly" , "sine" ],
573
- help =
574
- "Configure amplitude type: polynomial or sine." ,
573
+ help = "Configure amplitude type: polynomial or sine." ,
575
574
action = UpdateAmplitudeType )
576
575
amplitudeGrp .add_argument ('--amplitude-units' ,
577
576
default = "snr-db" ,
@@ -655,8 +654,7 @@ def __call__(self, parser, namespace, values, option_string=None):
655
654
action = UpdateTcxoType )
656
655
parser .add_argument ('--group-delays' ,
657
656
type = bool ,
658
- help =
659
- "Enable/disable group delays simulation between bands" )
657
+ help = "Enable/disable group delays simulation between bands" )
660
658
parser .add_argument ('--debug' ,
661
659
type = argparse .FileType ('wb' ),
662
660
help = "Debug output file" )
@@ -739,9 +737,9 @@ def printOutputConfig(outputConfig, args):
739
737
print " GPS L1 IF: " , outputConfig .GPS .L1 .INTERMEDIATE_FREQUENCY_HZ
740
738
print " GPS L2 IF: " , outputConfig .GPS .L2 .INTERMEDIATE_FREQUENCY_HZ
741
739
print " GLONASS L1[0] IF:" ,\
742
- outputConfig .GLONASS .L1 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
740
+ outputConfig .GLONASS .L1 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
743
741
print " GLONASS L2[0] IF:" ,\
744
- outputConfig .GLONASS .L2 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
742
+ outputConfig .GLONASS .L2 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
745
743
print "Other parameters:"
746
744
print " TCXO: " , args .tcxo
747
745
print " noise sigma: " , args .noise_sigma
0 commit comments