GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
SunInfo Class Reference

Class that contains information about the solar SED and magnitudes. More...

#include <bands_etc.h>

Public Member Functions

double AbsMag (Band band)
 absolute magnitude of the sun
 
double mag (Band band, double z, const COSMOLOGY &cosmo)
 k-corrected apparent magnitude
 
double flux (Band band, double z, const COSMOLOGY &cosmo)
 k-corrected flux in ergs/cm^2/s/Hz at center of band
 

Detailed Description

Class that contains information about the solar SED and magnitudes.

This is a very primative version that does not do the proper k-corretion

Member Function Documentation

◆ flux()

double SunInfo::flux ( Band band,
double z,
const COSMOLOGY & cosmo )

k-corrected flux in ergs/cm^2/s/Hz at center of band

k-corrected flux in ergs/s/cm^2/Hz

◆ mag()

double SunInfo::mag ( Band band,
double z,
const COSMOLOGY & cosmo )

k-corrected apparent magnitude

k-corrected apparent magnitude, very crudely done without integration of spectrum


The documentation for this class was generated from the following files: