CADETProcess.solution.SolutionIO.create_fraction

CADETProcess.solution.SolutionIO.create_fraction#

SolutionIO.create_fraction(start: float | None = None, end: float | None = None) Fraction[source]#

Create fraction in interval [start, end].

Parameters:
startOptional[float]

Start time of the fraction. If None, the first time point is used. The default is None.

end: Optional[float]

End time of the fraction. If None, the last time point is used. The default is None.

Returns:
Fraction

a Fraction object in the interval [start, end]