sp_validation.correlation¶
Layout-independent full-sample means with patched covariance measurements.
- _measurement_configs(config)[source]¶
Return the explicit means settings and default-tolerance patched settings.
- measurement_matches(path, config)[source]¶
Whether a cache records the current means and patched configurations.
- write_measurement_metadata(path, config)[source]¶
Record both TreeCorr configurations beside a cached product.
- measure_with_patches(measure, catalogs, config, means=None)[source]¶
Return means and a patched measurement with distinct TreeCorr settings.
measure(catalogs, config)must return a fresh measurement of the supplied catalogue mapping.configdescribes the means pass, including its explicitbin_slop. The patched pass omitsbin_slopso TreeCorr uses its standard default. A cachedmeanscan be reused for repeated covariance draws of the same catalogue. With no patches, one means-config measurement supplies both products.
- process_gg(config, cat1, cat2=None)[source]¶
Measure GG means with
configand patched resampling at TreeCorr’s default.The shared two-pass mechanism omits
bin_sloponly from the patched configuration. Covariance estimates, including joint and derived-statistic jackknives, retain TreeCorr’s per-patch results. Published pair counts, weights, separations and complex correlations come from the means pass.