fritz-marshal / fritz

Astronomical data platform for the Zwicky Transient Facility.
https://fritz.science
Other
24 stars 34 forks source link

show absolute photometry of alerts for sources with a counterpart #211

Open janvanroestel opened 3 years ago

janvanroestel commented 3 years ago

For sources with a counterpart, the lightcurve of the flux with the reference magnitude added is more relevant

Feature Summary On the source page; the difference magnitude of the alerts is shown. I propose to add a toggle that switches between "Difference magnitude" and "Apparent Magnitude". The second includes any flux in the reference image (mag_nr).

Usage / behavior a button added above the lightcurve in the source pages that switches between alert (or diff) magnitudes and combined (total) magnitudes.

Alternative Solutions None

Implementation details Alerce already has this (Difference magnitude VS Apparent Magnitude) image. This will also handle negative alerts correctly

Additional context This feature is needed for variable stars and QSOs

guynir42 commented 2 years ago

Steps needed: 1) Add a column to the DB to hold the baseline flux. 2) Add frontend capability to show this information if it exists. 3) Make sure this is ingested from kowalski from now on. 4) Post the baseline for old photometry points (optional).

guynir42 commented 2 years ago

number 1) is addressed in https://github.com/skyportal/skyportal/pull/2790