Manticore  Version 2.0alpha
Physics of Molecular Clouds
Namespaces | Typedefs | Functions | Variables
manticore.h File Reference
#include <CCfits/CCfits>
#include <gsl/gsl_spline.h>
#include <mutils/CommandLine.h>
Include dependency graph for manticore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 manticore
 Package namespace.
 

Typedefs

using manticore::mapDataType = std::valarray< float >
 Output FITS maps data type (cf. mapDataCode). More...
 
using manticore::tableType = std::vector< std::pair< double, double > >
 Basic table data. More...
 

Functions

int manticore::getBand (const CCfits::HDU &hdu)
 Returns nominal band center (microns) from an HDU. More...
 
mapDataType manticore::getError (const mapDataType &data, CCfits::PHDU &hdu, const mu::CommandLine &cli)
 Generates image error map. More...
 
gsl_spline * manticore::initSpline (const tableType &table, bool ln)
 Initializes cubic spline interpolator. More...
 
void manticore::process (const mu::CommandLine &cli)
 Processes multi-wavelength maps into temperature/column density maps. More...
 
void manticore::setKeys (CCfits::ExtHDU &hdu, const CCfits::PHDU &hdu0)
 Sets header keywords for an output map. More...
 
void manticore::solve (std::vector< mapDataType > &outMap, std::vector< CCfits::ExtHDU * > &outHDU, CCfits::FITS *outFITS, const std::vector< mapDataType > &bandData, const std::vector< mapDataType > &bandError, const std::vector< CCfits::PHDU * > &bandHDU, const mu::CommandLine &cli)
 Performs least-squares fitting of band SEDs. More...
 

Variables

constexpr double manticore::c_light = 2.99792458e10
 Speed of light (cm/s). More...
 
constexpr double manticore::h_Planck = 6.626070040e-27
 Planck's constant (erg*s). More...
 
constexpr double manticore::k_Boltzman = 1.38064852e-16
 Planck's constant (erg/K). More...
 
constexpr double manticore::m_H = 1.6737237e-24
 Mass of hygdrogen atom (g). More...
 
constexpr int manticore::mapDataCode = FLOAT_IMG
 Output FITS maps data code (cf. mapDataType). More...
 
constexpr long manticore::modelMapLen = 961L
 One-dimensional length of model map image. More...