{{indexmenu_n>999}} ====== ToSpectra ====== ### //Spec = ResponseFunction.ToSpectra(G,options)// creates a [[documentation:language_reference:objects:spectra:start|spectrum]] object from a response function object. For response functions represented as matrices Spectra are stored row first in a single list. See also [[documentation:language_reference:functions:createspectra|CreateSpectra]] ### ### Possible options are * EnergyShift: double - a shift of the energy * Emin: double - minimum energy for the spectrum * Emax: double - maximum energy for the spectrum * NE: double - number of energy points in the spectrum * GammaG: double - Gaussian broadening of the spectrum (full width half maximum) * GammaL: double - Lorenzian broadening of the spectrum (full width half maximum) ### ===== Table of contents ===== {{indexmenu>../#2|tsort}}