plot_tot.py
Plot the emergent spectrum from the log_spec_tot file
Command line usage (if any):
usage:
plot_tot.py [-smooth 11] rootname
- rootname:
is the rootname of the files in the run
- -smooth:
is an opticnal parameter indicating how much smooth of the orignnal spectrum is to be done. The default is 11 bins
- Description:
This routines plots to a file a boxcar smoothed version of the log spectrum.
Primary routines:
Notes:
History:
- 130620 ksl
Coding begun
- 141125 ksl
Updated to use astropy.io
- plot_tot.doit(rootname='sphere', smooth=21, fig_no=2)
Plot the spectra contained in the spec_tot file
- 141125 ksl
Updated for new formats which use astropy
- 191210 ksl
Modified so that what is ploted is nuL_nu, and did a better job at setting limits for the plot
- plot_tot.steer(argv)
Parse the command line
- plot_tot.xsmooth(flux, smooth=21)
boxcar smooth the flux