|
libSDRForge
|
Hardware-independent 1090 MHz Mode S preamble and PPM demodulation. More...
Functions | |
| np.ndarray | _energy (np.ndarray power, float sample_rate, float start_us, float width_us) |
| tuple[bytes,...] | demodulate_frames (np.ndarray iq, float sample_rate, *, float threshold=4.0) |
| Extract 112-bit DF17 frames from a complete IQ buffer. | |
Variables | |
| tuple | _PULSES = (0.0, 1.0, 3.5, 4.5) |
| tuple | _GAPS = (2.0, 2.5, 5.5, 6.5) |
Hardware-independent 1090 MHz Mode S preamble and PPM demodulation.
Input is complex baseband IQ. This first implementation targets complete buffers; streaming overlap and RTL-SDR acquisition are separate milestones.
|
protected |
Window mean sampled at arbitrary fractional microsecond offsets.
| tuple[bytes, ...] sdrforge.adsb.iq_demodulator.demodulate_frames | ( | np.ndarray | iq, |
| float | sample_rate, | ||
| * | , | ||
| float | threshold = 4.0 ) |
Extract 112-bit DF17 frames from a complete IQ buffer.
Candidate preambles are gated by pulse/gap contrast. Final acceptance is delegated to CRC validation in the frame receiver session.
| iq | The iq value. |
| sample_rate | The sample rate value. |
| threshold | The threshold value. |
|
protected |
|
protected |