| Foil | Thickness (μm) | Transmission |
|---|---|---|
| - | ||
| - | ||
| - | ||
| - |
What do you need to do?
Calculators and utilities for recurring beamline work, grouped by the job rather than by the physics. The Index lists all of them by suite.
INDEX
Comprehensive Index of Synchrotron Optics, Beamline Physics & Experimental Suites
Fundamental physical constants and crystal lattice data
CODATA 2022 recommended values. Lattice spacings are quoted at 298.15 K; values marked (exact) are fixed by the SI definitions.
| Symbol | Quantity | Value | Unit |
|---|---|---|---|
| hc | Photon energy-wavelength product | 12398.41984 | eV·Å = 1.239842 keV·nm |
| h | Planck constant | 6.626070 × 10-34 | J·s (exact) |
| ħ | Reduced Planck constant | 1.054572 × 10-34 | J·s |
| c | Speed of light in vacuum | 299,792,458 | m·s-1 (exact) |
| e | Elementary charge | 1.602177 × 10-19 | C (exact) |
| re | Classical electron radius | 2.817940 × 10-15 | m |
| me | Electron rest mass | 9.109384 × 10-31 | kg = 0.5110 MeV/c2 |
| α | Fine-structure constant | 1 / 137.035999 | dimensionless |
| NA | Avogadro constant | 6.022141 × 1023 | mol-1 (exact) |
| kB | Boltzmann constant | 1.380649 × 10-23 | J·K-1 (exact) |
| Crystal d-spacing (298.15 K) | |||
| dSi(111) | Silicon Si(111) | 3.13560 | Å a = 5.43102 Å |
| dGe(111) | Germanium Ge(111) | 3.26636 | Å a = 5.65750 Å |
| dC(111) | Diamond C(111) | 2.05930 | Å a = 3.56683 Å |
XRR segments measured through different absorbers are the same reflectivity times an unknown constant each. Where two segments overlap in angle they measure the same thing, so the point-by-point ratio across the overlap is that constant; its median is used. Each segment is matched against the whole curve assembled so far, so an error does not simply repeat down the chain.
Typing a value into the scale column of the loaded-file table overrides the automatic one; clearing the box hands it back to auto. A segment with no overlap is left at scale 1 and flagged, so a known absorber factor can be entered directly.
Two adjacent minima of the reflectivity curve. Entering the critical angle applies the refraction correction; leaving it at zero gives the plain λ/2Δθ estimate, which reads thick at low angle.
[Alt + 1] |
Jump to RADIOMETRY |
[Alt + 2] |
Jump to OPTICS |
[Alt + 3] |
Jump to GEOMETRY |
[Alt + 4] |
Jump to COHERENCE |
[Alt + 5] |
Jump to DATA |
[Alt + 6] |
Jump to RECORD |
[Alt + 7] |
Jump to SETTINGS |
[Alt + 8] |
Jump to ABOUT |
[Alt + 9] |
Jump to DASHBOARD |
[Alt + 0] |
Jump to CONTENTS |
xray.ooguy
A lightweight toolkit for X-ray experiments.
Version 1.5 · Offline-ready · No account, no server
Handles the calculations an X-ray diffraction experiment needs over and over — Bragg angle, wavelength conversion, lattice spacing, scattering vector — on a single screen, and keeps a light record of session context and logs. It does not replace your lab notebook; it removes the work of redoing the same calculation and retyping the same header every time.
What is inside
- RADIOMETRY
- Photon flux and slit acceptance, absorber stacks, absorbed dose and the exposure-time budget.
- OPTICS
- Energy-wavelength conversion, complex refractive index and transmittance, gratings, energy resolution and thermal drift.
- GEOMETRY
- Bragg angles, lattice d-spacing, reciprocal-space Q, beam footprint, detector geometry and Eulerian cradle correction.
- COHERENCE
- Coherence lengths at the sample, CDI / BCDI oversampling and the real-space resolution the geometry can reach.
- DATA
- Two-column scan files read automatically, XY plotting with a log axis, normalisation, range crop and XRR segment stitching.
- RECORD
- One-click experiment logs with session context, plus a formatted session header ready to paste into an external logbook.
Design principles
- No account, no server, no upload. Everything lives in this browser's localStorage and can be exported or imported as JSON.
- Works without a network. No external libraries, web fonts, or tracking scripts.
- Built for the machines labs actually run — it behaves identically on Firefox 60 ESR under CentOS 7.
- Shows only what you need. Nothing forces you to fill in metadata, and empty fields are a valid state.
Who made it
Started after repeating the same calculations one beamtime too many, to put the tools that were actually needed in one place.
Sources
Physical constants use CODATA recommended values; lattice parameters and scattering factors come from published crystallographic data. Results are meant to support experiment planning and on-site decisions — verify them yourself before using them in a presentation or publication.