Class : Spectra

Spectra :

prototype: Spectra ()

description:default constructor



Spectra :

prototype: Spectra (int N )

description:constructor


input parameters:
N = number of points



Spectra :

prototype: Spectra (int , char** , int * , double , double , double , double dE )

description:constructor from a set of files with 2 column data. Each peak is assimilated to a Lorentzian function with FWHM = Gamma


input parameters:


input parameters:
FileNumber = number of files, Files = name of files
LineNumber = number of lines, Gamma = FWHM
Xmax, Xmin, dX = the two bounds and the step



~Spectra :

prototype: virtual ~Spectra ()

description:virtual destructor



WriteSpectra :

prototype: virtual bool WriteSpectra (char * fileName )

description:virtual method to write the spectrum in a file in ASCII mode


input parameters:
fileName = name of the file where the spectrum will be stored
return = true if no error occurs



Back to index.