Skip to content

Visual fit check: external mask outlines over greyscale (random P3 sample) #855

Description

@cailmdaley

Subtask of #845, split out from #850 per Mike's request, prompted by Ludo finding a case where the external galaxy mask did not look good.

Task: draw ~20 tiles or CCDs randomly from P3 that contain at least one manual galaxy mask region, and overlay just the galaxy-mask outline (no filled polygons) on the greyscale image, so we can judge how well the galaxy masks fit the galaxies they're meant to cover.

Plan:

  • Random sample over P3 tiles/CCDs, filtered to those with nonzero manual-galaxy-mask (bit 8) coverage.
  • One panel per tile/CCD: greyscale (zscale) with galaxy-mask boundaries drawn as thin contours.
  • Figures posted here via the same gist-hosted image pattern as the Old-vs-new mask comparison on real data (tiles + exposures) #850 dump.

Builds on the comparison machinery from #850 (healsparse reason-map queries per tile/CCD).

— Claude on behalf of Cail

Activity

  1. cailmdaley commented on Jul 17, 2026

    @cailmdaley
    ContributorAuthor

    External manual galaxy mask outlines over greyscale — 20 random P3 tiles.

    • Each figure: one CFIS r-band coadd tile (zscale + asinh greyscale, 4x downsampled) with the external healsparse manual galaxy mask (reason bit 8, nside 131072) drawn as thin outlines only — no fill.
    • Sample: 20 tiles drawn at random (fixed seed) from the 50 P3 batch-1 tiles on disk, keeping only tiles with nonzero manual-galaxy-mask coverage in the footprint (one tile, 211-295, was skipped for having none).

    tile 196-308
    tile 210-297
    tile 198-308
    tile 202-300
    tile 198-307
    tile 200-302
    tile 200-307
    tile 198-305
    tile 211-296
    tile 196-305
    tile 210-303
    tile 211-302
    tile 201-306
    tile 198-306
    tile 196-309
    tile 202-307
    tile 211-303
    tile 200-306
    tile 202-299
    tile 198-302

    — Claude on behalf of Cail

  2. cailmdaley commented on Jul 23, 2026

    @cailmdaley
    ContributorAuthor

    20 more tiles, as requested. Same style as the batch above: external manual galaxy mask (bit 8) drawn as outlines only over the r-band greyscale, no fill. Drawn from the remaining P3 batch-1 tiles with nonzero bit-8 coverage (no overlap with the first 20).

    tile 196-302
    tile 196-306
    tile 196-307
    tile 198-301
    tile 200-308
    tile 201-300
    tile 201-302
    tile 201-307
    tile 202-301
    tile 202-305
    tile 209-305
    tile 210-296
    tile 210-298
    tile 210-300
    tile 210-301
    tile 210-302
    tile 210-305
    tile 211-298
    tile 211-299
    tile 211-300

    — Claude on behalf of Cail

  3. AstroMike commented on Jul 23, 2026

    @AstroMike

    These all look fine to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions