BilinearInterpolation#
- class pyopenms.BilinearInterpolation#
Bases:
objectOpenMS class BilinearInterpolation
- __init__() None#
- __init__(arg: pyopenms.BilinearInterpolation, /) None
Methods
__init__()addValue(arg_pos_0, arg_pos_1, arg_value)Performs bilinear resampling.
empty()getData()Accessor.
Accessor.
index2key_0(pos)The transformation from "inside" to "outside" coordinates
index2key_1(pos)The transformation from "inside" to "outside" coordinates
key2index_0(pos)The transformation from "outside" to "inside" coordinates
key2index_1(pos)The transformation from "outside" to "inside" coordinates
setData(data)Assigns data to the internal random access container storing the data.
setMapping_0(scale, inside, outside)setMapping_1(scale, inside, outside)setOffset_0(offset)setOffset_1(offset)setScale_0(scale)setScale_1(scale)Upper boundary of the support, in "outside" coordinates
Upper boundary of the support, in "outside" coordinates
Lower boundary of the support, in "outside" coordinates
Lower boundary of the support, in "outside" coordinates
value(arg_pos_0, arg_pos_1)- addValue(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() bool#
- getData() pyopenms.MatrixDouble#
- getInsideReferencePoint_0() float#
- getInsideReferencePoint_1() float#
- getOffset_0() float#
Accessor. “Offset” is the point (in “outside” units) which corresponds to “Data(0,0)”
- getOffset_1() float#
Accessor. “Offset” is the point (in “outside” units) which corresponds to “Data(0,0)”
- getOutsideReferencePoint_0() float#
- getOutsideReferencePoint_1() float#
- getScale_0() float#
- getScale_1() float#
- index2key_0(pos: float) float#
The transformation from “inside” to “outside” coordinates
- index2key_1(pos: float) float#
The transformation from “inside” to “outside” coordinates
- key2index_0(pos: float) float#
The transformation from “outside” to “inside” coordinates
- key2index_1(pos: float) float#
The transformation from “outside” to “inside” coordinates
- setData(data: pyopenms.MatrixDouble) None#
Assigns data to the internal random access container storing the data. SourceContainer must be assignable to ContainerType
- setMapping_0(scale: float, inside: float, outside: float) None#
- setMapping_0(inside_low: float, outside_low: float, inside_high: float, outside_high: float) None
- setMapping_1(scale: float, inside: float, outside: float) None#
- setMapping_1(inside_low: float, outside_low: float, inside_high: float, outside_high: float) None
- setOffset_0(offset: float) None#
- setOffset_1(offset: float) None#
- setScale_0(scale: float) None#
- setScale_1(scale: float) None#
- supportMax_0() float#
Upper boundary of the support, in “outside” coordinates
- supportMax_1() float#
Upper boundary of the support, in “outside” coordinates
- supportMin_0() float#
Lower boundary of the support, in “outside” coordinates
- supportMin_1() float#
Lower boundary of the support, in “outside” coordinates
- value(arg_pos_0: float, arg_pos_1: float) float#