fitlistreader.fitintegralcoll
Module Contents
Classes
Acts as a container class holding all integrals of a fit. Also constructs the integral objects and manages them. |
- class fitlistreader.fitintegralcoll.FitIntegralCollection[source]
Bases:
collections.abc.MutableSequenceActs as a container class holding all integrals of a fit. Also constructs the integral objects and manages them.
an integral
- extend(iterable)[source]
S.extend(iterable) – extend sequence by appending elements from the iterable
- check_valid_element(elem)[source]
checks if elem is of a valid form to add to the integralcollection.
Elements of the FitIntegralCollection are dicts which contain one or three valid FitIntegrals. In the case of only a single entry, the key must be named “tot”. For three entries, the two additional keys are “bg” and “sub”. :param elem: To pass the check, elem must be an object as described above. :type elem: Any