Run PCA or HMF on QSO spectra.
Historically, QSO templates were comptuted one at a time instead of
all at once.
- Parameters:
- metadata
dict Dictionary containing metadata about the spectra.
- newflux
ndarray Flux shifted onto common wavelength.
- newivar
ndarray Inverse variances of the fluxes.
- verbose
bool, optional If True, print lots of extra information.
- Returns:
dictA dictonary containing flux, eigenvalues, etc.