plot_counts_vs_prediction
Plots observed cluster counts against LCDM predictions with Poisson errors, residuals, and sigma8 profiles to compare survey data with model outputs.
Instructions
Plot observed cluster N(z) (Poisson errors) against LCDM predictions, with a residual panel and the sigma8 profile if scanned.
Use after predict_cluster_counts_lcdm.
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": {
"output_dir": "<output_dir>",
"prediction_json": "<prediction_json>"
},
"name": "plot_counts_vs_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stem | No | Output file stem. | counts_vs_lcdm |
| output_dir | Yes | Directory for the PNG. | |
| per_unit_z | No | Plot dN/dz instead of N per bin. | |
| prediction_json | Yes | One or more JSON files written by predict_cluster_counts_lcdm (e.g. different sigma8 or surveys). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |