syncmoss 0.6.0__tar.gz → 0.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_MacOS.yml +20 -2
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_Tests.yml +29 -2
- syncmoss-0.8.0/.github/workflows/_WindowsExe.yml +74 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.gitignore +3 -0
- {syncmoss-0.6.0/syncmoss.egg-info → syncmoss-0.8.0}/PKG-INFO +54 -25
- {syncmoss-0.6.0 → syncmoss-0.8.0}/README.md +53 -24
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/MacOS.spec +3 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/Windows.spec +7 -17
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/bundle.py +0 -1
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/CMS_source_geometry_calibration.py +4 -3
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Calibration.py +144 -54
- syncmoss-0.8.0/syncmoss/Expressions/Thickness PDF, Gamma.mdl +7 -0
- syncmoss-0.8.0/syncmoss/Expressions/Thickness PDF, pressed window (clamped plate).mdl +7 -0
- syncmoss-0.8.0/syncmoss/Expressions/Thickness PDF, pressed window (membrane).mdl +7 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library_io.py +2 -1
- syncmoss-0.8.0/syncmoss/app_paths.py +35 -0
- syncmoss-0.8.0/syncmoss/compile_functions.py +85 -0
- syncmoss-0.8.0/syncmoss/compile_window.py +126 -0
- syncmoss-0.8.0/syncmoss/components_results.py +223 -0
- syncmoss-0.8.0/syncmoss/components_search.py +1648 -0
- syncmoss-0.8.0/syncmoss/components_window.py +1122 -0
- syncmoss-0.8.0/syncmoss/console_io.py +177 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/constants.py +5 -0
- syncmoss-0.8.0/syncmoss/dual_kernels.py +673 -0
- syncmoss-0.8.0/syncmoss/dual_numbers.py +476 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/exclusion_bar.py +6 -1
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/exclusion_regions.py +23 -0
- syncmoss-0.8.0/syncmoss/experimental_features.py +24 -0
- syncmoss-0.8.0/syncmoss/fit_quality.py +493 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/fitting_io.py +100 -19
- syncmoss-0.8.0/syncmoss/frozen_cache_locator.py +40 -0
- syncmoss-0.8.0/syncmoss/hamiltonian_dual.py +293 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/instrumental_io.py +121 -54
- syncmoss-0.8.0/syncmoss/jit_cache.py +196 -0
- syncmoss-0.8.0/syncmoss/main.py +194 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/minimi_lib.py +56 -10
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/model_io.py +96 -23
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/models.py +615 -797
- syncmoss-0.8.0/syncmoss/models_dual.py +797 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/models_positions.py +71 -409
- syncmoss-0.8.0/syncmoss/models_removed.py +763 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/one_model.py +20 -9
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/help.md +63 -6
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/help_extended.md +418 -18
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/models_description.md +25 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters_table.py +202 -101
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/result_window.py +13 -8
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/results_table.py +212 -112
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/sms_theory.py +1 -1
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/spectrum_io.py +91 -34
- syncmoss-0.8.0/syncmoss/spectrum_model.py +66 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/spectrum_plotter.py +49 -39
- syncmoss-0.8.0/syncmoss/spectrum_reference.py +610 -0
- syncmoss-0.8.0/syncmoss/spectrum_reference_window.py +318 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/supp_menu.py +9 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/support_math.py +18 -13
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/syncmoss_main.py +220 -78
- syncmoss-0.8.0/syncmoss/thickness_distribution.py +37 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0/syncmoss.egg-info}/PKG-INFO +54 -25
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss.egg-info/SOURCES.txt +36 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss.egg-info/scm_file_list.json +36 -0
- syncmoss-0.8.0/tests/compile_stand_ins.py +33 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/golden_models.json +48 -119
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/resource_profile.json +895 -315
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/syncmoss_test.py +74 -11
- syncmoss-0.8.0/tests/test_calibrate_menu.py +75 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_calibration.py +37 -6
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_calibration_helpers.py +57 -2
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_channel_average.py +147 -12
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_chi2_spread.py +5 -10
- syncmoss-0.8.0/tests/test_components_search.py +688 -0
- syncmoss-0.8.0/tests/test_console_io.py +56 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_default_settings.py +6 -1
- syncmoss-0.8.0/tests/test_distr_t.py +252 -0
- syncmoss-0.8.0/tests/test_dual_kernels.py +224 -0
- syncmoss-0.8.0/tests/test_dual_numbers.py +234 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_exclusion_gui.py +52 -1
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_exclusion_regions.py +18 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_expressions.py +12 -4
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_fit_core.py +102 -1
- syncmoss-0.8.0/tests/test_fit_quality.py +337 -0
- syncmoss-0.8.0/tests/test_hamiltonian_dual.py +158 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_hamiltonian_texture.py +230 -12
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_instrumental_metadata.py +18 -2
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_instrumental_recentre.py +42 -2
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_interrupt.py +33 -0
- syncmoss-0.8.0/tests/test_jit_cache.py +333 -0
- syncmoss-0.8.0/tests/test_minimi_batch_eval.py +127 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_minimi_covariance.py +30 -12
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_model_io.py +1 -4
- syncmoss-0.8.0/tests/test_models_dual.py +393 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_one_model_expand.py +20 -3
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_one_model_gui.py +77 -5
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_result_window.py +29 -1
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_results_table_rows.py +7 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_save_result_model.py +8 -3
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_sdw_grid.py +32 -1
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_sms_theory.py +23 -12
- syncmoss-0.8.0/tests/test_spectrum_model.py +432 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_support_math.py +32 -10
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_thick_gui.py +20 -1
- syncmoss-0.8.0/tests/test_voigt_complex.py +100 -0
- syncmoss-0.6.0/.github/workflows/_WindowsExe.yml +0 -47
- syncmoss-0.6.0/syncmoss/main.py +0 -74
- syncmoss-0.6.0/tests/test_minimi_batch_eval.py +0 -29
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.gitattributes +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/Tests.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_PyPI.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_TagRelease.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_UploadRelease.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_Version.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/_Wheels.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.github/workflows/release.yml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/.vscode/settings.json +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/COPYING.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/LICENSE +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/Lib_test/test.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/NOTICE.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/SYNCmoss.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/dmg_background.pdf +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/licenses/GPL-3.0.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/licenses/LGPL-3.0.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/macos_bundle.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/bundle/third_party_licenses.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/docs/thick_models.md +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/docs/thick_vs_thin.md +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/pyproject.toml +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/requirements.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/setup.cfg +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Central shift vs temperature.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Hyperfine field in applied field, Langevin.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Hyperfine field vs temperature, Bloch.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Hyperfine field vs temperature, critical.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Hyperfine field vs temperature, empirical.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Lamb-Mossbauer factor vs temperature.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Lifetime from line width.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Neel relaxation time vs temperature.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Paramagnetic quadrupole shift from Hamiltonian.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Quadrupole splitting, doublet.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Expressions/Quadrupole splitting, sextet.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Hamiltonian_helper.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Aegirine.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Akaganeite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Almandine.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Antitaenite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Arsenopyrite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Bornite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Bridgmanite (Fe,Al-bearing) @100 GPa.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Bridgmanite (Fe,Al-bearing).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Celadonite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Cementite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Chalcopyrite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Clinopyroxene (augite).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Copiapite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Cubanite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Epidote.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Fayalite (Fe-olivine).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Ferrihydrite (2-line).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Ferropericlase.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Goethite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Green rust (fougerite, carbonate).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Haegg carbide.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Hedenbergite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Hematite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Heterosite (FePO4).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Ilmenite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Iron phosphide.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Isocubanite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Jarosite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Kamacite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Lepidocrocite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Maghemite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Magnetite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Marcasite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Melanterite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Orthopyroxene (enstatite-ferrosilite).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Prussian blue (ferric ferrocyanide).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Pyrite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Pyrrhotite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Rhomboclase.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Roemerite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Siderite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Szomolnokite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Taenite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Talnakhite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Tetrataenite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Triphylite (LiFePO4).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Troilite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Vivianite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/Voltaite.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library/alpha-Fe (metallic iron, bcc).mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/Library_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/bliss_channel.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/error_reporter.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/expression_eval.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/expressions_io.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/expressions_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/CheckBox.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/CheckBox_.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/CheckBox_L.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/CheckBox_L2.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/DU.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/Switch.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/UD.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/icons/icon_r.ico +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/instrumental_dialogs.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/instrumental_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/legacy.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/license_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/models_description_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/one_spectrum.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/ABSorber3.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/Be.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/Calibration.dat +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/GCMS.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/INS_APS.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/INSexp.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/INSint.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/INSth.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/KB.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/NFS.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/Standard_CMS.dat +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/Standard_SMS.dat +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/parameters/calibr.png +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/spectrum_parameters.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/test_graf.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/test_param.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/theme_dark.json +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss/theme_light.json +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss.egg-info/dependency_links.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss.egg-info/entry_points.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss.egg-info/requires.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/syncmoss.egg-info/top_level.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/README.md +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/conftest.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/Distr_corr.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/Distr_distr.mdl +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/alpha_fe_sms_000.mca +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/calibration_000_golden.json +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/generate_cal_fixtures.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/parameters/Calibration.dat +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/parameters/GCMS.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/parameters/INSexp.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/parameters/INSint.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/parameters/INSth.txt +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/synthetic_alpha_fe_cms_linear.mca +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/data/synthetic_alpha_fe_cms_sinus.mca +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/profile_resources.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_baseline_polynomial.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_bliss_channel.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_calculation_time.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_calibration_path.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_cms_source_geometry_calibration.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_contact_author.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_cosine_smearing.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_create_spectrum_from_model.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_distr_composition.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_distr_expansion.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_distr_mdl.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_distr_targets.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_distr_text_references.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_error_reporter.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_exclusion_fit.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_expression_fit_start.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_expression_validation.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_find_bar.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_fit_one_spectrum.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_golden_models.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_gui_smoke.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_impurity_presets.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_instrumental_joint.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_instrumental_method_choice.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_instrumental_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_integral_points.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_legacy.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_library_dir.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_library_io.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_license_window.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_link_chains.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_minimi_bounds.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_model_append.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_model_only_mode.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_model_pointwise.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_nbaseline_multidistr.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_nbaseline_results.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_node_sum_reuse.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_overwrite_dat_instrumental.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_parameter_links.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_polarization.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_recon_composition.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_recon_mdl.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_recon_results.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_recon_variants.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_reference_shift.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_replaced_component_skip.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_results_table_image.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_search_guards.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_source_norm.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_spectrum_parameters.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_table_marks.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_take_result.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_texture_s1.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/test_theory_search.py +0 -0
- {syncmoss-0.6.0 → syncmoss-0.8.0}/tests/worker_plan.py +0 -0
|
@@ -83,10 +83,13 @@ jobs:
|
|
|
83
83
|
# wheels. The pin applies to BOTH architectures: the universal2 app holds
|
|
84
84
|
# one copy of the pure-Python code, so the two builds must resolve the
|
|
85
85
|
# same versions (checked again before the merge). --only-binary stops pip
|
|
86
|
-
# from quietly building an sdist on one architecture only.
|
|
86
|
+
# from quietly building an sdist on one architecture only. certifi comes
|
|
87
|
+
# preinstalled with the runner's Python, at the version of each runner
|
|
88
|
+
# image (they differ), and pip never upgrades an installed package by
|
|
89
|
+
# itself: --upgrade gives both the latest.
|
|
87
90
|
- name: Install dependencies
|
|
88
91
|
run: |
|
|
89
|
-
python -m pip install --upgrade pip setuptools wheel
|
|
92
|
+
python -m pip install --upgrade pip setuptools wheel certifi
|
|
90
93
|
python -m pip install --only-binary=:all: "numba==0.62.1" -r requirements.txt pyinstaller wheels/*.whl
|
|
91
94
|
python -m pip list --format=freeze
|
|
92
95
|
|
|
@@ -127,10 +130,19 @@ jobs:
|
|
|
127
130
|
|
|
128
131
|
# Runs each architecture natively (the x86_64 slice is never exercised
|
|
129
132
|
# later). After archiving, so nothing the test writes reaches the artifact.
|
|
133
|
+
# --test is a first start: a plain fit before anything is compiled, the
|
|
134
|
+
# compiling, the GUI smoke flow (main.py).
|
|
130
135
|
- name: Smoke-test the frozen app
|
|
131
136
|
run: |
|
|
132
137
|
"${APP_PATH}/Contents/MacOS/SYNCmoss" --test
|
|
133
138
|
|
|
139
|
+
# A second start of the same app: it must find everything compiled (in
|
|
140
|
+
# ~/Library/Application Support/SYNCmoss/numba_cache) and fit at least
|
|
141
|
+
# twice as fast as the first start's fit before the compiling.
|
|
142
|
+
- name: Second start of the frozen app
|
|
143
|
+
run: |
|
|
144
|
+
"${APP_PATH}/Contents/MacOS/SYNCmoss" --test-again
|
|
145
|
+
|
|
134
146
|
universal2:
|
|
135
147
|
name: Merge, sign and notarize the universal2 app
|
|
136
148
|
needs: build
|
|
@@ -380,6 +392,12 @@ jobs:
|
|
|
380
392
|
ditto dist/universal2/SYNCmoss.app "${RUNNER_TEMP}/smoke/SYNCmoss.app"
|
|
381
393
|
"${RUNNER_TEMP}/smoke/SYNCmoss.app/Contents/MacOS/SYNCmoss" --test
|
|
382
394
|
|
|
395
|
+
# A second start of that copy: everything found compiled, the fit at
|
|
396
|
+
# least twice as fast as the first start's before the compiling.
|
|
397
|
+
- name: Second start of the signed universal2 app
|
|
398
|
+
run: |
|
|
399
|
+
"${RUNNER_TEMP}/smoke/SYNCmoss.app/Contents/MacOS/SYNCmoss" --test-again
|
|
400
|
+
|
|
383
401
|
# The drag-and-drop installer window, built as crispy's
|
|
384
402
|
# package/create-dmg.sh does: a writable image holding the app, a link to
|
|
385
403
|
# /Applications, the background picture (bundle/dmg_background.pdf) and
|
|
@@ -7,10 +7,11 @@ name: _Tests (Linux / Windows / macOS)
|
|
|
7
7
|
# quickly.
|
|
8
8
|
# * release.yml -- before the (expensive) PyInstaller builds. Tests the
|
|
9
9
|
# INSTALLED WHEEL, with no marker filter, so nothing is
|
|
10
|
-
# skipped in a release
|
|
10
|
+
# skipped in a release, and starts the installed program
|
|
11
|
+
# twice (first start compiles, second finds it compiled).
|
|
11
12
|
#
|
|
12
13
|
# Both always run on all three OSes; the two lanes differ only in WHAT is
|
|
13
|
-
# installed and WHICH tests are selected.
|
|
14
|
+
# installed and WHICH tests are selected (plus the two starts of the wheel).
|
|
14
15
|
on:
|
|
15
16
|
workflow_call:
|
|
16
17
|
inputs:
|
|
@@ -107,3 +108,29 @@ jobs:
|
|
|
107
108
|
# which oversubscribes a small CI runner. xdist is installed above
|
|
108
109
|
# only so that this flag parses.
|
|
109
110
|
python -m pytest "$GITHUB_WORKSPACE/tests" -n 0 "${args[@]}"
|
|
111
|
+
|
|
112
|
+
# The installed program started twice, as a user starts it (wheel lane
|
|
113
|
+
# only, i.e. before a release): the first start (--test: a plain fit
|
|
114
|
+
# before anything is compiled, the compiling, the GUI smoke flow), then a
|
|
115
|
+
# second one, which must find everything compiled -- numba_cache/ in the
|
|
116
|
+
# installed package -- and fit at least twice as fast (--test-again).
|
|
117
|
+
# The smoke driver is not in the wheel: it comes from the checkout.
|
|
118
|
+
- name: First start of the installed program
|
|
119
|
+
if: inputs.install == 'wheel'
|
|
120
|
+
shell: bash
|
|
121
|
+
env:
|
|
122
|
+
QT_QPA_PLATFORM: offscreen
|
|
123
|
+
PYTHONPATH: ${{ github.workspace }}/tests
|
|
124
|
+
run: |
|
|
125
|
+
cd "$(mktemp -d)"
|
|
126
|
+
syncmoss --test
|
|
127
|
+
|
|
128
|
+
- name: Second start of the installed program
|
|
129
|
+
if: inputs.install == 'wheel'
|
|
130
|
+
shell: bash
|
|
131
|
+
env:
|
|
132
|
+
QT_QPA_PLATFORM: offscreen
|
|
133
|
+
PYTHONPATH: ${{ github.workspace }}/tests
|
|
134
|
+
run: |
|
|
135
|
+
cd "$(mktemp -d)"
|
|
136
|
+
syncmoss --test-again
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: _Windows (PyInstaller executable)
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
windows_pyinstaller:
|
|
8
|
+
runs-on: windows-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v6
|
|
11
|
+
|
|
12
|
+
- uses: actions/setup-python@v6
|
|
13
|
+
with:
|
|
14
|
+
python-version: "3.13"
|
|
15
|
+
cache: "pip"
|
|
16
|
+
|
|
17
|
+
- name: Download wheel artifact
|
|
18
|
+
uses: actions/download-artifact@v6
|
|
19
|
+
with:
|
|
20
|
+
name: wheels
|
|
21
|
+
path: wheels
|
|
22
|
+
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: |
|
|
25
|
+
python -m pip install --upgrade pip setuptools wheel
|
|
26
|
+
pip install -r requirements.txt
|
|
27
|
+
# PowerShell does NOT expand a glob when calling a native command, so
|
|
28
|
+
# `pip install wheels/*.whl` handed pip the literal string and failed --
|
|
29
|
+
# silently, because the step's exit code came from the last line. Resolve
|
|
30
|
+
# the path in PowerShell instead.
|
|
31
|
+
pip install (Get-ChildItem wheels/*.whl).FullName
|
|
32
|
+
pip install pyinstaller
|
|
33
|
+
|
|
34
|
+
- name: Build with PyInstaller
|
|
35
|
+
run: python bundle/bundle.py
|
|
36
|
+
|
|
37
|
+
# Before the smoke test, so nothing it writes next to the executable (the
|
|
38
|
+
# compiled functions, numba_cache/) reaches the artifact.
|
|
39
|
+
- name: Upload Windows executable
|
|
40
|
+
uses: actions/upload-artifact@v5
|
|
41
|
+
with:
|
|
42
|
+
name: windows-executable-pyinstaller
|
|
43
|
+
path: bundle/Windows/SYNCmoss/**
|
|
44
|
+
retention-days: 5
|
|
45
|
+
|
|
46
|
+
# The pytest suite already ran on Windows in _Tests.yml (before this job);
|
|
47
|
+
# here we only self-test the frozen executable via the bundled smoke driver.
|
|
48
|
+
# --test is a first start: a plain fit before anything is compiled, the
|
|
49
|
+
# compiling, the GUI smoke flow (main.py).
|
|
50
|
+
#
|
|
51
|
+
# SYNCmoss.exe is a GUI-subsystem build, so PowerShell does NOT wait for
|
|
52
|
+
# it and leaves $LASTEXITCODE unset. Start-Process -Wait -PassThru waits
|
|
53
|
+
# and reports the real exit code; the redirected stdout/stderr are valid
|
|
54
|
+
# handles that the program prints into (syncmoss/console_io.py).
|
|
55
|
+
- name: Run smoke test on frozen executable
|
|
56
|
+
timeout-minutes: 30
|
|
57
|
+
run: |
|
|
58
|
+
$run = Start-Process -FilePath bundle\Windows\SYNCmoss\SYNCmoss.exe -ArgumentList '--test' `
|
|
59
|
+
-Wait -PassThru -RedirectStandardOutput first.out -RedirectStandardError first.err
|
|
60
|
+
Get-Content first.out, first.err -ErrorAction SilentlyContinue | Write-Host
|
|
61
|
+
Write-Host "exit code: $($run.ExitCode)"
|
|
62
|
+
exit $run.ExitCode
|
|
63
|
+
|
|
64
|
+
# A second start of the same executable: it must find everything compiled
|
|
65
|
+
# (numba_cache/ next to it) and fit at least twice as fast as the first
|
|
66
|
+
# start's fit before the compiling.
|
|
67
|
+
- name: Second start of the frozen executable
|
|
68
|
+
timeout-minutes: 10
|
|
69
|
+
run: |
|
|
70
|
+
$run = Start-Process -FilePath bundle\Windows\SYNCmoss\SYNCmoss.exe -ArgumentList '--test-again' `
|
|
71
|
+
-Wait -PassThru -RedirectStandardOutput second.out -RedirectStandardError second.err
|
|
72
|
+
Get-Content second.out, second.err -ErrorAction SilentlyContinue | Write-Host
|
|
73
|
+
Write-Host "exit code: $($run.ExitCode)"
|
|
74
|
+
exit $run.ExitCode
|
|
@@ -140,6 +140,9 @@ bundle/Windows/
|
|
|
140
140
|
|
|
141
141
|
# The user's saved settings (Supp -> Save settings as default): never shipped
|
|
142
142
|
syncmoss/parameters/config.json
|
|
143
|
+
# numba's compiled functions (syncmoss/jit_cache.py): the machine's own
|
|
144
|
+
syncmoss/numba_cache/
|
|
145
|
+
syncmoss/numba_cache_time/
|
|
143
146
|
|
|
144
147
|
# fitting results
|
|
145
148
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: syncmoss
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: SYNCmoss — Mössbauer spectroscopy analysis application
|
|
5
5
|
Author: Sergey Yaroslavtsev
|
|
6
6
|
License: MIT
|
|
@@ -71,38 +71,67 @@ syncmoss
|
|
|
71
71
|
|
|
72
72
|
## Main features
|
|
73
73
|
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
|
|
77
|
-
*
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*
|
|
82
|
-
* MDGD model (instead of xVBF https://doi.org/10.1016/j.nimb.2025.165669)
|
|
83
|
-
* SCDW: spin- and charge-density-wave model
|
|
84
|
-
* Multi-dimensional distributions with correlations (not reconstruction but functional)
|
|
85
|
-
* Distribution reconstruction with regularization (on testing)
|
|
86
|
-
* Expressions (which could be linked to parameters)
|
|
87
|
-
* Online (along with experiment) fitting
|
|
88
|
-
* Parallel calculations of full-transmission integral
|
|
89
|
-
* Library with import/export - create your own and share it with others, ~50 reference phases included
|
|
90
|
-
* Interactive spectrum image
|
|
91
|
-
|
|
74
|
+
*Both kinds of Mössbauer source*
|
|
75
|
+
* SMS — synchrotron Mössbauer source (polarized, settable polarization degree)
|
|
76
|
+
and CMS — conventional radioactive source (unpolarized)
|
|
77
|
+
* Instrumental function found from a spectrum of a standard absorber (single
|
|
78
|
+
line, α-Fe, or any model, also jointly over several spectra); for SMS also a
|
|
79
|
+
simulated ⁵⁷FeBO₃ source; for CMS the source line width and the cosine
|
|
80
|
+
smearing of the source–aperture geometry
|
|
81
|
+
* Each `.dat` file can carry its own instrumental function
|
|
92
82
|
|
|
93
83
|
*Thick samples and proper handling of polarization*
|
|
94
|
-
*
|
|
95
|
-
|
|
96
|
-
together
|
|
97
|
-
* Works in both source modes: polarized SMS
|
|
98
|
-
(with a settable linear polarization degree)
|
|
99
|
-
and unpolarized CMS
|
|
84
|
+
* Full transmission integral, calculated in parallel on all cores
|
|
85
|
+
* Every model builds a 2x2 cross-section matrix, so absorber thickness,
|
|
86
|
+
polarization and multi-line interference are treated together
|
|
100
87
|
* `Layer` marker: stack layers of different orientation or composition, each with
|
|
101
88
|
its own transmission matrix
|
|
102
89
|
* Magnetic texture: uniaxial order `A` on every anisotropic component plus the
|
|
103
90
|
magnetic polar order `Am` on the Faraday-active ones - a random powder,
|
|
104
91
|
a textured foil and a single crystal are the same model at different values
|
|
105
92
|
|
|
93
|
+
*Models*
|
|
94
|
+
* Singlet, doublet, sextet
|
|
95
|
+
* Full Hamiltonian for the single crystal, mosaic textured and powder cases (one
|
|
96
|
+
model, three order parameters)
|
|
97
|
+
* 2-state relaxation and many-state superparamagnetic relaxation
|
|
98
|
+
* Anharmonic spin modulation (ASM)
|
|
99
|
+
* MDGD (instead of xVBF https://doi.org/10.1016/j.nimb.2025.165669)
|
|
100
|
+
* SCDW: spin- and charge-density-wave model
|
|
101
|
+
* A measured spectrum used as a component
|
|
102
|
+
* Multi-dimensional functional distributions of any parameter, with correlations
|
|
103
|
+
* Distribution reconstruction with regularization (on testing)
|
|
104
|
+
* Thickness distribution of the sample
|
|
105
|
+
* Expressions and links between parameters
|
|
106
|
+
* Library with import/export - create your own and share it with others, ~50
|
|
107
|
+
reference phases included
|
|
108
|
+
|
|
109
|
+
*Fitting*
|
|
110
|
+
* Maximum-likelihood fits for Poisson counts, with the exact derivatives of
|
|
111
|
+
the model
|
|
112
|
+
* Errors and correlation matrix; fit-quality statistics (χ², deviance,
|
|
113
|
+
misfit) telling a model problem from counting noise
|
|
114
|
+
* Several spectra: sequence (batch) fitting, simultaneous fitting with one model
|
|
115
|
+
(shared and per-spectrum parameters) or with a model built spectrum by
|
|
116
|
+
spectrum
|
|
117
|
+
* Components of many spectra (a series or a map): the spectral components
|
|
118
|
+
found in the data and their amount in every spectrum
|
|
119
|
+
* Exclusion regions: velocity ranges left out of the fit
|
|
120
|
+
* Simulation without a spectrum
|
|
121
|
+
|
|
122
|
+
*Spectra*
|
|
123
|
+
* RAW (`.mca`, `.cmca`, `.ws5`, `.w98`, `.moe`, `.m1`, `.mcs`) and folded `.dat`
|
|
124
|
+
files; online fitting along with the experiment (Bliss channel)
|
|
125
|
+
* Velocity calibration with α-Fe (sinusoidal or linear drive), RAW → `.dat`
|
|
126
|
+
* Each point modelled as the average over its channel's velocity range
|
|
127
|
+
* Sum spectra, subtract a model, create a spectrum from a model
|
|
128
|
+
|
|
129
|
+
*Interface*
|
|
130
|
+
* Interactive plot: zoom, components, distributions, a result window per
|
|
131
|
+
spectrum after a simultaneous fit
|
|
132
|
+
* Results saved as text tables, figures (PNG, SVG) and a ready-to-load model
|
|
133
|
+
* Light and dark themes, built-in help and description of every model
|
|
134
|
+
|
|
106
135
|
## Bug report and Feature request
|
|
107
136
|
|
|
108
137
|
Both are very welcome — SYNCmoss gets better mainly from user feedback.
|
|
@@ -38,38 +38,67 @@ syncmoss
|
|
|
38
38
|
|
|
39
39
|
## Main features
|
|
40
40
|
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
*
|
|
49
|
-
* MDGD model (instead of xVBF https://doi.org/10.1016/j.nimb.2025.165669)
|
|
50
|
-
* SCDW: spin- and charge-density-wave model
|
|
51
|
-
* Multi-dimensional distributions with correlations (not reconstruction but functional)
|
|
52
|
-
* Distribution reconstruction with regularization (on testing)
|
|
53
|
-
* Expressions (which could be linked to parameters)
|
|
54
|
-
* Online (along with experiment) fitting
|
|
55
|
-
* Parallel calculations of full-transmission integral
|
|
56
|
-
* Library with import/export - create your own and share it with others, ~50 reference phases included
|
|
57
|
-
* Interactive spectrum image
|
|
58
|
-
|
|
41
|
+
*Both kinds of Mössbauer source*
|
|
42
|
+
* SMS — synchrotron Mössbauer source (polarized, settable polarization degree)
|
|
43
|
+
and CMS — conventional radioactive source (unpolarized)
|
|
44
|
+
* Instrumental function found from a spectrum of a standard absorber (single
|
|
45
|
+
line, α-Fe, or any model, also jointly over several spectra); for SMS also a
|
|
46
|
+
simulated ⁵⁷FeBO₃ source; for CMS the source line width and the cosine
|
|
47
|
+
smearing of the source–aperture geometry
|
|
48
|
+
* Each `.dat` file can carry its own instrumental function
|
|
59
49
|
|
|
60
50
|
*Thick samples and proper handling of polarization*
|
|
61
|
-
*
|
|
62
|
-
|
|
63
|
-
together
|
|
64
|
-
* Works in both source modes: polarized SMS
|
|
65
|
-
(with a settable linear polarization degree)
|
|
66
|
-
and unpolarized CMS
|
|
51
|
+
* Full transmission integral, calculated in parallel on all cores
|
|
52
|
+
* Every model builds a 2x2 cross-section matrix, so absorber thickness,
|
|
53
|
+
polarization and multi-line interference are treated together
|
|
67
54
|
* `Layer` marker: stack layers of different orientation or composition, each with
|
|
68
55
|
its own transmission matrix
|
|
69
56
|
* Magnetic texture: uniaxial order `A` on every anisotropic component plus the
|
|
70
57
|
magnetic polar order `Am` on the Faraday-active ones - a random powder,
|
|
71
58
|
a textured foil and a single crystal are the same model at different values
|
|
72
59
|
|
|
60
|
+
*Models*
|
|
61
|
+
* Singlet, doublet, sextet
|
|
62
|
+
* Full Hamiltonian for the single crystal, mosaic textured and powder cases (one
|
|
63
|
+
model, three order parameters)
|
|
64
|
+
* 2-state relaxation and many-state superparamagnetic relaxation
|
|
65
|
+
* Anharmonic spin modulation (ASM)
|
|
66
|
+
* MDGD (instead of xVBF https://doi.org/10.1016/j.nimb.2025.165669)
|
|
67
|
+
* SCDW: spin- and charge-density-wave model
|
|
68
|
+
* A measured spectrum used as a component
|
|
69
|
+
* Multi-dimensional functional distributions of any parameter, with correlations
|
|
70
|
+
* Distribution reconstruction with regularization (on testing)
|
|
71
|
+
* Thickness distribution of the sample
|
|
72
|
+
* Expressions and links between parameters
|
|
73
|
+
* Library with import/export - create your own and share it with others, ~50
|
|
74
|
+
reference phases included
|
|
75
|
+
|
|
76
|
+
*Fitting*
|
|
77
|
+
* Maximum-likelihood fits for Poisson counts, with the exact derivatives of
|
|
78
|
+
the model
|
|
79
|
+
* Errors and correlation matrix; fit-quality statistics (χ², deviance,
|
|
80
|
+
misfit) telling a model problem from counting noise
|
|
81
|
+
* Several spectra: sequence (batch) fitting, simultaneous fitting with one model
|
|
82
|
+
(shared and per-spectrum parameters) or with a model built spectrum by
|
|
83
|
+
spectrum
|
|
84
|
+
* Components of many spectra (a series or a map): the spectral components
|
|
85
|
+
found in the data and their amount in every spectrum
|
|
86
|
+
* Exclusion regions: velocity ranges left out of the fit
|
|
87
|
+
* Simulation without a spectrum
|
|
88
|
+
|
|
89
|
+
*Spectra*
|
|
90
|
+
* RAW (`.mca`, `.cmca`, `.ws5`, `.w98`, `.moe`, `.m1`, `.mcs`) and folded `.dat`
|
|
91
|
+
files; online fitting along with the experiment (Bliss channel)
|
|
92
|
+
* Velocity calibration with α-Fe (sinusoidal or linear drive), RAW → `.dat`
|
|
93
|
+
* Each point modelled as the average over its channel's velocity range
|
|
94
|
+
* Sum spectra, subtract a model, create a spectrum from a model
|
|
95
|
+
|
|
96
|
+
*Interface*
|
|
97
|
+
* Interactive plot: zoom, components, distributions, a result window per
|
|
98
|
+
spectrum after a simultaneous fit
|
|
99
|
+
* Results saved as text tables, figures (PNG, SVG) and a ready-to-load model
|
|
100
|
+
* Light and dark themes, built-in help and description of every model
|
|
101
|
+
|
|
73
102
|
## Bug report and Feature request
|
|
74
103
|
|
|
75
104
|
Both are very welcome — SYNCmoss gets better mainly from user feedback.
|
|
@@ -25,6 +25,9 @@ hiddenimports += ['PySide6.QtCore', 'PySide6.QtGui', 'PySide6.QtWidgets']
|
|
|
25
25
|
# GUI smoke driver lives in tests/syncmoss_test.py; bundling it lets the frozen
|
|
26
26
|
# binary self-test via `SYNCmoss --test` (see syncmoss/main.py).
|
|
27
27
|
hiddenimports += ['syncmoss_test']
|
|
28
|
+
# numba imports it by the name main.py puts in NUMBA_CACHE_LOCATOR_CLASSES
|
|
29
|
+
# (syncmoss/jit_cache.py); no module imports it.
|
|
30
|
+
hiddenimports += ['syncmoss.frozen_cache_locator']
|
|
28
31
|
|
|
29
32
|
# llvmlite carries native data/bitcode that must be collected.
|
|
30
33
|
llvmlite_data = collect_data_files('llvmlite')
|
|
@@ -23,6 +23,9 @@ hiddenimports += ['PySide6.QtCore', 'PySide6.QtGui', 'PySide6.QtWidgets']
|
|
|
23
23
|
# GUI smoke driver lives in tests/syncmoss_test.py; bundling it lets the frozen
|
|
24
24
|
# binary self-test via `SYNCmoss --test` (see syncmoss/main.py).
|
|
25
25
|
hiddenimports += ['syncmoss_test']
|
|
26
|
+
# numba imports it by the name main.py puts in NUMBA_CACHE_LOCATOR_CLASSES
|
|
27
|
+
# (syncmoss/jit_cache.py); no module imports it.
|
|
28
|
+
hiddenimports += ['syncmoss.frozen_cache_locator']
|
|
26
29
|
|
|
27
30
|
# scipy is only needed for scipy.linalg.eig (the import-time "dummy" in
|
|
28
31
|
# models.py); scipy_excludes below drops the big unused subpackages.
|
|
@@ -96,7 +99,10 @@ a.datas += license_datas(a)
|
|
|
96
99
|
|
|
97
100
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|
98
101
|
|
|
99
|
-
# ──
|
|
102
|
+
# ── The one exe: GUI subsystem (no console window on a double-click) ──
|
|
103
|
+
# Started from a terminal it prints there, with --console into a console
|
|
104
|
+
# window of its own (syncmoss/console_io.py); there is no separate console
|
|
105
|
+
# exe any more.
|
|
100
106
|
exe_gui = EXE(
|
|
101
107
|
pyz,
|
|
102
108
|
a.scripts,
|
|
@@ -111,24 +117,8 @@ exe_gui = EXE(
|
|
|
111
117
|
icon=os.path.join(syncmoss_dir, 'icons', 'icon_r.ico'),
|
|
112
118
|
)
|
|
113
119
|
|
|
114
|
-
# ── Console/debug exe ──────────────────────────────────────────
|
|
115
|
-
exe_console = EXE(
|
|
116
|
-
pyz,
|
|
117
|
-
a.scripts,
|
|
118
|
-
[],
|
|
119
|
-
exclude_binaries=True,
|
|
120
|
-
name='SYNCmoss_console',
|
|
121
|
-
debug=True,
|
|
122
|
-
bootloader_ignore_signals=False,
|
|
123
|
-
strip=False,
|
|
124
|
-
upx=True,
|
|
125
|
-
console=True,
|
|
126
|
-
icon=os.path.join(syncmoss_dir, 'icons', 'icon_r.ico'),
|
|
127
|
-
)
|
|
128
|
-
|
|
129
120
|
coll = COLLECT(
|
|
130
121
|
exe_gui,
|
|
131
|
-
exe_console,
|
|
132
122
|
a.binaries,
|
|
133
123
|
a.zipfiles,
|
|
134
124
|
a.datas,
|
|
@@ -45,8 +45,8 @@ import numpy as np
|
|
|
45
45
|
|
|
46
46
|
import syncmoss.minimi_lib as mi
|
|
47
47
|
import syncmoss.models as m5
|
|
48
|
-
from syncmoss.Calibration import (Calibration, MulCoCMS, _fold_sinusoidal, _fold_triangular,
|
|
49
|
-
_raw_drive, _write_calibration_dat)
|
|
48
|
+
from syncmoss.Calibration import (Calibration, MulCoCMS, _fold_offset, _fold_sinusoidal, _fold_triangular,
|
|
49
|
+
_load_raw_counts, _raw_drive, _write_calibration_dat)
|
|
50
50
|
from syncmoss.constants import ALPHA_FE_FIELD, NAT_WIDTH, number_of_baseline_parameters as NB
|
|
51
51
|
from syncmoss.instrumental_io import compute_norm, drive_rest_velocity, r_ratio_of, write_gcms_file
|
|
52
52
|
from syncmoss.spectrum_io import estimate_edge_background, load_spectrum
|
|
@@ -352,7 +352,8 @@ def calibrate_source(params_dir, files, pool, JN, vel_start, G, dtheta, diameter
|
|
|
352
352
|
for raw, fit in ((alpha_raw, model[:n_ch]), (line_raw, model[n_ch:]))]
|
|
353
353
|
alpha, line = folded(JN)
|
|
354
354
|
v_f, n1, n2 = alpha[0], alpha[4], alpha[5]
|
|
355
|
-
_write_calibration_dat(params_dir, details['method'], n1, n2, v_f, alpha[1]
|
|
355
|
+
_write_calibration_dat(params_dir, details['method'], n1, n2, v_f, alpha[1],
|
|
356
|
+
_fold_offset(v_axis, details['method'], q[DRIVE]))
|
|
356
357
|
write_gcms_file(params_dir, G, dtheta, *diameters)
|
|
357
358
|
fine = folded(4 * JN)
|
|
358
359
|
# each spectrum's model with its baseline as folded (two channels to a
|