prn

class gps_helper.prn.PRN(prn)[source]

This class implements the coarse acquisition prn sequence as described in ICD 200.

next()[source]

Get the next chip in the sequence.

Returns:
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.

do_feedback()[source]

Generate the feedback, and shift the values.

Returns:
get_output()[source]

Generate the next output value for the sequence.

Returns:Bit
next()[source]

Generate the next output and return it. This method includes the feedback step.

Returns:Bit