derotation.analysis.mean_images#
This module contains functions to calculate mean images in steps of 10 degrees. It is used when finding the center of rotation.
Functions
| 
 | Calculate the mean images for each rotation angle. | 
- derotation.analysis.mean_images.calculate_mean_images(image_stack, rot_deg_frame, round_decimals=2)[source]#
- Calculate the mean images for each rotation angle. This required to calculate the shifts using phase cross correlation. - Parameters:
- rotated_image_stack (np.ndarray) – The rotated image stack. 
- rot_deg_frame (np.ndarray) – The rotation angles for each frame. 
- round_decimals (int, optional) – The number of decimals to round the angles to, by default 2 
 
- Returns:
- The mean images for each rotation angle. 
- Return type:
- np.ndarray