Skip to content

Calibration error application and interpolator

Description

I have added functionality to modify a REAL8TimeSeries and REAL4TimeSeries of strain data with a provided calibration error given in the form of magnitude, phase and corresponding frequencies. The added function will interpolate the provided calibration error to the appropriate frequency spacing, smoothly drop the error off to zero outside of the provided frequency range, apply the result to the strain data (in the frequency domain), and return the modified strain as a REAL8TimeSeries. I have also added a unit test to check that when a calibration error equivalent to no errors present (unity in magnitude and zero in phase) is passed, the modified strain time series that is returned is equivalent to the original time series, within the expected computational accuracy.

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.

Review Status

This code has not yet been reviewed.

Merge request reports