plot_covariance
Plot the correlation matrix from a covariance file to inspect off-diagonal structure, such as strong positive correlations between neighbouring angular bins in cosmic shear data.
Instructions
Plot the correlation matrix r_ij = C_ij / sqrt(C_ii C_jj) of a data vector.
Use to inspect off-diagonal structure (strong positive correlation
between neighbouring angular bins and across bin pairs at large theta
is expected for cosmic shear).
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": {
"cov_npy": "<cov_npy>",
"output_dir": "<output_dir>"
},
"name": "plot_covariance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Plot title. | |
| cov_npy | Yes | Covariance .npy from fetch_wl_datavector. | |
| output_dir | Yes | Directory where output files are written. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |