Skip to content

DiraCulator

Paige Quarterman edited this page Jul 12, 2026 · 1 revision

DiraCulator — materials calculators

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.

In the app

Analyze ▸ DiraCulator — materials calculators… (or Ctrl+K → "dira").

Standalone

diraculator             # browser, calculator-only view
diraculator --desktop   # small native window
qz --calc               # same thing, explicit flag

It 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.

Scripting

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.

Clone this wiki locally