Skip to main content

SYNCmoss

Mössbauer Spectroscopy Analysis Software

References

Older version can be find https://gitlab.esrf.fr/yaroslav/syncmoss

Related article: Yaroslavtsev S., J. Synchrotron Rad., 2023 doi.org/10.1107/S1600577523001686

To run on Windows and MacOS

go to releases: https://github.com/sergey-yaroslavtsev/syncmoss/releases

download Windows related archieve, extract it, and run .exe

MacOS is not well tested. download MacOS related .dmg, install it, (pay attention to the comment in release)

To run on Linux

# create venv
python -m venv syncmoss
# activate it
source syncmoss/bin/activate
# install latest release syncmoss
pip install syncmoss
# or install directly from the repo
pip install git+https://github.com/sergey-yaroslavtsev/syncmoss.git
# run it (and try to enjoy it) 
syncmoss

Main features

Both kinds of Mössbauer source

  • SMS — synchrotron Mössbauer source (polarized, settable polarization degree) and CMS — conventional radioactive source (unpolarized)
  • Instrumental function found from a spectrum of a standard absorber (single line, α-Fe, or any model, also jointly over several spectra); for SMS also a simulated ⁵⁷FeBO₃ source; for CMS the source line width and the cosine smearing of the source–aperture geometry
  • Each .dat file can carry its own instrumental function

Thick samples and proper handling of polarization

  • Full transmission integral, calculated in parallel on all cores
  • Every model builds a 2x2 cross-section matrix, so absorber thickness, polarization and multi-line interference are treated together
  • Layer marker: stack layers of different orientation or composition, each with its own transmission matrix
  • Magnetic texture: uniaxial order A on every anisotropic component plus the magnetic polar order Am on the Faraday-active ones - a random powder, a textured foil and a single crystal are the same model at different values

Models

  • Singlet, doublet, sextet
  • Full Hamiltonian for the single crystal, mosaic textured and powder cases (one model, three order parameters)
  • 2-state relaxation and many-state superparamagnetic relaxation
  • Anharmonic spin modulation (ASM)
  • MDGD (instead of xVBF https://doi.org/10.1016/j.nimb.2025.165669)
  • SCDW: spin- and charge-density-wave model
  • A measured spectrum used as a component
  • Multi-dimensional functional distributions of any parameter, with correlations
  • Distribution reconstruction with regularization (on testing)
  • Thickness distribution of the sample
  • Expressions and links between parameters
  • Library with import/export - create your own and share it with others, ~50 reference phases included

Fitting

  • Maximum-likelihood fits for Poisson counts, with the exact derivatives of the model
  • Errors and correlation matrix; fit-quality statistics (χ², deviance, misfit) telling a model problem from counting noise
  • Several spectra: sequence (batch) fitting, simultaneous fitting with one model (shared and per-spectrum parameters) or with a model built spectrum by spectrum
  • Components of many spectra (a series or a map): the spectral components found in the data and their amount in every spectrum
  • Exclusion regions: velocity ranges left out of the fit
  • Simulation without a spectrum

Spectra

  • RAW (.mca, .cmca, .ws5, .w98, .moe, .m1, .mcs) and folded .dat files; online fitting along with the experiment (Bliss channel)
  • Velocity calibration with α-Fe (sinusoidal or linear drive), RAW → .dat
  • Each point modelled as the average over its channel's velocity range
  • Sum spectra, subtract a model, create a spectrum from a model

Interface

  • Interactive plot: zoom, components, distributions, a result window per spectrum after a simultaneous fit
  • Results saved as text tables, figures (PNG, SVG) and a ready-to-load model
  • Light and dark themes, built-in help and description of every model

Bug report and Feature request

Both are very welcome — SYNCmoss gets better mainly from user feedback.

When something goes wrong the program opens a report a bug window containing the error message.

Reporting a bug

Please describe the problem and provide all related material:

  • what you did — which button or action created the problem, and what you expected to happen instead;
  • the error message — copy it from the report a bug window (or from the terminal);
  • the spectrum file(s) and the model (.mdl) you were working with — without them most problems cannot be reproduced;
  • the SYNCmoss version and your operating system;
  • a screenshot, if the problem is about what is drawn or displayed.

Requesting a feature

Please describe what exactly is needed: the physics or the workflow behind it, where in the program it should appear, and — if it exists elsewhere — a reference, an article or an example file showing the expected result.

Author

Yaroslavtsev Sergey (ESRF | ADA and ID14)

License

This software is licensed under the MIT License. See LICENSE for details.

Copyright (c) European Synchrotron Radiation Facility (ESRF)

Third-Party Software

This software uses third-party libraries that are distributed under their own licenses:

  • PySide6: LGPL v3.0 (dynamically linked — does not affect MIT licensing of this project)
  • NumPy: BSD 3-Clause License
  • SciPy: BSD 3-Clause License
  • Matplotlib: Matplotlib License (BSD-compatible)
  • Numba: BSD 2-Clause License
  • llvmlite: BSD 2-Clause License (contains LLVM: Apache License 2.0 with LLVM Exceptions)
  • Bliss (optional, not included): LGPL v3.0 — imported only if installed separately (Linux beamline installations), to read spectra online from a Bliss channel; never part of the bundles

For complete third-party license information, see NOTICE.txt. The Windows and macOS bundles also carry the full license text of every third-party package they contain, in a licenses folder; in the program, Supp → License shows all of it.

Metadata

Release files for syncmoss 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for syncmoss 0.8.1
File Size Uploaded Provenance Actions
syncmoss-0.8.1.tar.gz 1.6 MB Without provenance Details for syncmoss-0.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for syncmoss 0.8.1
File Interpreter ABI Platform Actions
syncmoss-0.8.1-py3-none-any.whl Python 3 none any Details for syncmoss-0.8.1-py3-none-any.whl

Total release size: 2.6 MB

Release files / syncmoss-0.8.1.tar.gz

Download URL syncmoss-0.8.1.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
e613d2cf7b05c9418c44c1870d0e34b4483aca6b9883018e63d4247bed80fdc8
BLAKE2b-256 checksum
How to use checksums
a272e007f52865de6d40cb0d127daf0238555a27111b67b00c78f41abd060737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / syncmoss-0.8.1-py3-none-any.whl

Download URL syncmoss-0.8.1-py3-none-any.whl
Size 988.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ee6cb45403e24e8e6389a4b7de202e02237d40b5a11cecde6ccd0251d8b0cae
BLAKE2b-256 checksum
How to use checksums
69fea71b4e6c2980b41e6483b04a3f0c9586bec869ed720b33151cb134c0e9f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for syncmoss 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page