AcquisitionInfo#

class pyopenms.AcquisitionInfo#

Bases: object

Description of the combination of raw data to a single spectrum

__init__() → None#
__init__(arg: pyopenms.AcquisitionInfo, /) → None

Methods

__init__()

clearMetaInfo()

Removes all meta values

getKeys(keys)

Overloaded function.

getMetaValue(name)

Returns the value corresponding to a string, or DataValue::EMPTY if not found

getMethodOfCombination()

Returns the method of combination

isMetaEmpty()

Returns if the MetaInfo is empty

metaRegistry()

Returns a reference to the MetaInfoRegistry

metaValueExists(name)

Returns whether an entry with the given name exists

push_back(acq)

Append an Acquisition object

removeMetaValue(name)

Removes the DataValue corresponding to name if it exists

resize(n)

Resize the AcquisitionInfo

setMetaValue(name, value)

Sets the DataValue corresponding to a name

setMethodOfCombination(method_of_combination)

Sets the method of combination

size()

Returns the number of Acquisition objects

clearMetaInfo() → None#

Removes all meta values

getKeys(keys: list) → None#
getKeys() → list

Overloaded function.

  1. getKeys(keys: list) -> None

Fills the given list with all meta value keys

  1. getKeys() -> list

Returns all meta value keys as a list

getMetaValue(name: str) → None | int | float | str | bytes | list[str] | list[int] | list[float]#

Returns the value corresponding to a string, or DataValue::EMPTY if not found

getMethodOfCombination() → str#

Returns the method of combination

isMetaEmpty() → bool#

Returns if the MetaInfo is empty

static metaRegistry() → pyopenms.MetaInfoRegistry#

Returns a reference to the MetaInfoRegistry

metaValueExists(name: str) → bool#

Returns whether an entry with the given name exists

push_back(acq: pyopenms.Acquisition) → None#

Append an Acquisition object

removeMetaValue(name: str) → None#

Removes the DataValue corresponding to name if it exists

resize(n: int) → None#

Resize the AcquisitionInfo

setMetaValue(name: str, value: None | int | float | str | bytes | list[str] | list[int] | list[float]) → None#

Sets the DataValue corresponding to a name

setMethodOfCombination(method_of_combination: str) → None#

Sets the method of combination

size() → int#

Returns the number of Acquisition objects