sp_validation.survey¶
SURVEY.
- Description:
This file contains methods to deal with the survey geometry. Some methods are UNIONS-/CFIS-specific.
- Author:
Martin Kilbinger <martin.kilbinger@cea.fr>
- get_area(dd, area_tile, verbose=False)[source]¶
Get area.
Return total survey area. This ignores masking as well as overlaps between tiles, and provides therefore an overestimation. of the actual observed area.
- Parameters:
dd (numpy.ndarray) – galaxy catalog
area_tile (float) – area per tile in square degree
verbose (bool, optional) – verbose output if True, default is False
- Returns:
float – area in square degrees
float – area in square arc minutes
list of float – tile IDs
- missing_tiles(tile_IDs, path_tile_ID, path_found_ID, path_missing_ID, verbose=False)[source]¶
Missing tiles.
Compute completeness, and identify missing tiles.
- Parameters:
- Returns:
int – number of tiles found, -1 if ID file path not found
int – number of tiles missing, -1 if ID file path not found