BilinearInterpolation

class pyopenms.BilinearInterpolation

Bases: object

Cython implementation of _BilinearInterpolation[double,double]

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS::Math_1_1BilinearInterpolation[double,double].html

__init__()
  • Cython signature: void BilinearInterpolation()

  • Cython signature: void BilinearInterpolation(BilinearInterpolation &)

Methods

__init__

  • Cython signature: void BilinearInterpolation()

addValue

Cython signature: void addValue(double arg_pos_0, double arg_pos_1, double arg_value) Performs bilinear resampling.

empty

Cython signature: bool empty()

getData

Cython signature: MatrixDouble getData()

getInsideReferencePoint_0

Cython signature: double getInsideReferencePoint_0()

getInsideReferencePoint_1

Cython signature: double getInsideReferencePoint_1()

getOffset_0

Cython signature: double getOffset_0() Accessor.

getOffset_1

Cython signature: double getOffset_1() Accessor.

getOutsideReferencePoint_0

Cython signature: double getOutsideReferencePoint_0()

getOutsideReferencePoint_1

Cython signature: double getOutsideReferencePoint_1()

getScale_0

Cython signature: double getScale_0()

getScale_1

Cython signature: double getScale_1()

index2key_0

Cython signature: double index2key_0(double pos) The transformation from "inside" to "outside" coordinates

index2key_1

Cython signature: double index2key_1(double pos) The transformation from "inside" to "outside" coordinates

key2index_0

Cython signature: double key2index_0(double pos) The transformation from "outside" to "inside" coordinates

key2index_1

Cython signature: double key2index_1(double pos) The transformation from "outside" to "inside" coordinates

setData

Cython signature: void setData(MatrixDouble & data) Assigns data to the internal random access container storing the data.

setMapping_0

  • Cython signature: void setMapping_0(double & scale, double & inside, double & outside)

setMapping_1

  • Cython signature: void setMapping_1(double & scale, double & inside, double & outside)

setOffset_0

Cython signature: void setOffset_0(double & offset)

setOffset_1

Cython signature: void setOffset_1(double & offset)

setScale_0

Cython signature: void setScale_0(double & scale)

setScale_1

Cython signature: void setScale_1(double & scale)

supportMax_0

Cython signature: double supportMax_0() Upper boundary of the support, in "outside" coordinates

supportMax_1

Cython signature: double supportMax_1() Upper boundary of the support, in "outside" coordinates

supportMin_0

Cython signature: double supportMin_0() Lower boundary of the support, in "outside" coordinates

supportMin_1

Cython signature: double supportMin_1() Lower boundary of the support, in "outside" coordinates

value

Cython signature: double value(double arg_pos_0, double arg_pos_1)

addValue()

Cython signature: void addValue(double arg_pos_0, double arg_pos_1, double arg_value) Performs bilinear resampling. The arg_value is split up and added to the data points around arg_pos. (“forward resampling”)

empty()

Cython signature: bool empty()

getData()

Cython signature: MatrixDouble getData()

getInsideReferencePoint_0()

Cython signature: double getInsideReferencePoint_0()

getInsideReferencePoint_1()

Cython signature: double getInsideReferencePoint_1()

getOffset_0()

Cython signature: double getOffset_0() Accessor. “Offset” is the point (in “outside” units) which corresponds to “Data(0,0)”

getOffset_1()

Cython signature: double getOffset_1() Accessor. “Offset” is the point (in “outside” units) which corresponds to “Data(0,0)”

getOutsideReferencePoint_0()

Cython signature: double getOutsideReferencePoint_0()

getOutsideReferencePoint_1()

Cython signature: double getOutsideReferencePoint_1()

getScale_0()

Cython signature: double getScale_0()

getScale_1()

Cython signature: double getScale_1()

index2key_0()

Cython signature: double index2key_0(double pos) The transformation from “inside” to “outside” coordinates

index2key_1()

Cython signature: double index2key_1(double pos) The transformation from “inside” to “outside” coordinates

key2index_0()

Cython signature: double key2index_0(double pos) The transformation from “outside” to “inside” coordinates

key2index_1()

Cython signature: double key2index_1(double pos) The transformation from “outside” to “inside” coordinates

setData()

Cython signature: void setData(MatrixDouble & data) Assigns data to the internal random access container storing the data. SourceContainer must be assignable to ContainerType

setMapping_0()
  • Cython signature: void setMapping_0(double & scale, double & inside, double & outside)

  • Cython signature: void setMapping_0(double & inside_low, double & outside_low, double & inside_high, double & outside_high)

setMapping_1()
  • Cython signature: void setMapping_1(double & scale, double & inside, double & outside)

  • Cython signature: void setMapping_1(double & inside_low, double & outside_low, double & inside_high, double & outside_high)

setOffset_0()

Cython signature: void setOffset_0(double & offset)

setOffset_1()

Cython signature: void setOffset_1(double & offset)

setScale_0()

Cython signature: void setScale_0(double & scale)

setScale_1()

Cython signature: void setScale_1(double & scale)

supportMax_0()

Cython signature: double supportMax_0() Upper boundary of the support, in “outside” coordinates

supportMax_1()

Cython signature: double supportMax_1() Upper boundary of the support, in “outside” coordinates

supportMin_0()

Cython signature: double supportMin_0() Lower boundary of the support, in “outside” coordinates

supportMin_1()

Cython signature: double supportMin_1() Lower boundary of the support, in “outside” coordinates

value()

Cython signature: double value(double arg_pos_0, double arg_pos_1)