@@ -272,9 +272,9 @@ def doUpdate(self, sv, parser, namespace, values, option_string):
272272 raise ValueError ("Signal band must be specified before doppler" )
273273 elif isinstance (sv , GLOSatellite ):
274274 if sv .isL1Enabled ():
275- frequency_hz = signals .GLONASS .L1S [sv .prn ]. CENTER_FREQUENCY_HZ
275+ signal = signals .GLONASS .L1S [sv .prn ]
276276 elif sv .isL2Enabled ():
277- frequency_hz = signals .GLONASS .L2S [sv .prn ]. CENTER_FREQUENCY_HZ
277+ signal = signals .GLONASS .L2S [sv .prn ]
278278 else :
279279 raise ValueError ("Signal band must be specified before doppler" )
280280 else :
@@ -570,8 +570,7 @@ def __call__(self, parser, namespace, values, option_string=None):
570570 amplitudeGrp .add_argument ('--amplitude-type' ,
571571 default = "poly" ,
572572 choices = ["poly" , "sine" ],
573- help =
574- "Configure amplitude type: polynomial or sine." ,
573+ help = "Configure amplitude type: polynomial or sine." ,
575574 action = UpdateAmplitudeType )
576575 amplitudeGrp .add_argument ('--amplitude-units' ,
577576 default = "snr-db" ,
@@ -655,8 +654,7 @@ def __call__(self, parser, namespace, values, option_string=None):
655654 action = UpdateTcxoType )
656655 parser .add_argument ('--group-delays' ,
657656 type = bool ,
658- help =
659- "Enable/disable group delays simulation between bands" )
657+ help = "Enable/disable group delays simulation between bands" )
660658 parser .add_argument ('--debug' ,
661659 type = argparse .FileType ('wb' ),
662660 help = "Debug output file" )
@@ -739,9 +737,9 @@ def printOutputConfig(outputConfig, args):
739737 print " GPS L1 IF: " , outputConfig .GPS .L1 .INTERMEDIATE_FREQUENCY_HZ
740738 print " GPS L2 IF: " , outputConfig .GPS .L2 .INTERMEDIATE_FREQUENCY_HZ
741739 print " GLONASS L1[0] IF:" ,\
742- outputConfig .GLONASS .L1 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
740+ outputConfig .GLONASS .L1 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
743741 print " GLONASS L2[0] IF:" ,\
744- outputConfig .GLONASS .L2 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
742+ outputConfig .GLONASS .L2 .INTERMEDIATE_FREQUENCIES_HZ [0 ]
745743 print "Other parameters:"
746744 print " TCXO: " , args .tcxo
747745 print " noise sigma: " , args .noise_sigma
0 commit comments