CADETProcess.fractionation.Fractionator.add_fractionation_event#
- Fractionator.add_fractionation_event(event_name: str, target: str | int, time: float, chromatogram: SolutionIO | str | None = None) None[source]#
Add a fractionation event.
- Parameters:
- event_namestr
The name of the event.
- targetstr | int
The indice or name of target component in Component System.
- timefloat
The time of the event.
- chromatogramOptional[SolutionIO | str]
The chromatogram associated with the event. If None and there is only one chromatogram, it will be used.
- Raises:
- CADETProcessError
If the chromatogram is not found.