combine1fiber¶
-
pydl.pydlspec2d.spec2d.combine1fiber(inloglam, objflux, newloglam, objivar=None, verbose=False, **kwargs)[source]¶ Combine several spectra of the same object, or resample a single spectrum.
Parameters: inloglam :
numpy.ndarrayVector of log wavelength.
objflux :
numpy.ndarrayInput flux.
newloglam :
numpy.ndarrayOutput wavelength pixels, vector of log wavelength.
objivar :
numpy.ndarray, optionalInverse variance of the flux.
verbose :
bool, optionalIf
True, set log level to DEBUG.Returns: tuple()ofnumpy.ndarrayThe resulting flux and inverse variance.
Raises: :exc:`ValueError`
If input dimensions don’t match.