ewoksfluo.tasks.example_data.xrf_spectra.EmissionLineGroup#

class ewoksfluo.tasks.example_data.xrf_spectra.EmissionLineGroup(element, name, counts)[source]#

Bases: NamedTuple

count(value, /)#

Return number of occurrences of value.

counts: Union[float, Sequence]#

Alias for field number 2

property counts_asarray#
element: str#

Alias for field number 0

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

name: str#

Alias for field number 1