OsmoSDR Sourceosmosdr_source_cOsmoSDR1import osmosdrosmosdr.source_c($args)
self.$(id).set_sample_rate($rate)
self.$(id).set_center_freq($freq)
self.$(id).set_freq_corr($corr)
self.$(id).set_gain($gain)
self.$(id).set_antenna($antenna)
set_center_freq($freq)set_freq_corr($corr)set_sample_rate($rate)set_gain($gain)set_antenna($antenna)Device argumentsargsstringFrequency (Hz)freq392.8e6realFreq. corr. (ppm)corr0realSample rate (Hz)rate1024000realGain (dB)gain20.0realAntennaantennastring($freq >= 50e6) and ($freq <= 2.2e9)($rate >= 1e6) and ($rate <= 3.2e6)
The OsmoSDR Source Block:
Device Arguments:
The device address is a delimited string used to locate devices on your system.
Use the device address to specify a specific device or list of devices.
If left blank, the first device found will be used.
Frequency:
The center frequency is the overall frequency of the RF chain.
Frequency correction:
The frequency correction factor in parts per million (ppm).
Sample rate:
The sample rate is the number of samples per second output by this block.
Gain:
Overall RF gain of the device.
Antenna:
For devices with only one antenna, this may be left blank.
Otherwise, the user should specify one of the possible antenna choices.