Barak 0.3.2 documentation

barak.spec.pca_qso_cont

«  barak.spec.make_wa_scale   ::   Contents   ::   barak.spec.plot  »

barak.spec.pca_qso_cont

barak.spec.pca_qso_cont(nspec, seed=None, return_weights=False)[source]

Make qso continua using the PCA and weights from N. Suzuki et al. 2005 and N. Suzuki 2006.

Parameters :

nspec : int

Number of spectra to create

Returns :

wavelength (shape N), array of spectra [shape (nspec, N)] :

Memory use might be prohibitive for nspec > ~1e4. :

«  barak.spec.make_wa_scale   ::   Contents   ::   barak.spec.plot  »