Barak 0.3.2 documentation

barak.spec.cr_reject2

«  barak.spec.cr_reject   ::   Contents   ::   barak.spec.find_cont  »

barak.spec.cr_reject2

barak.spec.cr_reject2(fl, er, nsig=10.0, fwhm=2, grow=1, debug=True)[source]

interpolate across features that have widths smaller than the expected fwhm resolution.

Parameters :

fwhm: int :

Resolution fwhm in pixels

fl : array of floats, shape (N,)

Flux

er : array of floats, shape (N,)

Error

Returns the interpolated flux and error arrays. :

«  barak.spec.cr_reject   ::   Contents   ::   barak.spec.find_cont  »