Closed rmastand closed 7 years ago
To post-process Beagle output files you should rather use PyP-Beagle (you should have received a message from the Beagle mailing list earlier today). Try to use PyP-Beagle, and if you encounter problems open an issue on the PyP-BEAGLE repo.
To answer your specific question
Is this simply because I'm using an example file?
the answer is yes, the script that you're trying to use above allows you to plot the SED output from Beagle. To get the full SED in the output FITS file, however, you must set
PRINT SPECTRUM = T
in the parameter file, while in the example file is set to F
(to save disk space).
Also, I would suggest you to use fv to take a look at the FITS file output from Beagle. It is a multi-extension file composed of FITS tables and FITS images, with a lot of information inside.
I attempted to run the program BEAGLE-general/scripts/plot_Beagle_SED.py with BEAGLE-general/example-results/fitting_example/1_BEAGLE.fits.gz and got the following error:
Further, when checking the information in the file (using the astropy fits.info function), the file seems to contain:
none of which looks like redshift or mass results, which is what the photometry is fitting for.
Is this simply because I'm using an example file?