Skip to content

Implement proper support for statistics/subsets/histograms for HiPS datasets - #125

Merged
astrofrog merged 6 commits into
glue-viz:mainfrom
astrofrog:hips-compute-statistic
Jun 25, 2026
Merged

astrofrog merged 6 commits into
glue-viz:mainfrom
astrofrog:hips-compute-statistic

Conversation

@astrofrog

Copy link
Copy Markdown
Member

Some of these fixes could maybe be moved upstream to glue-core

…a resolution that bounds the amount of data loaded, so profiles and histograms of subsets work and match the full resolution shape
… the subset centre and a chunked fallback instead of materialising the mask over the whole full resolution array
… reading the bounding box and mask directly from their slices instead of evaluating SliceSubsetState.to_mask which allocates a full resolution array
… channels using the per level WCS instead of the shape ratio, since the spectral axis is not downsampled by a clean factor between levels
…able that modifies the WCS used as coords, while keeping the original WCS for the multi-resolution mapping
… tile, and select level cells overlapping a slice rather than requiring an exact coordinate match, so single-pixel profiles are not empty on deep pyramids
@astrofrog
astrofrog marked this pull request as ready for review June 25, 2026 10:15
@astrofrog
astrofrog merged commit 18e2d22 into glue-viz:main Jun 25, 2026
16 checks passed
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