spectral_index
Computes spectral index alpha from flux densities at two or more frequencies, returning uncertainty and optional dust-corrected beta.
Instructions
Spectral index alpha (S_nu proportional to nu^alpha) from two or more frequencies.
Two points: alpha = ln(S2/S1) / ln(nu2/nu1), sigma_alpha = sqrt((s1/S1)^2 + (s2/S2)^2) / |ln(nu2/nu1)|. More points: weighted least squares of ln S on ln nu. Each flux error is the statistical error (+) the per-band flux calibration fraction (default 10%) in quadrature, so the absolute alpha error is calibration dominated (about 0.4 for 10% per band on nearby bands). Also returns beta = alpha - 2 (optically thin Rayleigh-Jeans) and, if t_dust_k is given, beta corrected for the Planck curvature: beta = alpha - dlnB/dlnnu. Limits: needs matched uv ranges / beams across bands; optical depth and scattering lower alpha (mimicking grain growth); non-simultaneous data on variable sources bias it.
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": {
"freq_ghz": "<freq_ghz>",
"flux_mjy": "<flux_mjy>"
},
"name": "spectral_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flux_mjy | Yes | ||
| freq_ghz | Yes | ||
| t_dust_k | No | ||
| flux_err_mjy | No | ||
| flux_cal_frac | No |