plot_shear_catalog
Create QA plots and summary diagnostics for a fetched shear catalogue to verify ellipticity/weight histograms, z_B, sky footprint, c-terms, sigma_e, n_eff, and per-bin counts.
Instructions
QA plots of a shear catalogue: e1/e2 and weight histograms, z_B, and the sky footprint.
Use right after fetch_shear_catalog to check what was downloaded.
Reports weighted mean e1/e2 (the additive c-terms, ~1e-4..1e-3 for
KiDS), the per-component weighted ellipticity dispersion sigma_e
(~0.27 for KiDS-1000, Giblin+21), the effective number density
n_eff = (sum w)^2 / sum w^2 / area (Heymans+12; ~6-7 arcmin^-2 for
the KiDS-1000 gold sample) and per-bin counts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"catalog_fits": "<catalog_fits>",
"output_dir": "<output_dir>"
},
"name": "plot_shear_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | Yes | Directory where output files are written. | |
| catalog_fits | Yes | Slim FITS from fetch_shear_catalog. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |