prn¶
-
class
gps_helper.prn.PRN(prn)[source]¶ This class implements the coarse acquisition prn sequence as described in ICD 200.
Methods
next()Get the next chip in the sequence. prn_seq()Return the full ca sequence. -
prn_seq()[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()Generate the feedback, and shift the values. get_output()Generate the next output value for the sequence. next()Generate the next output and return it.