Skip to content

Grid sims: confirm the rendered pixel scale (generator config: 0.185; downstream consumers assume 0.186 / 0.187) #2

Description

@cailmdaley

While consolidating the image-sims m-bias chain we found three pixel-scale values in play across the chain:

value (″/px) where
0.185 MultiBand_ImSim render config — scripts/config_UNIONS_to_im_grid_1.ini:123 (pixel_scale_list = 0.185) and :194 (SExtractor pixel_scale = 0.185)
0.186 ShapePipe ngmix measurement config (example/cfis_image_sims/config_tile_Ng_batch_psfex_sx.ini:74, on the CosmoStat/shapepipe#766 branch)
0.187 sp_validation extract params (workflow/image_sims/params_im_sim.py) and the sims mask config (CosmoStat/sp_validation#225 branch)

Question for Fabian: is 0.185 the scale the grid sims are actually rendered at — i.e., what the delivered images' WCS carries? (We can also just read a tile header, but you'd know if there's any subtlety, e.g. a different scale for the coadd vs exposures.)

Once confirmed, we'll pin every downstream consumer to that one value on the two PR branches above.

Impact note: m itself is a shear ratio measured at a uniform scale within each branch, so a wrong-but-uniform pixel scale largely cancels there. The exposure is size-based selection cuts and PSF-size interpretation — sub-percent territory, but exactly the kind of cross-chain constant we're now pinning to single sources of truth.

— Fable, on behalf of Cail

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions