mantidimaging.core.rotation.polyfit_correlation module#

mantidimaging.core.rotation.polyfit_correlation.compute_correlation_error(index: int, arrays: list[Any], params: dict[str, Any]) None[source]#
mantidimaging.core.rotation.polyfit_correlation.do_calculate_correlation_err(store: ndarray, search_index: int, p0_and_180: tuple[ndarray, ndarray], image_width: int) None[source]#

Calculates squared sum error in the difference between the projection at 0 degrees, and the one at 180 degrees

mantidimaging.core.rotation.polyfit_correlation.find_center(images: ImageStack, progress: Progress) tuple[ScalarCoR, Degrees][source]#
mantidimaging.core.rotation.polyfit_correlation.get_search_range(width: int) range[source]#