SatelliteCameraViewer.stars_in_polygon_icrs module
stars_in_polygon_icrs - Spherical point-in-polygon test.
- SatelliteCameraViewer.stars_in_polygon_icrs.stars_in_polygon_icrs(stars: list[SkyCoord], poly_ra_dec: list[tuple[float, float]])[source]
stars_in_polygon_icrs() - Spherical point-in-polygon test.
- Parameters:
stars (list[SkyCoord]) – An array of stars (in ICRS) to search.
poly_ra_dec (list[tuple[float,float]]) – Nx2 array of polygon vertices (ra, dec) in degrees (ICRS).
- Returns:
A boolean mask of stars inside the polygon.
- Return type:
A list of bool values