CADETProcess.solution.SolutionIO.resample

CADETProcess.solution.SolutionIO.resample#

SolutionIO.resample(start: float | None = None, end: float | None = None, nt: int | None = 5001) SolutionIO[source]#

Resample solution to nt time points.

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.

ntint, optional

Number of points to resample. The default is 5001.

Returns:
SolutionIO

The resampled solution object.