class Dsp::Systems::System

Attributes

data[RW]

Public Class Methods

new(data) click to toggle source
# File lib/systems/system.rb, line 6
def initialize(data)
    @data = data
    initialize_modules(Dsp::FourierTransformable => {time_data: data})
end

Public Instance Methods

to_a() click to toggle source
# File lib/systems/system.rb, line 15
def to_a
    self.data
end
to_ds() click to toggle source
# File lib/systems/system.rb, line 11
def to_ds
    Dsp::DigitalSignal.new(data: self.data)
end