CADETProcess.fractionation.Fractionator.set_fractionation_state

CADETProcess.fractionation.Fractionator.set_fractionation_state#

Fractionator.set_fractionation_state(chrom, state)[source]#

Set fractionation states of Chromatogram.

Parameters:
chromSolutionIO

Chromatogram object which is to be fractionated.

stateint or list of floats

New fractionation state of the Chromatogram.

Raises:
CADETProcessError

If Chromatogram not in Fractionator If state is integer and the state >= the n_comp. If the length of the states is unequal the state_length. If the sum of the states is not equal to 1.