Add Visualise all-sky dashboard and select-all query#10
Open
tansb wants to merge 1 commit into
Open
Conversation
New sled_visualise app: an interactive all-sky map of selected lenses (Aitoff projection, redshift scatter, survey/galactic overlays with a map-centre toggle). Adds a Visualise button on the query page and a query-all-ids endpoint so actions can target the full result set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New sled_visualise app: an interactive all-sky map of selected lenses (Aitoff projection, redshift scatter, survey/galactic overlays with a map-centre toggle). Adds a Visualise button on the query page and a query-all-ids endpoint so actions can target the full result set. I've also changed the "select all" button to select all targets across all pages. Lastly, I slightly modified a dev login-lockout fix so it would stop blocking my logins.
A new self-contained Django app that opens an interactive all-sky map of the lenses selected on the query page. The dashboard is based on Courtney Watson's for the AGEL survey webpage page.
New "Visualise" button on lenses/query/, alongside See collage / Make collection / Export. It POSTs the checked lens IDs to the new view, which renders the dashboard in a new tab.
Sky map: HTML5-canvas Aitoff projection, colour-by source/deflector type or source/deflector redshift, point-size control, hover/click tooltips with a "View in SLED" link, pan/zoom.
Redshift scatter: z_source vs z_deflector with a dashed 1:1 reference line.
Survey/galactic overlays: toggleable reference outlines (SDSS Legacy, DES, Euclid Wide, Milky Way galactic plane). How the actual footprints need to be improved especially for DES. Each footprint lives in its own file under static/sled_visualise/footprints/ and self-registers into a small registry, so adding a survey is just a new file.
Map-centre toggle: flips the projection between RA=0 at the left edge (default) and RA=0 centred, so footprints straddling RA=0 (e.g. the DES tank) read as one connected region.
"Toggle select all" now spans all pages
Previously "Toggle select all" only checked the boxes on the current page (100/page). It now selects the entire query result list.
Dev login-lockout relaxation (settings_development.py)
For local development only, relaxes django-axes so testing isn't blocked by lockouts: AXES_COOLOFF_TIME = 0.25, AXES_FAILURE_LIMIT = 10, AXES_RESET_ON_SUCCESS = True.