Skip to content

Commit

Permalink
including HSC in list of optical surveys
Browse files Browse the repository at this point in the history
  • Loading branch information
SunilSimha committed Nov 14, 2023
1 parent 8ed8fbe commit f9b9318
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frb/surveys/survey_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from frb.surveys.nsc import NSC_Survey
from frb.surveys.delve import DELVE_Survey
from frb.surveys.vista import VISTA_Survey
from frb.surveys.hsc import HSC_Survey
from frb.surveys.catalog_utils import xmatch_and_merge_cats

from astropy.coordinates import SkyCoord
Expand All @@ -22,7 +23,7 @@
import numpy as np
import warnings

optical_surveys = ['Pan-STARRS', 'WISE', 'SDSS', 'DES', 'DELVE', 'DECaL', 'VISTA', 'NSC']
optical_surveys = ['Pan-STARRS', 'WISE', 'SDSS', 'DES', 'DELVE', 'DECaL', 'VISTA', 'NSC', 'HSC']
radio_surveys = ['NVSS', 'FIRST', 'WENSS', 'PSRCAT']
allowed_surveys = optical_surveys+radio_surveys

Expand Down Expand Up @@ -72,6 +73,8 @@ def load_survey_by_name(name, coord, radius, **kwargs):
survey = DELVE_Survey(coord, radius, **kwargs)
elif name == 'VISTA':
survey = VISTA_Survey(coord, radius, **kwargs)
elif name == 'HSC':
survey = HSC_Survey(coord, radius, **kwargs)

# Return
return survey
Expand Down

0 comments on commit f9b9318

Please sign in to comment.