Hydrogen and Rydberg spectrum
hydrogen_spectrumCalculate reduced-mass Rydberg vacuum and standard-air wavelengths, level energies and ionization energies for H, D or a one-electron ion. Supply integer lower and upper levels; custom ions need Z and a bare nuclear mass in kg. Air uses Edlen (1966), dry air at 15 C and 101325 Pa, from 300 to 1700 nm; fine structure and Lamb shifts are excluded.
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": {
"n_lower": "<n_lower>",
"n_upper": "<n_upper>"
},
"name": "hydrogen_spectrum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z | No | Integer nuclear charge 1 to 20, required for ion. | |
| n_lower | Yes | Lower principal quantum number, integer >= 1. | |
| n_upper | Yes | Upper principal quantum number, integer > n_lower and <= 10000. | |
| species | No | H, D or ion; default H. | |
| nuclear_mass_kg | No | Bare nuclear mass in kg, required for ion. |