ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 1 | <block> |
Piotr Krysik | 24db075 | 2016-07-15 13:09:07 +0200 | [diff] [blame] | 2 | <name>GSM Input Adaptor</name> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 3 | <key>gsm_input</key> |
| 4 | <category></category> |
ptrkrysik | 3be74a7 | 2014-12-13 10:11:00 +0100 | [diff] [blame] | 5 | <import>import grgsm</import> |
| 6 | <make>grgsm.gsm_input( |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 7 | ppm=$ppm, |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 8 | osr=$osr, |
ptrkrysik | 381253a | 2014-11-19 11:30:53 +0100 | [diff] [blame] | 9 | fc=$fc, |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 10 | samp_rate_in=$samp_rate_in, |
| 11 | )</make> |
| 12 | <callback>set_ppm($ppm)</callback> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 13 | <callback>set_osr($osr)</callback> |
ptrkrysik | 381253a | 2014-11-19 11:30:53 +0100 | [diff] [blame] | 14 | <callback>set_fc($fc)</callback> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 15 | <callback>set_samp_rate_in($samp_rate_in)</callback> |
| 16 | <param> |
| 17 | <name>ppm</name> |
| 18 | <key>ppm</key> |
ptrkrysik | 381253a | 2014-11-19 11:30:53 +0100 | [diff] [blame] | 19 | <value>ppm</value> |
| 20 | <type>float</type> |
| 21 | <hide>part</hide> |
| 22 | </param> |
| 23 | <param> |
| 24 | <name>OSR</name> |
| 25 | <key>osr</key> |
| 26 | <value>osr</value> |
| 27 | <type>int</type> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 28 | <hide>part</hide> |
| 29 | </param> |
| 30 | <param> |
| 31 | <name>fc</name> |
| 32 | <key>fc</key> |
| 33 | <value>fc</value> |
ptrkrysik | 381253a | 2014-11-19 11:30:53 +0100 | [diff] [blame] | 34 | <type>float</type> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 35 | <hide>part</hide> |
| 36 | </param> |
| 37 | <param> |
| 38 | <name>samp_rate_in</name> |
| 39 | <key>samp_rate_in</key> |
ptrkrysik | 381253a | 2014-11-19 11:30:53 +0100 | [diff] [blame] | 40 | <value>samp_rate_in</value> |
| 41 | <type>float</type> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 42 | <hide>part</hide> |
| 43 | </param> |
| 44 | <sink> |
| 45 | <name>in</name> |
| 46 | <type>complex</type> |
| 47 | <vlen>1</vlen> |
| 48 | </sink> |
| 49 | <sink> |
| 50 | <name>ppm_in</name> |
| 51 | <type>message</type> |
| 52 | <optional>True</optional> |
| 53 | </sink> |
| 54 | <source> |
| 55 | <name>out</name> |
| 56 | <type>complex</type> |
| 57 | <vlen>1</vlen> |
| 58 | </source> |
| 59 | <doc>Piotr Krysik |
ptrkrysik | 381253a | 2014-11-19 11:30:53 +0100 | [diff] [blame] | 60 | Adaptor of input stream for the GSM receiver. Contains frequency offset corrector and resampler to correct carrier frequency and sampling frequency offsets. At the end it has LP filter for filtering of a GSM channel.</doc> |
ptrkrysik | dac3b2a | 2014-11-06 14:47:33 +0100 | [diff] [blame] | 61 | </block> |