|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Utilities for working with spectra from phoenix code. More...
Utilities for working with spectra from phoenix code.
Definition in file phoenixSpectrum.hpp.
#include <fstream>#include <iostream>#include "constants.hpp"#include "../math/vectorUtils.hpp"#include "../ioutils/fileUtils.hpp"#include "../ioutils/readColumns.hpp"#include "../ioutils/stringUtils.hpp"Go to the source code of this file.
Classes | |
| struct | mx::astro::phoenixSpectrum< _units > |
| A spectrum from the Phoenix model, for use with ioutils::astro::astroSpectrum. More... | |
Namespaces | |
| namespace | mx |
| The mxlib c++ namespace. | |
Functions | |
| template<typename floatT> | |
| void | mx::astro::rewritePhoenixSpectrum (const std::string &filename, floatT lmin, floatT lmax, int sepWavelength=0, floatT DF=-8.0) |
| Read in, crop, scale, and re-write a Phoenix spectrum data file. | |
| template<typename floatT> | |
| void | mx::astro::rewritePhoenixSpectrumBatch (const std::string &dir, floatT lmin, floatT lmax, floatT DF=-8.0) |
| Call rewritePhoenixSpectrum for all files in a directory. | |