- class mrsimulator.signal_processing.SignalProcessor(*, processed_data: csdmpy.csdm.CSDM = None, operations: List[mrsimulator.signal_processing._base.Operation] = )¶
Signal processing class to apply a series of operations to the dependent variables of the simulation dataset.
A list of operations.
>>> post_sim = SignalProcessor(operations=[o1, o2])
- classmethod parse_dict_with_units(py_dict: dict)¶
Parse a list of operations dictionary to a SignalProcessor class object.
pt_dict – A python dict object.
- json() dict ¶
Parse the class object to a JSON compliant python dictionary object, where the attribute value with physical quantity is expressed as a string with a value and a unit.
A Dict object.
- apply_operations(data, **kwargs)¶
Function to apply all the operation functions in the operations member of a SignalProcessor object. Operations applied sequentially over the data member.
A copy of the data member with the operations applied to it.
- Return type