curve#

class Curve[source]#

Bases: object

Abstract class providing access to a curve

classmethod inverse(curve)[source]#

Returns the inverse curve. Basically swap x and y and sort y in ascending order.

Parameters:

curve (np.array) – Curve to be inverted

abstractmethod get_curve()[source]#

Returns the curve (n rows,2 columns). Curve is expected to be monotonic (non-decreasing or non-increasing).