Manticore  Version 1.0
Physics of Molecular Clouds
Classes | Namespaces | Functions
solve.cc File Reference

SED fitting routines. More...

#include <ctime>
#include <thread>
#include <gsl/gsl_multifit_nlin.h>
#include "Graybody.h"
#include "PACS.h"
#include "SPIRE.h"
Include dependency graph for solve.cc:

Go to the source code of this file.

Classes

struct  manticore::GrayData
 Observation fitting data structure. More...
 

Namespaces

 manticore
 Package namespace.
 

Functions

std::string manticore::asctime ()
 Current time a la std::asctime(). More...
 
int manticore::df_gray (const gsl_vector *x, void *p, gsl_matrix *J)
 Observation fitting function Jacobian. More...
 
int manticore::f_gray (const gsl_vector *x, void *p, gsl_vector *f)
 Observation fitting function. More...
 
int manticore::fdf_gray (const gsl_vector *x, void *p, gsl_vector *f, gsl_matrix *J)
 Observation fitting function plus Jacobian. 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...
 
void manticore::solveStage1 (const std::vector< mapDataType > &bandData, const std::vector< mapDataType > &bandError, const mu::CommandLine &cli, const GrayData &gdata0, unsigned id, unsigned nThreads)
 Stage 1 solver. More...
 

Detailed Description

SED fitting routines.

Warning
This file assumes GSL version 2.1 or earlier. With v2.2, the non-linear least-squares API was completely rewritten!!

Author:  Kevin P. Rauch  <rauch.nosp@m.@ast.nosp@m.ro.um.nosp@m.d.ed.nosp@m.u>

Definition in file solve.cc.