sxplot_projs_distrib - plot distribution of projections
Usage in command lines
sxplot_projs_distrib projection output_plot
Usage in python programming
sxplot_projs_distrib.py proj_15.hdf plot_agls.hdf
sxplot_projs_distrib.py angles.txt plot_agls.hdf --wn=1024
the input stack of projections, each projection must contain its angles in the parameters xform.projection. Alternatively, if extension is txt, input is a text file with the first two columns containing angles phi and theta, respectively.
- output image size (default 256)
- name of the output image
sxplot_projs_distrib will read the angles (phi, theta, psi) for each projection from their headers (attribute xfrom.projection). Each Eulerian angle of projection will be mapped on a hemisphere in order to store the distribution in a 2D image. All angles with theta>180.0 will be mirror-transformed and mapped to the top hemisphere.
The origin angles (0 value) on the map: phi origin is the same for the trigonometric circle with a radius = 1 (alpha = 0) ; theta origin is the top of the sphere, so it is the center of the map ; psi is irrelevant.
Author / Maintainer
- category 1
- works for author, often works for others.
None. It is perfect.