Skip to content

Fix c-bias error estimation - #408

Open
martinkilbinger wants to merge 2 commits into
CosmoStat:developfrom
martinkilbinger:feat/c-jackknife-error
Open

martinkilbinger wants to merge 2 commits into
CosmoStat:developfrom
martinkilbinger:feat/c-jackknife-error

Conversation

@martinkilbinger

Copy link
Copy Markdown
Contributor

Bug fixes for c-bias error estimation of statistical and jackknife errors.

martinkilbinger and others added 2 commits October 8, 2026 14:33
- statistics.jackknife_weighted_mean: delete-one-patch jackknife of a
  weighted mean.
- survey.additive_bias_errors: shape-noise error sqrt(sum w^2 (e-c)^2)/sum w
  and the patch jackknife error of c1, c2.
- CosmologyValidation.calculate_additive_bias_errors: jackknife over the
  seeded k-means patches of the 2PCF, so the error includes spatially
  correlated contributions (cosmic shear, PSF residuals);
  print_additive_bias writes c with both errors (txt) and with jackknife
  errors in units of 1e-4 (tex).
- _read_shear_cols: column name 'one' gives unit weights (w_col: one).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CosmologyValidation reads a star section for every version; the three
uncalibrated v1.4.6.3 entries (DES, inverse-variance and unit weights)
had none and failed with KeyError 'star'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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