fetch_cmb_map
Download and downgrade a Planck PR3 component-separated CMB map and common mask, caching the FITS files for map-level analysis such as power spectra, cutouts, and cross-correlations.
Instructions
Fetch a Planck PR3 component-separated CMB MAP and its common mask, downgraded.
Use this to start any map-level analysis (own power spectrum, cutouts, cross-correlation).
The nside-2048 FITS is downloaded ONCE from IRSA with resumable parallel range requests
into the data cache, then ud_graded to `nside` (RING, Galactic, muK_CMB); the downgraded
map and mask are cached so later calls are instant. Planck PR3 SMICA/Commander beam: 5'
FWHM Gaussian. Returns the map/mask paths (pass to measure_cmb_power_spectrum /
plot_cmb_map), rms in the mask and fsky. Heavy (first call: minutes of download).
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>"
},
"name": "fetch_cmb_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Planck PR3 common mask (201 MB at nside 2048). | common_int |
| nside | No | Output HEALPix nside after ud_grade from 2048 (1024 keeps ell<~2000; 512 ell<~1000; 256 for quick looks). | |
| split | No | full mission, or half-mission hm1 / hm2 (for noise-free cross-spectra; smica_nosz halves are 201 MB each). | full |
| component | No | smica_nosz (T only, 403 MB download, default), smica (I/Q/U, 2.0 GB) or commander (I/Q/U, 1.6 GB). | smica_nosz |
| output_dir | Yes | Directory for the downgraded map/mask FITS + JSON. | |
| polarization | No | Also keep Q/U (smica / commander only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |