diff --git a/tools/desi-legacy-survey/Catalog.py b/tools/desi-legacy-survey/Catalog.py index 8e559d8..ceeddd5 100644 --- a/tools/desi-legacy-survey/Catalog.py +++ b/tools/desi-legacy-survey/Catalog.py @@ -162,34 +162,34 @@ def clean_flux(flux, flux_ivar): cat = ODAAstropyTable(Table(data, names=names)) # dict_filters = json.dumps({"filter": ["DECam|DECam.g", "DECam|DECam.r", "DECam|DECam.z", "DECam|DECam.i", "WISE|WISE.W1", "WISE|WISE.W2"], "flux_error": ["flux_g_err[Jy]", "flux_r_err[Jy]", "flux_z_err[Jy]", "flux_i_err[Jy]", "flux_w1_err[Jy]", "flux_w2_err[Jy]"], "flux": ["flux_g[Jy]", "flux_r[Jy]", "flux_z[Jy]", "flux_i[Jy]", "flux_w1[Jy]", "flux_w2[Jy]"]}) -dict_filters = str( - { - "filter": [ - "DECam|DECam.g", - "DECam|DECam.r", - "DECam|DECam.z", - "DECam|DECam.i", - "WISE|WISE.W1", - "WISE|WISE.W2", - ], - "flux_error": [ - "flux_g_err[Jy]", - "flux_r_err[Jy]", - "flux_z_err[Jy]", - "flux_i_err[Jy]", - "flux_w1_err[Jy]", - "flux_w2_err[Jy]", - ], - "flux": [ - "flux_g[Jy]", - "flux_r[Jy]", - "flux_z[Jy]", - "flux_i[Jy]", - "flux_w1[Jy]", - "flux_w2[Jy]", - ], - } -) +dict_filters = { + "filter": [ + "DECam|DECam.g", + "DECam|DECam.r", + "DECam|DECam.z", + "DECam|DECam.i", + "WISE|WISE.W1", + "WISE|WISE.W2", + ], + "flux_error": [ + "flux_g_err[Jy]", + "flux_r_err[Jy]", + "flux_z_err[Jy]", + "flux_i_err[Jy]", + "flux_w1_err[Jy]", + "flux_w2_err[Jy]", + ], + "flux": [ + "flux_g[Jy]", + "flux_r[Jy]", + "flux_z[Jy]", + "flux_i[Jy]", + "flux_w1[Jy]", + "flux_w2[Jy]", + ], +} +# dict_filters = str({"filter": ["DECam|DECam.g", "DECam|DECam.r", "DECam|DECam.z", "DECam|DECam.i", "WISE|WISE.W1", "WISE|WISE.W2"], "flux_error": ["flux_g_err[Jy]", "flux_r_err[Jy]", "flux_z_err[Jy]", "flux_i_err[Jy]", "flux_w1_err[Jy]", "flux_w2_err[Jy]"], "flux": ["flux_g[Jy]", "flux_r[Jy]", "flux_z[Jy]", "flux_i[Jy]", "flux_w1[Jy]", "flux_w2[Jy]"]}) +dict_filters catalog_table = cat # http://odahub.io/ontology#ODAAstropyTable dictionary_filters = dict_filters # http://odahub.io/ontology#ODATextProduct