AbsSpectrumContainer

class quantarhei.spectroscopy.abscontainer.AbsSpectrumContainer(axis=None)[source]

Methods

copy() Returns a shallow copy of the self
deepcopy() Returns a deep copy of the self
get_spectra() Returns a list or tuple of the calculated spectra
get_spectrum(tag) Returns spectrum corresponing to time t2
load(filename[, test]) Loads an object from a file and returns it
loaddir(dirname) Returns a directory of objects saved into a directory
save(filename[, comment, test]) Saves the object with all its content into a file
savedir(dirname[, tag, comment, test]) Saves an object into directory containing a file with unique name
scopy() Creates a copy of the object by saving and loading it
set_spectrum(spect[, tag]) Stores absorption spectrum
set_axis  
get_spectra()[source]

Returns a list or tuple of the calculated spectra

get_spectrum(tag)[source]

Returns spectrum corresponing to time t2

Checks if the time t2 is present in the t2axis

set_spectrum(spect, tag=None)[source]

Stores absorption spectrum

Checks compatibility of its frequency axis