sdss / marvin

Data access and visualization for MaNGA. http://sdss-marvin.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
56 stars 32 forks source link

absmag_g_r column is incorrect #796

Open NickyBfudd opened 1 year ago

NickyBfudd commented 1 year ago

When requesting g-r colors in a query, u-g colours are instead returned.

To Reproduce

from marvin.tools.query import Query q = Query(search_filter='nsa.z < 0.1', return_params=['absmag_g_r', 'nsa.elpetro_absmag']) r = q.run() r.results

From inspecting the outputs of r.results and comparing the g-r colors to the corresponding FNugriz magnitudes, it is apparent that 'absmag_g_r' is returning u-g colors.

Expected behaviour 'absmag_g_r' returns g-r colors.

Desktop (please complete the following information):

Additional context This issue is apparent in https://sdss-marvin.readthedocs.io/en/latest/tutorials/notebooks/Marvin_Results.html, in which the plotted range of g-r colors extends to significantly higher values than would be expected.