AcquisitionInfo#

class pyopenms.AcquisitionInfo#

Bases: object

Cython implementation of _AcquisitionInfo

Original C++ documentation is available here

– Inherits from [‘MetaInfoInterface’]

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: AcquisitionInfo) None

Methods

__init__

Overload:

clearMetaInfo(self)

Removes all meta values

getKeys(self, keys)

Fills the given vector with a list of all keys for which a value is set

getMetaValue(self, in_0)

Returns the value corresponding to a string, or

getMethodOfCombination(self)

Returns the method of combination

isMetaEmpty(self)

Returns if the MetaInfo is empty

metaRegistry(self)

Returns a reference to the MetaInfoRegistry

metaValueExists(self, in_0)

Returns whether an entry with the given name exists

push_back(self, in_0)

Append a Acquisition object

removeMetaValue(self, in_0)

Removes the DataValue corresponding to name if it exists

resize(self, n)

setMetaValue(self, in_0, in_1)

Sets the DataValue corresponding to a name

setMethodOfCombination(self, method)

Sets the method of combination

size(self)

Number a Acquisition objects

clearMetaInfo(self) None#

Removes all meta values

getKeys(self, keys: List[bytes]) None#

Fills the given vector with a list of all keys for which a value is set

getMetaValue(self, in_0: bytes | str | String) int | float | bytes | str | List[int] | List[float] | List[bytes]#

Returns the value corresponding to a string, or

getMethodOfCombination(self) bytes | str | String#

Returns the method of combination

isMetaEmpty(self) bool#

Returns if the MetaInfo is empty

metaRegistry(self) MetaInfoRegistry#

Returns a reference to the MetaInfoRegistry

metaValueExists(self, in_0: bytes | str | String) bool#

Returns whether an entry with the given name exists

push_back(self, in_0: Acquisition) None#

Append a Acquisition object

removeMetaValue(self, in_0: bytes | str | String) None#

Removes the DataValue corresponding to name if it exists

resize(self, n: int) None#
setMetaValue(self, in_0: bytes | str | String, in_1: int | float | bytes | str | List[int] | List[float] | List[bytes]) None#

Sets the DataValue corresponding to a name

setMethodOfCombination(self, method: bytes | str | String) None#

Sets the method of combination

size(self) int#

Number a Acquisition objects