Package qubx :: Module extract :: Class SourceSegFunc
[hide private]
[frames] | no frames]

Class SourceSegFunc

source code

     object --+    
              |    
util_types.Anon --+
                  |
                 SourceSegFunc

Instance Methods [hide private]
 
__init__(self, seg, get_samples_of_signal, func)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_samples(self, first_offset=None, last_offset=None) source code
 
get_idealization(self, signal=None, mark_excluded=False, get_fragments=False, get_durations=False, get_amps=False, get_stds=False) source code

Inherited from util_types.Anon: __getattr__, __repr__, __str__, clone

Inherited from util_types.Anon (private): _find_arg_dicts, _str_indent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, seg, get_samples_of_signal, func)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • seg - prototype
  • seg_of_signal - list of SourceSegs corresponding to func args
  • func - f(signal_i_array_or_value, ...) -> array_or_value e.g. lambda t, Current: 2*Current + sin(t)
Overrides: object.__init__