BilinearInterpolation#

class pyopenms.BilinearInterpolation#

Bases: object

Cython implementation of _BilinearInterpolation[double,double]

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: BilinearInterpolation) None

Methods

__init__

Overload:

addValue(self, arg_pos_0, arg_pos_1, arg_value)

Performs bilinear resampling.

empty(self)

getData(self)

getInsideReferencePoint_0(self)

getInsideReferencePoint_1(self)

getOffset_0(self)

Accessor.

getOffset_1(self)

Accessor.

getOutsideReferencePoint_0(self)

getOutsideReferencePoint_1(self)

getScale_0(self)

getScale_1(self)

index2key_0(self, pos)

The transformation from "inside" to "outside" coordinates

index2key_1(self, pos)

The transformation from "inside" to "outside" coordinates

key2index_0(self, pos)

The transformation from "outside" to "inside" coordinates

key2index_1(self, pos)

The transformation from "outside" to "inside" coordinates

setData(self, data)

Assigns data to the internal random access container storing the data.

setMapping_0

Overload:

setMapping_1

Overload:

setOffset_0(self, offset)

setOffset_1(self, offset)

setScale_0(self, scale)

setScale_1(self, scale)

supportMax_0(self)

Upper boundary of the support, in "outside" coordinates

supportMax_1(self)

Upper boundary of the support, in "outside" coordinates

supportMin_0(self)

Lower boundary of the support, in "outside" coordinates

supportMin_1(self)

Lower boundary of the support, in "outside" coordinates

value(self, arg_pos_0, arg_pos_1)

addValue(self, arg_pos_0: float, arg_pos_1: float, arg_value: float) None#

Performs bilinear resampling. The arg_value is split up and added to the data points around arg_pos. (“forward resampling”)

empty(self) bool#
getData(self) MatrixDouble#
getInsideReferencePoint_0(self) float#
getInsideReferencePoint_1(self) float#
getOffset_0(self) float#

Accessor. “Offset” is the point (in “outside” units) which corresponds to “Data(0,0)”

getOffset_1(self) float#

Accessor. “Offset” is the point (in “outside” units) which corresponds to “Data(0,0)”

getOutsideReferencePoint_0(self) float#
getOutsideReferencePoint_1(self) float#
getScale_0(self) float#
getScale_1(self) float#
index2key_0(self, pos: float) float#

The transformation from “inside” to “outside” coordinates

index2key_1(self, pos: float) float#

The transformation from “inside” to “outside” coordinates

key2index_0(self, pos: float) float#

The transformation from “outside” to “inside” coordinates

key2index_1(self, pos: float) float#

The transformation from “outside” to “inside” coordinates

setData(self, data: MatrixDouble) None#

Assigns data to the internal random access container storing the data. SourceContainer must be assignable to ContainerType

setMapping_0()#

Overload:

setMapping_0(self, scale: float, inside: float, outside: float) None

Overload:

setMapping_0(self, inside_low: float, outside_low: float, inside_high: float, outside_high: float) None
setMapping_1()#

Overload:

setMapping_1(self, scale: float, inside: float, outside: float) None

Overload:

setMapping_1(self, inside_low: float, outside_low: float, inside_high: float, outside_high: float) None
setOffset_0(self, offset: float) None#
setOffset_1(self, offset: float) None#
setScale_0(self, scale: float) None#
setScale_1(self, scale: float) None#
supportMax_0(self) float#

Upper boundary of the support, in “outside” coordinates

supportMax_1(self) float#

Upper boundary of the support, in “outside” coordinates

supportMin_0(self) float#

Lower boundary of the support, in “outside” coordinates

supportMin_1(self) float#

Lower boundary of the support, in “outside” coordinates

value(self, arg_pos_0: float, arg_pos_1: float) float#