mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Various utilities related to stars. More...
Various utilities related to stars.
Definition in file stars.hpp.
Go to the source code of this file.
Classes | |
struct | mx::astro::mainSequence< realT > |
Provide various characteristics of main sequence stars according to their spectral type. More... | |
Namespaces | |
mx | |
The mxlib c++ namespace. | |
Functions | |
template<typename realT = float> | |
realT | mx::astro::numSpType (std::string spType) |
Parse a main sequence spectral type string into a numeric code. More... | |
void | mx::astro::maintenance::makeMSTable (const std::string &fn) |
Read in the main sequence table of Mamajek, and construct the vectors for input into the mainSequence class. More... | |
void mx::astro::maintenance::makeMSTable | ( | const std::string & | fn | ) |
Read in the main sequence table of Mamajek, and construct the vectors for input into the mainSequence class.
This is used to create mamajek.inc. The table should be copied to a text file, and all ...
replaced with -99, then any remaining . replaced with space.
Definition at line 493 of file stars.hpp.
References mx::astro::maintenance::makeMSTable(), mx::astro::numSpType(), and mx::ioutils::readColumns().
Referenced by mx::astro::maintenance::makeMSTable().