sum_spectra¶
-
ndmapper.lib.gmos.spec.ifu.
sum_spectra
(*args, **kwargs)[source] [edit on github]¶ Sum over fibre spectra in the main “object” IFU field to produce a 1D output spectrum.
Parameters: inputs : DataFileList or DataFile
Input images, containing extracted, row-stacked fibre spectra with linearized wavelength co-ordinates.
out_names :
str
-like or list ofstr
-like, optionalNames of output images, each containing a 1D spectrum. If None (default), the names of the DataFile instances returned will be constructed from those of the corresponding input files, prefixed with ‘a’ as in the Gemini IRAF package.
See “help gfapsum” in IRAF for more detailed information.
Returns: outimages : DataFileList
The 1D spectra produced by gfapsum.