traces Package

traces Package

class TraceFixedDT(time, data, name=None, comment=None, tags=None)[source]

Bases: morphforge.traces.tracetypes.tracepointbased.TracePointBased

__init__(time, data, name=None, comment=None, tags=None)[source]
__str__()[source]
get_dt_new()[source]
classmethod is_array_fixed_dt(time_array)[source]
simplify(npoints)[source]
class TraceVariableDT(time, data, name=None, comment=None, tags=None)[source]

Bases: morphforge.traces.tracetypes.tracepointbased.TracePointBased

__init__(time, data, name=None, comment=None, tags=None)[source]
__str__()[source]
class TracePointBased(time, data, name=None, comment=None, tags=None)[source]

Bases: morphforge.traces.tracetypes.trace.Trace

__getitem__(time)[source]
__init__(time, data, name=None, comment=None, tags=None)[source]
data_pts
data_pts_in(rebase_unit)[source]
data_pts_np
data_unit
get_max_time()[source]
get_min_time()[source]
get_n()[source]
get_values(time_array)[source]
time_pts
time_pts_in(rebase_unit)[source]
time_pts_ms
time_pts_np
time_pts_s
time_unit
class TracePiecewise(pieces, name=None, comment=None, tags=None)[source]

Bases: morphforge.traces.tracetypes.trace.Trace

__init__(pieces, name=None, comment=None, tags=None)[source]
get_max_time()[source]
get_min_time()[source]
get_values(times)[source]
n_pieces()[source]
n_pieces_longer_than(t)[source]
pieces
class TracePieceFunctionLinear(time_window, x0=None, x1=None)[source]

Bases: morphforge.traces.tracetypes.tracepiecewise.TracePieceFunction

__init__(time_window, x0=None, x1=None)[source]
accept_visitor(visitor, **kwargs)[source]
get_end_value()[source]
get_start_value()[source]
get_values(times)[source]
class TracePieceFunctionFlat(time_window, x=None)[source]

Bases: morphforge.traces.tracetypes.tracepiecewise.TracePieceFunction

__init__(time_window, x=None)[source]
accept_visitor(visitor, **kwargs)[source]
get_end_value()[source]
get_start_value()[source]
get_value()[source]
get_values(times)[source]
class TracePieceFunctionLinear(time_window, x0=None, x1=None)[source]

Bases: morphforge.traces.tracetypes.tracepiecewise.TracePieceFunction

__init__(time_window, x0=None, x1=None)[source]
accept_visitor(visitor, **kwargs)[source]
get_end_value()[source]
get_start_value()[source]
get_values(times)[source]
class TagSelector[source]

Bases: object

__and__(rhs)[source]
__call__(tr)[source]
__or__(rhs)[source]
filter(traces)[source]
select(trs)[source]
class TraceOperatorCtrl[source]

Bases: object

classmethod add_trace_operator(operator_type, lhs_type, rhs_type, operator_func, flag='default', set_as_default=False)[source]
classmethod add_trace_operator_symmetrical_handler(operator_type, lhs_type, rhs_type, operator_func, flag='default', set_as_default=False)[source]
classmethod operate(operator_type, lhs, rhs, use_flag=None, **kwargs)[source]
trace_operators = [<built-in function __add__>, <built-in function __sub__>, <built-in function __div__>, <built-in function __mul__>, <built-in function __pow__>]
trace_operators_active = {(<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'float'>): (<function do_op_piecewise_pow_scalar at 0x7f0ab21db488>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'int'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default'), (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'int'>): (<function do_op_piecewise_pow_scalar at 0x7f0ab21db488>, 'default'), (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default'), (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'int'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default')}
trace_operators_all = {(<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'float'>): {'default': <function do_op_piecewise_pow_scalar at 0x7f0ab21db488>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'int'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}, (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'int'>): {'default': <function do_op_piecewise_pow_scalar at 0x7f0ab21db488>}, (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}, (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'int'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}}
class TraceMethodCtrl[source]

Bases: object

default_fallback_resolution
fallback_to_fixedtrace_methods = {'filterbessel': <Mock object at 0x7f0ab21cb9d0>, 'fft': <Mock object at 0x7f0ab21cb9d0>, 'filterbutterworth': <Mock object at 0x7f0ab21cb9d0>, 'psd': <Mock object at 0x7f0ab21cb9d0>, 'filterlowpassrc': <Mock object at 0x7f0ab21cb9d0>}
classmethod get_method(trace_cls, method_name)[source]
classmethod has_method(trace_cls, method_name)[source]
classmethod register(trace_cls, method_name, method_functor, can_fallback_to_fixed_trace=False, fallback_resolution=None)[source]
registered_methods = {(<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'shift'): <function _shift_pt_trace at 0x7f0ab21d2a28>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'Mean'): <function <lambda> at 0x7f0ab21d2938>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'convert_to_variable'): <function <lambda> at 0x7f0ab21db2a8>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'Mean'): <function <lambda> at 0x7f0ab21d29b0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'var'): <function <lambda> at 0x7f0ab21d2488>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'convert_to_fixed'): <function <lambda> at 0x7f0ab21db140>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'plotpoints'): <function <lambda> at 0x7f0ab21c8e60>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'rms'): <function <lambda> at 0x7f0ab21d2500>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'convert_to_piecewise'): <bound method type.fit_piecewise_linear_trace of <class 'morphforge.traces.methods.MMtrace_conversion.TraceApproximator'>>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'shift'): <function _shift_pt_trace at 0x7f0ab21d2a28>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'plotpoints'): <function _get_piecewise_linear_points at 0x7f0ab21c0c08>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'stddev'): <function <lambda> at 0x7f0ab21d2410>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'windowshift'): <function <lambda> at 0x7f0ab21d2b18>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'mean'): <function <lambda> at 0x7f0ab21d2398>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'convert_to_fixed'): <function <lambda> at 0x7f0ab21d2f50>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'integrate'): <function _integrate_piecewise at 0x7f0ab1c73938>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'ptp'): <function <lambda> at 0x7f0ab21d2668>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'clone'): <function _clone_variable at 0x7f0ab21d21b8>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'plotpoints'): <function <lambda> at 0x7f0ab21c8de8>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'convert_to_fixed'): <function <lambda> at 0x7f0ab21db1b8>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'min'): <function _get_min at 0x7f0ab21d27d0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'max'): <function _get_max at 0x7f0ab21d2758>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'fft'): <function _fft at 0x7f0ab21db398>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'window'): <function _window_fixed_trace at 0x7f0ab21d2aa0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'gradient'): <function _fixeddt_gradient at 0x7f0ab21d2848>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'ptp'): <function <lambda> at 0x7f0ab21d26e0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'filterbessel'): <function _besselfilter at 0x7f0ab21d2c80>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'filterlowpassrc'): <function _filterlowpassrc at 0x7f0ab21d2cf8>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'windowshift'): <function <lambda> at 0x7f0ab21d2b90>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'Mean'): <function <lambda> at 0x7f0ab21d28c0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'integrate'): <function _integrate_pointbased at 0x7f0ab1c738c0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'convert_to_variable'): <function <lambda> at 0x7f0ab21db230>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'mean'): <function _variabledt_mean at 0x7f0ab21d2578>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'psd'): <function _psd at 0x7f0ab21db410>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'clone'): <function _clone_fixed at 0x7f0ab21d2140>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'min'): <function _get_min at 0x7f0ab21d27d0>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'max'): <function _get_max at 0x7f0ab21d2758>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'filterbutterworth'): <function _butterworthfilter at 0x7f0ab21d2c08>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'window'): <function _window_fixed_trace at 0x7f0ab21d2aa0>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'convert_to_piecewise'): <function <lambda> at 0x7f0ab21db320>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'ptp'): <function <lambda> at 0x7f0ab21d25f0>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'clone'): <function _clone_piecewise at 0x7f0ab21d2230>}

eventset Module

class Event(time)[source]

Bases: object

__init__(time)[source]
get_time()[source]
class EventSet(events=None, name=None, comment=None, tags=None)[source]

Bases: object

__getitem__(i)[source]
__init__(events=None, name=None, comment=None, tags=None)[source]
__iter__()[source]
__len__()[source]
add_event(ev)[source]
classmethod combine_sets(eventsets, tags=None, comment=None, name=None)[source]

If ‘tags’ is none, then take ‘communal’ tags

summarise_timings_in_comment()[source]
tags
times
times_in_np_array_ms()[source]

traceobjpluginctrl Module

class TraceMethodCtrl[source]

Bases: object

default_fallback_resolution
fallback_to_fixedtrace_methods = {'filterbessel': <Mock object at 0x7f0ab21cb9d0>, 'fft': <Mock object at 0x7f0ab21cb9d0>, 'filterbutterworth': <Mock object at 0x7f0ab21cb9d0>, 'psd': <Mock object at 0x7f0ab21cb9d0>, 'filterlowpassrc': <Mock object at 0x7f0ab21cb9d0>}
classmethod get_method(trace_cls, method_name)[source]
classmethod has_method(trace_cls, method_name)[source]
classmethod register(trace_cls, method_name, method_functor, can_fallback_to_fixed_trace=False, fallback_resolution=None)[source]
registered_methods = {(<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'shift'): <function _shift_pt_trace at 0x7f0ab21d2a28>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'Mean'): <function <lambda> at 0x7f0ab21d2938>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'convert_to_variable'): <function <lambda> at 0x7f0ab21db2a8>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'Mean'): <function <lambda> at 0x7f0ab21d29b0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'var'): <function <lambda> at 0x7f0ab21d2488>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'convert_to_fixed'): <function <lambda> at 0x7f0ab21db140>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'plotpoints'): <function <lambda> at 0x7f0ab21c8e60>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'rms'): <function <lambda> at 0x7f0ab21d2500>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'convert_to_piecewise'): <bound method type.fit_piecewise_linear_trace of <class 'morphforge.traces.methods.MMtrace_conversion.TraceApproximator'>>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'shift'): <function _shift_pt_trace at 0x7f0ab21d2a28>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'plotpoints'): <function _get_piecewise_linear_points at 0x7f0ab21c0c08>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'stddev'): <function <lambda> at 0x7f0ab21d2410>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'windowshift'): <function <lambda> at 0x7f0ab21d2b18>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'mean'): <function <lambda> at 0x7f0ab21d2398>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'convert_to_fixed'): <function <lambda> at 0x7f0ab21d2f50>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'integrate'): <function _integrate_piecewise at 0x7f0ab1c73938>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'ptp'): <function <lambda> at 0x7f0ab21d2668>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'clone'): <function _clone_variable at 0x7f0ab21d21b8>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'plotpoints'): <function <lambda> at 0x7f0ab21c8de8>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'convert_to_fixed'): <function <lambda> at 0x7f0ab21db1b8>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'min'): <function _get_min at 0x7f0ab21d27d0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'max'): <function _get_max at 0x7f0ab21d2758>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'fft'): <function _fft at 0x7f0ab21db398>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'window'): <function _window_fixed_trace at 0x7f0ab21d2aa0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'gradient'): <function _fixeddt_gradient at 0x7f0ab21d2848>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'ptp'): <function <lambda> at 0x7f0ab21d26e0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'filterbessel'): <function _besselfilter at 0x7f0ab21d2c80>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'filterlowpassrc'): <function _filterlowpassrc at 0x7f0ab21d2cf8>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'windowshift'): <function <lambda> at 0x7f0ab21d2b90>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'Mean'): <function <lambda> at 0x7f0ab21d28c0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'integrate'): <function _integrate_pointbased at 0x7f0ab1c738c0>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'convert_to_variable'): <function <lambda> at 0x7f0ab21db230>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'mean'): <function _variabledt_mean at 0x7f0ab21d2578>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'psd'): <function _psd at 0x7f0ab21db410>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'clone'): <function _clone_fixed at 0x7f0ab21d2140>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'min'): <function _get_min at 0x7f0ab21d27d0>, (<class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, 'max'): <function _get_max at 0x7f0ab21d2758>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'filterbutterworth'): <function _butterworthfilter at 0x7f0ab21d2c08>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'window'): <function _window_fixed_trace at 0x7f0ab21d2aa0>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'convert_to_piecewise'): <function <lambda> at 0x7f0ab21db320>, (<class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, 'ptp'): <function <lambda> at 0x7f0ab21d25f0>, (<class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, 'clone'): <function _clone_piecewise at 0x7f0ab21d2230>}
class TraceOperatorCtrl[source]

Bases: object

classmethod add_trace_operator(operator_type, lhs_type, rhs_type, operator_func, flag='default', set_as_default=False)[source]
classmethod add_trace_operator_symmetrical_handler(operator_type, lhs_type, rhs_type, operator_func, flag='default', set_as_default=False)[source]
classmethod operate(operator_type, lhs, rhs, use_flag=None, **kwargs)[source]
trace_operators = [<built-in function __add__>, <built-in function __sub__>, <built-in function __div__>, <built-in function __mul__>, <built-in function __pow__>]
trace_operators_active = {(<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'float'>): (<function do_op_piecewise_pow_scalar at 0x7f0ab21db488>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'int'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default'), (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>, 'default'), (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default'), (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'int'>): (<function do_op_piecewise_pow_scalar at 0x7f0ab21db488>, 'default'), (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>, 'default'), (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>, 'default'), (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default'), (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): (<bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>, 'default'), (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): (<bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>, 'default'), (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'int'>): (<bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>, 'default'), (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): (<bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>, 'default')}
trace_operators_all = {(<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'float'>): {'default': <function do_op_piecewise_pow_scalar at 0x7f0ab21db488>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'int'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}, (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Quantity_TraceVariableDT'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Quantity'>>}, (<built-in function __mul__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}, (<built-in function __mul__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <type 'int'>): {'default': <function do_op_piecewise_pow_scalar at 0x7f0ab21db488>}, (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __mul__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_mul of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_TracePiecewise_Quantity'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <Mock object at 0x7f0ab21b89d0>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_TraceFixedDT_Quantity'>>}, (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_fixeddt.TraceOperator_TraceFixedDT_TraceFixedDT'>>}, (<built-in function __div__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __div__>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>, <type 'float'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_TraceFixedDT_Scalar'>>}, (<built-in function __add__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __add__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_fixeddt_quantity.TraceOperator_Quantity_TraceFixedDT'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __sub__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'float'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __sub__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}, (<built-in function __sub__>, <Mock object at 0x7f0ab21b89d0>, <class 'morphforge.traces.tracetypes.tracepiecewise.TracePiecewise'>): {'default': <bound method type.do_sub of <class 'morphforge.traces.operators.op_piecewise_scalar.TraceOperator_Quantity_TracePiecewise'>>}, (<built-in function __div__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracefixeddt.TraceFixedDT'>): {'default': <bound method type.do_div of <class 'morphforge.traces.operators.op_fixeddt_scalar.TraceOperator_Scalar_TraceFixedDT'>>}, (<built-in function __pow__>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>, <type 'int'>): {'default': <bound method type.do_pow of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_TraceVariableDT_Scalar'>>}, (<built-in function __add__>, <type 'float'>, <class 'morphforge.traces.tracetypes.tracevariabledt.TraceVariableDT'>): {'default': <bound method type.do_add of <class 'morphforge.traces.operators.op_variabledt_scalar.TraceOperator_Scalar_TraceVariableDT'>>}}
_prepend_conversion_to_fixed_trace_to_function(func, fixed_trace_dt)[source]
copy_trace_attrs(tr_old, tr_new, name=None, comment=None, tags=None, add_tags=None)[source]