obspy.realtime.signal.scale

scale(trace, factor=1.0, rtmemory_list=None)[source]

Scale array data samples by specified factor.

Parameters:
  • trace (Trace) Trace object to append to this RtTrace
  • factor (float, optional) Scale factor (default is 1.0).
  • rtmemory_list (list of RtMemory, optional) Persistent memory used by this process for specified trace.
Return type:

NumPy numpy.ndarray

Returns:

Processed trace data from appended Trace object.