standardize_sn_salt2
Build a standardized Hubble diagram from per-supernova SALT2 fits, fitting stretch, colour, host-mass step, and intrinsic scatter by maximum likelihood and exporting CSV/JSON.
Instructions
Tripp standardisation: build a Hubble diagram from per-SN SALT2 fits (from catalog to Hubble diagram).
Fits alpha (stretch), beta (colour), gamma (host-mass step at 10^10 Msun) and sigma_int
by maximum likelihood: mu = mB - M + alpha*x1 - beta*c ± gamma/2 - biasCor.
Literature: Pantheon+ alpha~0.15, beta~3.0, gamma~0.05; DES-SN5YR alpha=0.161, beta=3.12, gamma=0.038.
The tool compares the resulting mu with the released Hubble diagram (rms_vs_released_mu should be
~few mmag for Pantheon+ and ~20 mmag for DES, since we use a diagonal approximation).
Uses ONLY per-SN light-curve fit parameters; never published posteriors.
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": "standardize_sn_salt2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Om | No | Fiducial flat-LCDM Om for the distance prior. | |
| zmax | No | Keep z <= zmax. | |
| zmin | No | Keep z > zmin (Pantheon+ cosmology cut is 0.01). | |
| dataset | No | pantheonplus or des5yr. | pantheonplus |
| output_dir | Yes | Directory for the Hubble diagram CSV + summary JSON. | |
| exclude_calibrators | No | Drop Cepheid-host calibrators (IS_CALIBRATOR=1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| status | Yes | ||
| message | Yes | ||
| metadata | Yes |