plot_cmb_map
Plot a Mollweide Galactic PNG of a HEALPix CMB map, show masked pixels grey, and report the in-mask pixel RMS after fetching the map.
Instructions
Mollweide (Galactic) PNG of a HEALPix CMB map, with the mask greyed out.
Use after fetch_cmb_map to show the component-separated CMB map. Reports the pixel rms inside the mask.
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>",
"map_file": "<map_file>"
},
"name": "plot_cmb_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmax | No | Colour scale +-vmax in muK. | |
| field | No | 0 = I/T, 1 = Q, 2 = U. | |
| title | No | Plot title (default from the file name). | |
| map_file | Yes | HEALPix map FITS (from fetch_cmb_map). | |
| mask_file | No | Optional mask: masked pixels shown grey. | |
| output_dir | Yes | Directory for the PNG. | |
| smooth_fwhm_arcmin | No | Extra Gaussian smoothing for display (0 = none). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |