plot_mass_redshift
Overlay galaxy-cluster catalogues in the M500–z plane to compare SZ and X-ray selection effects and identify how survey coverage differs across mass and redshift.
Instructions
Overlay several cluster catalogues in the M500-z plane (the standard selection-function picture).
Use to show how SZ (flat-in-M at high z) and X-ray (flux-limited, low z, low mass) selections differ. Only entries with both z and M500 are drawn.
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>",
"catalogs": "<catalogs>"
},
"name": "plot_mass_redshift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stem | No | Output file stem. | mass_redshift |
| z_max | No | Upper x limit. | |
| catalogs | Yes | Harmonised CSVs from fetch_cluster_catalog and/or dataset keys (full catalogue). | |
| log_mass | No | Log M500 axis. | |
| output_dir | Yes | Directory for the PNG. | |
| marker_size | No | Scatter marker size. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |