/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/tools/gr-usrptest/python/flowgraphs/ |
H A D | selftest_fg.py | 12 def __init__(self, freq, samp_rate, dphase, devices=list()): argument 18 self.samp_rate = samp_rate 27 self.samp_rate)*float(self.omega)/float(self.samp_rate) 55 self.rx_devices[device].set_samp_rate(self.samp_rate) 58 self.tx_devices[device].set_samp_rate(self.samp_rate) 63 self.samp_rate, self.freq) 86 self.samp_rate, self.freq) 98 return self.samp_rate 100 def set_samp_rate(self, samp_rate): argument 101 self.samp_rate = samp_rate [all …]
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-blocks/python/blocks/ |
H A D | qa_file_metadata.py | 33 def sig_source_c(samp_rate, freq, amp, N): argument 34 t = [float(x) / samp_rate for x in range(N)] 53 samp_rate = 200000 55 val = pmt.from_double(samp_rate) 59 data = sig_source_c(samp_rate, 1000, 1, N) 62 samp_rate, 1, 95 self.assertEqual(info['rx_rate'], samp_rate) 132 samp_rate = 200000 134 val = pmt.from_double(samp_rate) 138 data = sig_source_c(samp_rate, 1000, 1, N) [all …]
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-fec/python/fec/ |
H A D | bercurve_generator.py | 33 samp_rate=3200000, threading='capillary', puncpat='11', seed=0): argument 40 self.samp_rate = samp_rate 60 samp_rate=samp_rate, 79 return self.samp_rate 81 def set_samp_rate(self, samp_rate): argument 82 self.samp_rate = samp_rate 83 self.ber_generator_0.set_samp_rate(self.samp_rate)
|
H A D | fec_test.py | 42 samp_rate=3200000, threading="capillary", puncpat='11', argument 51 self.samp_rate = samp_rate 111 return self.samp_rate 113 def set_samp_rate(self, samp_rate): argument 114 self.samp_rate = samp_rate
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-filter/examples/ |
H A D | channelizer_demo.grc | 32 - name: samp_rate 52 samp_rate: samp_rate 70 samp_rate: samp_rate 84 freq: 0.70*samp_rate 88 samp_rate: samp_rate 148 bw: samp_rate 225 bw: samp_rate/3.0 238 fc: -samp_rate/3.0 302 bw: samp_rate/3.0 315 fc: samp_rate/3.0 [all …]
|
H A D | filter_taps.grc | 58 samp_rate: samp_rate 74 samp_rate: samp_rate 106 samp_rate: samp_rate 129 samp_rate: samp_rate 143 samp_rate: samp_rate 149 - name: samp_rate 171 value: samp_rate/sps 284 bw: samp_rate
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gnuradio-runtime/examples/mp-sched/ |
H A D | affinity_set.py | 26 self.samp_rate = samp_rate = 32000 32 self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*vec_len, samp_rate) 50 return self.samp_rate 52 def set_samp_rate(self, samp_rate): argument 53 self.samp_rate = samp_rate
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-channels/examples/ |
H A D | demo_quantization.grc | 67 start: samp_rate/100 69 stop: samp_rate/2 70 value: samp_rate/2 87 stop: samp_rate/2 88 value: samp_rate/11.0 112 - name: samp_rate 132 stop: samp_rate/2 184 samp_rate: samp_rate 205 samp_rate: samp_rate 252 samples_per_second: samp_rate [all …]
|
H A D | demo_two_tone.grc | 68 start: -samp_rate/2 70 stop: samp_rate/2 71 value: samp_rate/7.0 86 start: -samp_rate/2 88 stop: samp_rate/2 89 value: samp_rate/9.0 203 - name: samp_rate 271 samp_rate: samp_rate 289 samp_rate: samp_rate 320 samples_per_second: samp_rate [all …]
|
/dports/comms/rtl-433/rtl_433-21.12/src/ |
H A D | baseband.c | 200 …nt8_t const *x_buf, int16_t *y_buf, unsigned long num_samples, uint32_t samp_rate, float low_pass,… in baseband_demod_FM() argument 207 if (state->rate != samp_rate) { in baseband_demod_FM() 209 low_pass = low_pass / samp_rate; in baseband_demod_FM() 211 low_pass = 1e6f / low_pass / samp_rate; in baseband_demod_FM() 214 __func__, samp_rate, samp_rate * low_pass, 1e6 / (samp_rate * low_pass)); in baseband_demod_FM() 221 state->rate = samp_rate; in baseband_demod_FM() 300 if (state->rate != samp_rate) { in baseband_demod_FM_cs16() 302 low_pass = low_pass / samp_rate; in baseband_demod_FM_cs16() 304 low_pass = 1e6f / low_pass / samp_rate; in baseband_demod_FM_cs16() 307 __func__, samp_rate, samp_rate * low_pass, 1e6 / (samp_rate * low_pass)); in baseband_demod_FM_cs16() [all …]
|
/dports/audio/festival/speech_tools/audio/ |
H A D | nas.cc | 92 int num_samps, samp_rate; in play_nas_wave() local 107 samp_rate = inwave.sample_rate(); in play_nas_wave() 110 if (samp_rate == dev_sr[i]) in play_nas_wave() 114 if (samp_rate == 10000) in play_nas_wave() 122 samp_rate = inwave.sample_rate(); in play_nas_wave() 130 samp_rate, num_samps, NULL); in play_nas_wave() 137 samp_rate, num_samps,NULL); in play_nas_wave()
|
/dports/comms/gqrx/gqrx-2.15/src/dsp/ |
H A D | downconverter.cpp | 31 …wnconverter_cc_sptr make_downconverter_cc(unsigned int decim, double center_freq, double samp_rate) in make_downconverter_cc() argument 33 return gnuradio::get_initial_sptr(new downconverter_cc(decim, center_freq, samp_rate)); in make_downconverter_cc() 36 downconverter_cc::downconverter_cc(unsigned int decim, double center_freq, double samp_rate) in downconverter_cc() argument 42 d_samp_rate(samp_rate) in downconverter_cc() 54 void downconverter_cc::set_decim_and_samp_rate(unsigned int decim, double samp_rate) in set_decim_and_samp_rate() argument 56 d_samp_rate = samp_rate; in set_decim_and_samp_rate()
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-analog/examples/tags/ |
H A D | uhd_burst_detector.py | 40 self.samp_rate = options.samp_rate 49 self.uhd_src.set_samp_rate(self.samp_rate) 74 self.fsnk = blocks.tagged_file_sink(gr.sizeof_gr_complex, self.samp_rate) 93 def set_samp_rate(self, samp_rate): argument 94 self.samp_rate = samp_rate 95 self.uhd_src_0.set_samp_rate(self.samp_rate)
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-channels/lib/ |
H A D | dynamic_channel_model_impl.h | 51 dynamic_channel_model_impl(double samp_rate, 70 double samp_rate() const { return d_sro_model->samp_rate(); } in samp_rate() function 76 double doppler_freq() const { return d_fader->fDTs() * samp_rate(); } in doppler_freq() 81 d_fader->set_fDTs(doppler_freq() / samp_rate()); in set_samp_rate() 90 void set_doppler_freq(double f) { d_fader->set_fDTs(f / samp_rate()); } in set_doppler_freq()
|
H A D | dynamic_channel_model_impl.cc | 30 dynamic_channel_model::sptr dynamic_channel_model::make(double samp_rate, in make() argument 45 return gnuradio::get_initial_sptr(new dynamic_channel_model_impl(samp_rate, in make() 62 dynamic_channel_model_impl::dynamic_channel_model_impl(double samp_rate, in dynamic_channel_model_impl() argument 84 channels::sro_model::make(samp_rate, sro_std_dev, sro_max_dev, noise_seed); in dynamic_channel_model_impl() 86 channels::cfo_model::make(samp_rate, cfo_std_dev, cfo_max_dev, noise_seed); in dynamic_channel_model_impl() 88 N, doppler_freq / samp_rate, LOS_model, K, noise_seed, delays, mags, ntaps_mpath); in dynamic_channel_model_impl()
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-filter/grc/ |
H A D | variable_rrc_filter_taps.block.yml | 10 - id: samp_rate 13 default: samp_rate 25 value: ${ firdes.root_raised_cosine(gain, samp_rate, sym_rate, alpha, ntaps) } 30 self.${id} = ${id} = firdes.root_raised_cosine(${gain}, ${samp_rate},\ 33 …- self.set_${id}(firdes.root_raised_cosine(${gain}, ${samp_rate}, ${sym_rate}, ${alpha}, ${ntaps})) 39 this->${id} = ${id} = firdes.root_raised_cosine(${gain}, ${samp_rate},\
|
H A D | variable_high_pass_filter_taps.block.yml | 10 - id: samp_rate 13 default: samp_rate 31 value: ${ firdes.high_pass(gain, samp_rate, cutoff_freq, width, win, beta) } 36 self.${id} = ${id} = firdes.high_pass(${gain}, ${samp_rate}, ${cutoff_freq},\ 39 …- self.set_${id}(firdes.high_pass(${gain}, ${samp_rate}, ${cutoff_freq}, ${width}, ${win}, ${beta}… 45 this->${id} = ${id} = firdes.high_pass(${gain}, ${samp_rate}, ${cutoff_freq},\
|
H A D | variable_low_pass_filter_taps.block.yml | 10 - id: samp_rate 13 default: samp_rate 31 value: ${ firdes.low_pass(gain, samp_rate, cutoff_freq, width, win, beta) } 36 self.${id} = ${id} = firdes.low_pass(${gain}, ${samp_rate}, ${cutoff_freq},\ 39 …- self.set_${id}(firdes.low_pass(${gain}, ${samp_rate}, ${cutoff_freq}, ${width}, ${win}, ${beta})) 45 this->${id} = ${id} = firdes.low_pass(${gain}, ${samp_rate}, ${cutoff_freq},\
|
H A D | filter_root_raised_cosine_filter.block.yml | 30 - id: samp_rate 33 default: samp_rate 45 default: 11*samp_rate 64 ${samp_rate}, 69 - set_taps(firdes.root_raised_cosine(${gain}, ${samp_rate}, ${sym_rate}, ${alpha}, 80 ${samp_rate}, 86 - set_taps(firdes::root_raised_cosine(${gain}, ${samp_rate}, ${sym_rate}, ${alpha},
|
H A D | variable_band_reject_filter_taps.block.yml | 10 - id: samp_rate 13 default: samp_rate 34 value: ${ firdes.band_reject(gain, samp_rate, low_cutoff_freq, high_cutoff_freq, width, 40 self.${id} = ${id} = firdes.band_reject(${gain}, ${samp_rate}, ${low_cutoff_freq},\ 43 …- self.set_${id}(firdes.${type}(${gain}, ${samp_rate}, ${low_cutoff_freq}, ${high_cutoff_freq}, ${… 49 this->${id} = ${id} = firdes.band_reject(${gain}, ${samp_rate}, ${low_cutoff_freq},\
|
H A D | variable_band_pass_filter_taps.block.yml | 15 - id: samp_rate 18 default: samp_rate 39 value: ${ getattr(firdes, str(type))(gain, samp_rate, low_cutoff_freq, high_cutoff_freq, 45 self.${id} = ${id} = firdes.${type}(${gain}, ${samp_rate}, ${low_cutoff_freq}, \ 48 …- self.set_${id}(firdes.${type}(${gain}, ${samp_rate}, ${low_cutoff_freq}, ${high_cutoff_freq}, ${… 54 this->${id} = ${id} = firdes.${type}(${gain}, ${samp_rate}, ${low_cutoff_freq}, \
|
/dports/science/py-obspy/obspy-1.2.2/obspy/signal/tests/ |
H A D | test_filter.py | 43 samp_rate = 200.0 75 samp_rate = 200.0 80 datcorr = bandpass(data, freq1, freq2, df=samp_rate, 103 samp_rate = 200.0 107 datcorr = lowpass(data, freq, df=samp_rate, corners=corners) 134 samp_rate = 200.0 138 datcorr = lowpass(data, freq, df=samp_rate, corners=corners, 161 samp_rate = 200.0 165 datcorr = highpass(data, freq, df=samp_rate, corners=corners) 192 samp_rate = 200.0 [all …]
|
/dports/audio/rsynth/rsynth-2.0/config/ |
H A D | hpuxplay.c | 35 long samp_rate = SAMP_RATE; in audio_init() 54 "r", "%ld", &samp_rate, "Sample rate", 137 if (abs(audioInfo.sample_rate[i] - samp_rate) < abs(sr - samp_rate)) 139 samp_rate = sr; 142 if (ioctl(audioDescriptor, AUDIO_SET_SAMPLE_RATE, (int) samp_rate) == -1)
|
/dports/science/py-obspy/obspy-1.2.2/obspy/imaging/ |
H A D | spectrogram.py | 54 def spectrogram(data, samp_rate, per_lap=0.9, wlen=None, log=False, argument 108 samp_rate = float(samp_rate) 112 wlen = samp_rate / 100. 117 nfft = int(_nearest_pow_2(wlen * samp_rate)) 127 end = npts / samp_rate 133 specgram, freq, time = mlab.specgram(data, Fs=samp_rate, NFFT=nfft,
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-analog/grc/ |
H A D | analog_sig_source_x.block.yml | 14 - id: samp_rate 17 default: samp_rate 57 make: analog.sig_source_${type.fcn}(${samp_rate}, ${waveform}, ${freq}, ${amp}, 60 - set_sampling_freq(${samp_rate}) 70 …make: 'this->${id} = analog::sig_source_${type.fcn}::make(${samp_rate}, ${waveform}, ${freq}, ${am… 72 - set_sampling_freq(${samp_rate})
|