compute_signal_to_noise
Calculate detection significance from published weak-lensing data vectors and their full covariance; combine statistics with cross-covariance and write a CSV summary.
Instructions
S/N = sqrt(d^T C^-1 d) of the published data vector, using its full covariance.
Use for 'how significant is the detection' questions. Statistics listed together are combined with their cross-covariance (they must live in the same file, e.g. xip+xim, or all four DES 3x2pt blocks). No scale cuts are applied (DES files are uncut), so this is the raw measurement S/N. Writes a CSV summary.
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": {
"datasets": "<datasets>",
"statistics": "<statistics>",
"output_dir": "<output_dir>"
},
"name": "compute_signal_to_noise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasets | Yes | Dataset keys. | |
| output_dir | Yes | Directory where output files are written. | |
| statistics | Yes | Statistics to combine per dataset, e.g. ['xip','xim'] (joint, with cross-covariance). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |