etspy.align.get_best_slices(stack: TomoStack, nslices: int) ndarray[source]

Get best nslices for center of mass analysis.

Slices which have the highest ratio of total mass to mass variance and their location are returned.

Parameters:
stack: TomoStack

Tilt series from which to select the best slices

nslices: int

Number of slices to return

Returns:

Location along the x-axis of the best slices

Return type:

ndarray