Skip to content

Add Visualise all-sky dashboard and select-all query#10

Open
tansb wants to merge 1 commit into
gvernard:masterfrom
tansb:visualise-dashboard
Open

Add Visualise all-sky dashboard and select-all query#10
tansb wants to merge 1 commit into
gvernard:masterfrom
tansb:visualise-dashboard

Conversation

@tansb

@tansb tansb commented May 29, 2026

Copy link
Copy Markdown

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.

  1. Visualise all-sky dashboard (new sled_visualise app)
    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.

  1. "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.

  2. 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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant