Class CoehloSpectrum

Inheritance Relationships

Base Type

Class Documentation

class CoehloSpectrum : public StellarSource

Public Functions

CoehloSpectrum(std::string spectrum_file, double magnitude, double telescope_area)
void read_spectrum(std::string spectrum_file)
virtual double get_spectral_density(double wavelength)

This function returns the spectral density at a given wavelength. It is the essential function for all subclasses.

See

Source::get_spectrum() will use this function to integrate over it to retrieve a spectrum for a given wavelength vector.

Parameters

wavelength – wavelength

Returns

spectral density