Class LineList

Inheritance Relationships

Base Type

Class Documentation

class LineList : public CalibrationSource

Implements line list spectrum.

Public Functions

LineList(const std::string linelist_file)
void read_spectrum(std::string linelist_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

virtual std::vector<double> get_interpolated_spectral_density(std::vector<double> wavelength)

Returns spectrum at given wavelength

This function returns the integrated spectral density for a given wavelength vector.

Parameters

wavelength – wavelength vector

Returns

spectrum at given wavelength

virtual std::vector<double> get_wavelength()

Public Members

std::vector<double> event
std::vector<double> intensity