From 7c4b43a1a4b3ff6c99fe96805f8d4518a22eb0a5 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Wed, 23 Sep 2009 11:40:19 -0700 Subject: Split HRPT script into live receive and post-processing Cleanup debug info Created 'demod_hrpt_file.py' Updated 'usrp_rx_hrpt.py' with GUI, USRP, and config file --- gr-noaa/apps/demod_hrpt_file.grc | 781 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 781 insertions(+) create mode 100644 gr-noaa/apps/demod_hrpt_file.grc (limited to 'gr-noaa/apps/demod_hrpt_file.grc') diff --git a/gr-noaa/apps/demod_hrpt_file.grc b/gr-noaa/apps/demod_hrpt_file.grc new file mode 100644 index 000000000..4a5e87170 --- /dev/null +++ b/gr-noaa/apps/demod_hrpt_file.grc @@ -0,0 +1,781 @@ + + + Wed Sep 23 11:37:25 2009 + + options + + id + demod_hrpt_file + + + _enabled + True + + + title + USRP HRPT Receiver + + + author + + + + description + + + + window_size + 4096,4096 + + + generate_options + no_gui + + + category + Custom + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + variable + + id + max_sync_offset + + + _enabled + True + + + value + 0.01 + + + _coordinate + (705, 19) + + + _rotation + 0 + + + + variable + + id + max_carrier_offset + + + _enabled + True + + + value + 2*math.pi*100e3/sample_rate + + + _coordinate + (575, 19) + + + _rotation + 0 + + + + variable + + id + hs + + + _enabled + True + + + value + int(sps/2.0) + + + _coordinate + (499, 19) + + + _rotation + 0 + + + + variable + + id + sps + + + _enabled + True + + + value + sample_rate/sym_rate + + + _coordinate + (397, 19) + + + _rotation + 0 + + + + variable + + id + sym_rate + + + _enabled + True + + + value + 600*1109 + + + _coordinate + (301, 19) + + + _rotation + 0 + + + + variable + + id + sample_rate + + + _enabled + True + + + value + 64e6/decim + + + _coordinate + (198, 17) + + + _rotation + 0 + + + + parameter + + id + decim + + + _enabled + True + + + label + Decimation + + + value + 16 + + + type + intx + + + short_id + d + + + _coordinate + (404, 102) + + + _rotation + 0 + + + + parameter + + id + pll_alpha + + + _enabled + True + + + label + + + + value + 0.05 + + + type + eng_float + + + short_id + p + + + _coordinate + (516, 102) + + + _rotation + 0 + + + + parameter + + id + sync_alpha + + + _enabled + True + + + label + + + + value + 0.05 + + + type + eng_float + + + short_id + s + + + _coordinate + (601, 103) + + + _rotation + 0 + + + + import + + id + import_0 + + + _enabled + True + + + import + import math + + + _coordinate + (9, 92) + + + _rotation + 0 + + + + parameter + + id + filename + + + _enabled + True + + + label + Filename + + + value + usrp.dat + + + type + string + + + short_id + F + + + _coordinate + (200, 101) + + + _rotation + 0 + + + + gr_file_source + + id + file_source + + + _enabled + True + + + file + filename + + + type + short + + + repeat + False + + + vlen + 1 + + + _coordinate + (102, 368) + + + _rotation + 0 + + + + gr_short_to_float + + id + s2f + + + _enabled + True + + + _coordinate + (305, 380) + + + _rotation + 0 + + + + gr_deinterleave + + id + deinterleave + + + _enabled + True + + + type + float + + + num_streams + 2 + + + vlen + 1 + + + _coordinate + (526, 363) + + + _rotation + 0 + + + + gr_float_to_complex + + id + f2c + + + _enabled + True + + + vlen + 1 + + + _coordinate + (730, 363) + + + _rotation + 0 + + + + virtual_sink + + id + samples_sink + + + _enabled + True + + + stream_id + samples + + + _coordinate + (968, 376) + + + _rotation + 0 + + + + virtual_source + + id + samples_source + + + _enabled + True + + + stream_id + samples + + + _coordinate + (104, 479) + + + _rotation + 0 + + + + gr_moving_average_xx + + id + matched_filter + + + _enabled + True + + + type + complex + + + length + hs + + + scale + 1.0/hs + + + max_iter + 4000 + + + _coordinate + (302, 463) + + + _rotation + 0 + + + + noaa_hrpt_pll_cf + + id + pll + + + _enabled + True + + + alpha + pll_alpha + + + beta + pll_alpha**2/4.0 + + + max_offset + max_carrier_offset + + + _coordinate + (504, 463) + + + _rotation + 0 + + + + noaa_hrpt_sync_fb + + id + sync + + + _enabled + True + + + alpha + sync_alpha + + + beta + sync_alpha**2/4.0 + + + sps + sps + + + max_offset + max_sync_offset + + + _coordinate + (711, 455) + + + _rotation + 0 + + + + noaa_hrpt_deframer + + id + deframer + + + _enabled + True + + + _coordinate + (935, 483) + + + _rotation + 0 + + + + gr_file_sink + + id + file_sink + + + _enabled + True + + + file + output + + + type + short + + + vlen + 1 + + + _coordinate + (1136, 479) + + + _rotation + 0 + + + + noaa_hrpt_decoder + + id + decoder + + + _enabled + True + + + _coordinate + (1135, 542) + + + _rotation + 0 + + + + parameter + + id + output + + + _enabled + True + + + label + Output + + + value + frames.dat + + + type + string + + + short_id + o + + + _coordinate + (302, 101) + + + _rotation + 0 + + + + deframer + file_sink + 0 + 0 + + + sync + deframer + 0 + 0 + + + pll + sync + 0 + 0 + + + matched_filter + pll + 0 + 0 + + + s2f + deinterleave + 0 + 0 + + + deinterleave + f2c + 1 + 1 + + + deinterleave + f2c + 0 + 0 + + + file_source + s2f + 0 + 0 + + + deframer + decoder + 0 + 0 + + + f2c + samples_sink + 0 + 0 + + + samples_source + matched_filter + 0 + 0 + + -- cgit