Skip to content

Commit

Permalink
automatic update
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoda-esg-bot committed Dec 9, 2024
1 parent 9c3b602 commit 1943aad
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions tools/desi-legacy-survey/Catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1943aad

Please sign in to comment.