pyhrs:docs

background

pyhrs.background(b_arr, niter=3)[source] [edit on github]

Determine the background for an array

Parameters:

b_arr: numpy.ndarray

Array for the determination of the background

niter: int

Number of iterations for sigma clipping

Returns:

bkgrd: float

median background value after sigma clipping

bkstd: float

Estimated standard deviation based on the median absolute deviation

Page Contents