usage: Usage: e2spt_stat.py [options] 
Note that this program is not part of the original e2spt hierarchy, but is part of an experimental refactoring.

This program will look in an spt_XX folder at particle_parms_xx.json and show a quality histogram of the particles as compared to the alignment reference. Smaller values are better.

Option Type Description
--version None show program's version number and exit
--path str Path to a folder containing current results (default = highest spt_XX)
--iter int Iteration number within path. Default = auto
--bins int Number of bins to use in the histogram
--mask str Mask file to use for remask score calculation. If not specified, remask must have been previously computed
--maskref str File containing the reference to compare the masked volumes with (required with --mask)
--mode str Which variable to histogram, score, coverage, alt, az, phi, dx, dy, dz, score_remask. default=score.
--extract None If set, will convert the .json file to a .txt file suitable for plotting. No histogramming is involved, this is a per-particle conversion
--gui None If set will open an interactive plot with the results
--verbose, -v int verbose level [0-9], higher number means higher level of verboseness
--ppid int Set the PID of the parent process, used for cross platform PPID