deepdisc.astrodet.DC2_public
Functions
|
Get HSC data given tract/patch info or SkyCoord |
|
|
|
Module Contents
- get_DC2_data(filters=['u', 'g', 'r', 'i', 'z', 'y'], tract=10054, patch=[0, 0], coord=None, cutout_size=[128, 128])[source]
Get HSC data given tract/patch info or SkyCoord
- Parameters:
dirpath (str) – Path to HSC image file directory
filters (list) – A list of filters for your images. Default is [‘g’, ‘r’, ‘i’].
tract (int) – An integer used for specifying the tract. Default is 10054|
patch ([int, int]) – Patch #,#. Default is [0,0]
coord (SkyCoord) – Astropy SkyCoord, when specified, overrides tract/patch info and attempts to lookup HSC filename from ra, dec. Default is None
cutout_size ([int, int]) – Size of cutout to use (set to None for no cutting). Default is [128, 128]
form (The image filepath is in the) – {dirpath}/deepCoadd/HSC-{filter}/{tract}/{patch[0]},{patch[1]}/calexp-HSC-{filter}-{tract}-{patch[0]},{patch[1]}.fits
- Returns:
data – HSC data array with dimensions [filters, N, N]
- Return type:
ndarray