nabu.pipeline.helical.helical_utils module¶
- nabu.pipeline.helical.helical_utils.find_mirror_indexes(angles_deg, tolerance_factor=1.0)[source]¶
return a list of indexes where the ith elememnt contains the index of the angles_deg array element which has the value the closest to angles_deg[i] + 180. It is used for padding in halftomo.
Parameters:¶
angles_deg: a nd.array of floats
- tolerance: float
if the mirror positions are not within a distance less than tolerance fro; the ideal position a warning is raised