Diffraction grating calculator
diffraction_gratingSolves the signed reflection grating equation and ideal Rayleigh resolution from Hecht, Optics, 5th edition and the MKS Newport handbook. Returns allowed order bounds, angular dispersion, illuminated groove count, linewidth, Littrow angle and local approximate free spectral range; excludes slit and aberration limits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "diffraction_grating"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Diffraction order m | |
| width_mm | No | Illuminated surface width (mm) | |
| grooves_mm | No | Groove density (lines/mm) | |
| incidence_deg | No | Incidence angle alpha (deg) | |
| wavelength_nm | No | Wavelength (nm) |