IDBCalibrationCurve#

class stixcore.idb.idb.IDBCalibrationCurve(rows, param)[source]#

Bases: object

A class to represent a calibration curve for a LUT based interpolation defined in the IDB.

Methods Summary

__call__(raw)

Apply the interpolation function with the raw value based on the LUT provided by the IDB.

Methods Documentation

__call__(raw)[source]#

Apply the interpolation function with the raw value based on the LUT provided by the IDB.

Parameters:

raw (number) – The raw value to apply to

Returns:

float – interpolated value