h5analysis.simplemath.apply_offset

h5analysis.simplemath.apply_offset(stream, offset=None, coffset=None)

Apply constant or polynomial offset to specified stream

Parameters:
  • stream (array) – Specify the data to act on

  • offset (list of tuples) – List all tuples with shift values (is,should)

  • cofset (float) – Shift by constant

Returns:

stream – offset array

Return type:

numpy array