plot_shear_correlation
Plot upper-triangle xi_+ and lower-triangle xi_- shear correlations by tomographic bin pair, with diagonal-covariance error bars, to visualize weak-lensing data vectors after fetching them.
Instructions
Triangle-of-bin-pairs plot of xi_+ (upper) and xi_- (lower), as in Amon+22 Fig. 1 / Asgari+21.
Use after fetch_wl_datavector. Each panel is one tomographic bin pair
(i,j); points carry the diagonal-covariance error bars. Works for any
statistic CSV (COSEBIs, band powers, C_ell) - then only the upper
triangle is drawn and x is log-scaled when it spans > 1 decade.
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": {
"xip_csv": "<xip_csv>",
"output_dir": "<output_dir>"
},
"name": "plot_shear_correlation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Title / legend label. | |
| xim_csv | No | Optional xim CSV; drawn in the lower triangle like the DES/KiDS papers. | |
| xip_csv | Yes | CSV from fetch_wl_datavector(statistic='xip'). | |
| output_dir | Yes | Directory where output files are written. | |
| scale_theta | No | Plot theta * xi * 1e4 (paper convention) instead of xi. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |