Module: Radio::Filter::Iq::Complex
- Defined in:
- lib/radio/filters/iq.rb
Instance Method Summary collapse
Instance Method Details
#call(data, &block) ⇒ Object
35 36 37 |
# File 'lib/radio/filters/iq.rb', line 35 def call data, &block call! data.dup, &block end |
#call!(data) {|data| ... } ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/radio/filters/iq.rb', line 39 def call! data remove_dc_bias! data collect data adjust! data, @phase, @gain yield data analyze # this is slow end |