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_plotbool
Make a figure.
- NMAXint
If the catalog has more then
NMAX
entries, drawNMAX
random samples.- bufffloat
Buffer in arcmin to add around each catalog point.
- verbosebool
Print progress information.
- ra, dec
- Returns
- areafloat
Computed catalog area in square arcminutes
- fig
Figure
Figure object returned if
make_plot==True
.