pwem.wizards.wizards_3d.mask_structure_wizard module

class pwem.wizards.wizards_3d.mask_structure_wizard.MaskStructureWizard(filename)[source]

Bases: object

Create a mask for an atomic structure interactively. Masks currently implemented: - Spherical mask

change_view(event)[source]
downsamplingPC(voxel_size)[source]
get_sphere_params()[source]
initializePlot()[source]
is_window_closed()[source]
on_release(event)[source]
plotScatter()[source]
plot_sphere(radius)[source]
press_shift(event)[source]
release_shift(event)[source]
set_axes_equal(ax: matplotlib.axes._axes.Axes)[source]

Set 3D plot axes to equal scale.

Make axes of 3D plot have equal scale so that spheres appear as spheres and cubes as cubes. Required since ax.axis(‘equal’) and ax.set_aspect(‘equal’) don’t work on 3D.