plot_atlas
index
/users/schrei_f/src/py4CAtS/lbl/plot_atlas.py

plot_atlas
Plot line position vs strength in 'atlas' style.
 
usage:
plot_atlas [options] files
 
-h          help
-c char     comment character(s) used in files (default '#', several characters allowed)
-I          vertical impulses (bars) to indicate line strength (default: use '+', only for xmgr)
-g int      show one molecule per graph (default: plot all lines of all molecules in one graph)
            (max.) number of graphs per page with one molecule per graph
-o          output (print) file (default: interactive plot)
-t string   title
-v          verbose
 
NOTE:
The original implementation used the xmgr plotting tool (a.k.a. ACE/gr, further developed into the GRACE tool).
If you prefer the new xmgrace, use the -v option (verbose) to print the command to the screen and replace xmgr -> xmgrace.
(Unfortunately the option syntax is slightly different, but the "all in one" plot should work as before.)
 
For a discussion of xmgr vs grace see
https://github.com/mlund/xmgr-resurrection
 
Currently only wavenumber vs strength is implemented, see also the atlas function in the lines module.

 
Modules
       
os
sys

 
Functions
       
aceGr_atlas(lineFiles, printFile='', nGraphs=0, impulse=False, title='')
Plot line parameters (position vs strength) using ACE/gr = xmgr.
 
lineFiles    line parameter data file(s)
printFile    postscript file for hardcopy output (default none)
nGraphs      one graph per molecule and <= nGraphs per "page" (default 0, i.e. one plot for all)
impulse      use vertical bars instead of + markers
title        header line
childProcess(job)
System call along with exception handling.

 
Data
        verbose = 0