Skip to content
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

Merged
merged 11 commits into from
Dec 24, 2023

Conversation

karpov-sv
Copy link
Collaborator

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.
Screenshot 2023-12-22 at 4 02 19

Copy link
Member

@JulienPeloton JulienPeloton left a 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)

apps/plotting.py Show resolved Hide resolved
apps/cards.py Outdated Show resolved Hide resolved
apps/summary.py Outdated Show resolved Hide resolved
@JulienPeloton JulienPeloton added this to the next release milestone Dec 24, 2023
@JulienPeloton JulienPeloton merged commit 6926647 into astrolabsoftware:master Dec 24, 2023
1 check failed
@karpov-sv karpov-sv deleted the lc_dr branch January 22, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants