template_qso¶
-
pydl.pydlspec2d.spec1d.template_qso(metadata, newflux, newivar, verbose=False)[source]¶ Run PCA or HMF on QSO spectra.
Historically, QSO templates were comptuted one at a time instead of all at once.
Parameters: metadata :
dictDictionary containing metadata about the spectra.
newflux :
ndarrayFlux shifted onto common wavelength.
newivar :
ndarrayInverse variances of the fluxes.
verbose :
bool, optionalIf
True, print lots of extra information.Returns: dictA dictonary containing flux, eigenvalues, etc.