prn¶
-
class
gps_helper.prn.PRN(prn)[source]¶ This class implements the coarse acquisition prn sequence as described in ICD 200.
Methods
next(self)Get the next chip in the sequence. prn_seq(self)Return the full ca sequence. -
prn_seq(self)[source]¶ Return the full ca sequence. (1023 bits) Uses
PRN.next()to generate full sequence.Returns:
-
-
class
gps_helper.prn.ShiftRegister(poly_taps, prn_taps)[source]¶ This class implements a shift register as described in the ICD 200 for using two taps. This is used by
PRN.Methods
do_feedback(self)Generate the feedback, and shift the values. get_output(self)Generate the next output value for the sequence. next(self)Generate the next output and return it.