Skip to content

Keep per-epoch exposure and CCD identity in the final catalog #890

Description

@cailmdaley

The final catalog records how many exposures went into each galaxy's fit (N_EPOCH, NGMIX_N_EPOCH) but not which ones. make_cat.py writes the per-epoch PSF columns by enumeration index and drops the exp_name-ccd_n key that ngmix.py has at fit time, so no CCD, exposure-epoch, or dither-phase split of the shear catalog is possible without rerunning shape measurement.

The Paper II referee asked for exactly such a split of the B-mode null tests; we replied that this information will be recorded for the tomographic catalog.

Add per-epoch exposure ID and CCD number columns — EXP_ID_n, CCD_n for each epoch slot, in the same layout as the existing HSM_*_PSF_n columns — so the catalog supports these splits.

Pointers: src/shapepipe/modules/ngmix_package/ngmix.py:1171-1174 (key available), src/shapepipe/modules/make_cat_package/make_cat.py:602 (key discarded).

Activity

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