-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data release photometry for lightcurve panel #543
Conversation
…eanup of lightcurve plotting code in general.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @karpov-sv ! You clear a long-standing milestone from 2020 :D
If I understand correctly, the button is always visible, but the DR data is superimposed on DC magnitude. We should make it clear to the users (they might be confused if they are on the Difference magnitude
tab)
Adds an option to request and display the photometry from ZTF data releases (IRSA archive) in the DC magnitudes tab of lightcurve panel. Also, shows the levels of magnr in the same tab, to be able to quickly see how much alert points actually deviate from it. The lines are not toggleable, as Plotly does not support it yet (implemented through shapes, not traces). These line plotting, and DC mag conversion in general, happen only when the nearest object is close enough (1.5 arcsec by default), i.e. when the alert is shown. The resulting DC magnitudes are also filtered to hide the points with errors exceeding 1 mag (basically, not measured), in order to make the plot more resistant to bad quality points.
Finally, some cleanup and visual simplification (e.g. removal of errorbar caps, and making errorbars slightly transparent, to make plots with many points a mit less messy) of the lightcurve plotting.