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

Reticles are off for non-square thumbnails posted to SP in broker mode #82

Open
dmitryduev opened this issue Mar 3, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dmitryduev
Copy link
Collaborator

dmitryduev commented Mar 3, 2021

We need a way to handle this situation:
image

These are events detected close to the CCD edge. They are always centered on the longer side. We need to use the (x, y) position of the transient to pad the shorter side in such a way that it always lands in the center.

A nice idea from @stefanv: make the thumbnails transparent where there is no data!

The relevant code lives here: https://github.com/dmitryduev/kowalski/blob/master/kowalski/alert_broker.py#L434.

@stefanv
Copy link
Collaborator

stefanv commented Mar 3, 2021

What information do we have available from the alert?

The latest thumbnails shown at https://fritz.science/alerts/ztf/ZTF21aamqgid seem to be padded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants