-
Notifications
You must be signed in to change notification settings - Fork 0
DiraCulator
A calculator suite for materials science, built in. Every formula ports from the MATLAB original or a cited reference, with tests.
Tabs: Units (dimensional conversions + energy↔wavelength, H↔B) · X-ray & Neutron (Bragg d-spacing, Q↔2θ) · Crystal (d-spacings for all 7 systems, cell volume, theoretical density) · SLD (neutron + X-ray scattering length density from a chemical formula, NIST engine) · Elements (periodic table reference) · Constants (CODATA) · Substrates (lattice-mismatch database) · Semiconductors · Superconductors · Magnetism · Electrical transport · Thermal · Optics · Vacuum · Electrochemistry · Diffusion · Thin Film (deposition, Kiessig, Stoney…)
Cross-links move results between tabs (crystal d → X-ray 2θ, formula → SLD → reflectivity model), and a History/Favorites tab remembers your calculations.
Analyze ▸ DiraCulator — materials calculators… (or Ctrl+K → "dira").
diraculator # browser, calculator-only view
diraculator --desktop # small native window
qz --calc # same thing, explicit flagIt serves its own instance and automatically picks a free port if the full app is already running. The Windows installer also adds a DiraCulator Start Menu entry.
The same math is callable headlessly: GET /api/calc/catalog lists ~90
operations across 16 domains; POST /api/calc/call runs one. See the
plugin/API docs in the repo.