About

About Nimloth and Sindarin

Nimloth and Sindarin are two programs for the analysis of powder X-ray diffraction data. Both are written and maintained by a single author, Guilherme Oliveira Siqueira, a chemist who has worked with X-ray diffraction and Rietveld refinement since 2003.

Sindarin is the calculation engine. It reads an analysis written in a declarative text language, the Sindarin inscription, builds the corresponding model and runs the least-squares refinement. It performs Rietveld refinement, Pawley fitting and profile fitting; describes the instrument by the fundamental parameters approach, including the aberrations of silicon-strip linear detectors; and models microstructure by whole powder pattern modelling (size distributions, dislocations, planar faults) or by double-Voigt functions, alone or together with structural refinement. It runs as a command-line program on Windows, Linux and macOS, and as an extension for Visual Studio Code.

Nimloth is the desktop application built around Sindarin. It adds a script editor with syntax highlighting, completion and live error checking, a personal database of crystal structures with direct import from the Crystallography Open Database, search-match phase identification, diffractogram pre-processing (denoising, background, Kα2 stripping, peak detection) and visualization of the fit, phase by phase. Nimloth runs on Windows and Linux.

Every model implemented in the two programs is documented in the user manual with the reference to the publication it comes from. The manual, worked examples and a public changelog are available from this site.

An independent project

Nimloth and Sindarin are a personal project of the author. Development of Sindarin started in August 2021 and of Nimloth in March 2023, and both have been carried out entirely on the author’s own time and equipment. No funding, staff, facilities or other resources of any university, company or funding agency were used, and the programs are not affiliated with, sponsored by or endorsed by any institution. The author is the sole copyright holder of both programs.

The author also uses the programs in his own research and teaching, in the same way any other analysis software would be used there. That use does not change what the programs are: independent works, made available to their users under the terms below.

License

Nimloth and Sindarin are free of charge for personal, academic, educational, research and other non-profit use, provided that the programs and their author are properly cited. Commercial or for-profit use requires a license obtained from the author. The AI agent functions of Sindarin are licensed separately. The full terms, and the list of the open-source components the programs rely on, are at nimloth.app/licenses.

Citing

If the programs contribute to a published work, please cite them as indicated at nimloth.app/citing.

Privacy

There are no user accounts. The programs transmit only two things: a crash report, sent only when an unhandled error occurs, with the user name removed from file paths and no machine identifiers, which can be turned off in the settings; and the feedback messages you choose to send. When Sindarin is used as an AI agent, your data goes to the AI assistant you choose, under your own account, and not to the author. The privacy policy is at nimloth.app/privacy-policy.

Contact

Questions, suggestions, bug reports and requests for a commercial license: write to nimlothapp@gmail.com, or use Send feedback inside Nimloth.