catalog_area

grizli.utils.catalog_area(ra=[], dec=[], make_plot=True, NMAX=5000, buff=0.8, verbose=True)[source]

Compute the surface area of a list of RA/DEC coordinates

Parameters:
ra, dec : ndarray

RA and Dec. coordinates in decimal degrees

make_plot : bool

Make a figure.

NMAX : int

If the catalog has more then NMAX entries, draw NMAX random samples.

buff : float

Buffer in arcmin to add around each catalog point.

Returns:
area : float

Computed catalog area in square arcminutes

fig : Figure

Figure object returned if make_plot==True.