ParallelThresholdCalibration
ParallelThresholdCalibration(
threshold,
original_threshold,
applied,
counts,
serial_seconds,
parallel_seconds,
)Result from calibrating the Rayon parallelization threshold.
Attributes
threshold : int-
Recommended aperture-count threshold for switching to Rayon.
original_threshold : int-
Threshold value active before calibration started.
applied : bool-
Whether
thresholdwas applied to the current Python process. counts : tuple[int, …]-
Aperture counts tested during calibration.
serial_seconds, parallel_seconds : tuple[float, …]-
Best measured runtime for each count with serial and forced-parallel execution.