|
61 | 61 | * Modified by: PW December 2025: version 3.6.1 |
62 | 62 | * Modified by: PW January 2026: version 3.6.5 |
63 | 63 | * Modified by: PW April 2026: version 3.6.14 |
| 64 | +* Modified by: PW May 2026: version 3.7.0 |
64 | 65 | * |
65 | | -* This file is part of McStas 3.6.14, released April 12th 2026. |
| 66 | +* This file is part of McStas 3.7.0, released May 21st 2026. |
66 | 67 | * It gives a 'changes' list from the beginning of the project |
67 | 68 | * |
68 | 69 | *******************************************************************************/ |
| 70 | +Changes in McStas/McXtrace 3.7.0, May 21st, 2026 |
| 71 | + |
| 72 | +## What's Changed |
| 73 | + |
| 74 | +### Main new developments: |
| 75 | +#### Common McStas and McXtrace developments: |
| 76 | +* Up to 10 `USERVARS` supported with `Monitor_nD` (named `user0,...,user9`) |
| 77 | +* Qt5 → Qt6 across the package and dependencies |
| 78 | +* Bugfix: Fix of rare visualisation bug in `mcdisplay`/`mxdisplay` (e.g. box was not allowed as a comp name) |
| 79 | +* Doc improvements: |
| 80 | + * `mcdoc`/`mxdoc` can render `.tex` and `.md` in addition to `.html` |
| 81 | + * Example instruments come with an in-repo `README.md` generated via this mechanism |
| 82 | + * See e.g. [McStas BNL_H8](https://github.com/mccode-dev/McCode/tree/main/mcstas-comps/examples/BNL/BNL_H8/README.md) or [McXtrace ESRF ID01](https://github.com/mccode-dev/McCode/tree/main/mcxtrace-comps/examples/ESRF/ESRF_ID01/README.md) |
| 83 | +* CI/test improvements: |
| 84 | + * `mcdisplay`/`mxdisplay` visualisation is performed as part of `mctest`/`mxtest`runs (→ CI) |
| 85 | + * See top html files in [McStas](https://new-nightly.mcstas.org/todays-datafiles/) and [McXtrace](https://new-nightly.mcxtrace.org/todays-datafiles/) nightly test runs |
| 86 | + |
| 87 | +#### McStas specific developments: |
| 88 | +* Integrated support for [KDSource](https://github.com/KDSource/KDSource/releases/tag/v0.2.2) |
| 89 | + * New component `KDSource` |
| 90 | + * For usage details, see example instrument [`Test_KDSource`](https://github.com/mccode-dev/McCode/tree/main/mcstas-comps/examples/Tests_MCPL_etc/Test_KDSource/README.md) and the [KDSource documentation website](https://kdsource.readthedocs.io/en/latest/) |
| 91 | + * Available as automatic dependency on `conda-forge` based installations (including macOS and Windows 'installers' |
| 92 | + * Not available as .deb package on Debian systems but may function by installing via pip. <br>**Recommendation**: Just use `conda-forge`. |
| 93 | +* Pulse-length adjustment available for `ESS_butterfly` |
| 94 | + * Handled via specifically named instrument input parameter and `DEPENDENCY` line |
| 95 | + * See example instrument [`ESS_butterfly_Adjustable_Pulse`](https://github.com/mccode-dev/McCode/blob/main/mcstas-comps/examples/ESS/ESS_butterfly_Adjustable_Pulse/README.md) |
| 96 | +* `PowderN` now supports `NCrystal` `cfg`-strings. |
| 97 | + * Forwards request to `NCrystal` that populates datastructures without intermediate `.laz/.lau` files |
| 98 | + * See example instrument [Test_Powders](https://github.com/mccode-dev/McCode/blob/main/mcstas-comps/examples/Tests_samples/Test_Powders/README.md) - `comp=0` mode |
| 99 | +* Bugfixes: |
| 100 | + * Fix to Union, orientation of loggers wrt. master comp |
| 101 | + * Bugfixes to recently added improved Union mesh |
| 102 | +* Contributions from NBI/KU: |
| 103 | + * `Inhomogenous_incoherent_process` in Union from @Lomholy, (via 'tinyexpr' string-expression inputs) - see rel. [test instrument](https://github.com/mccode-dev/McCode/blob/main/mcstas-comps/examples/Tests_union/Test_inhomogenous_process/README.md) |
| 104 | + * New spinwave comp `SpinWave_BCO` from @SSBNS - see rel. [test instrument](https://github.com/mccode-dev/McCode/blob/main/mcstas-comps/examples/Tests_samples/Samples_SpinWave_BCO/README.md) |
| 105 | + * [ESS KVASIR instrument proposal](https://github.com/mccode-dev/McCode/tree/main/mcstas-comps/examples/ESS/ESS_KVASIR/README.md) - backend instrument with MCPL input from BIFROST optic. @AmalieFalkenberg. Includes Jupyter notebook in McStasScript syntax. |
| 106 | +* McStas component manual uses `.tex` snippets from generated via components `mcdoc` |
| 107 | + |
| 108 | +#### McXtrace specific developments: |
| 109 | +* Much improved [Union subsystem for McXtrace](https://github.com/mccode-dev/McCode/tree/main/mcxtrace-comps/union) by @ebknudsen. Makes use of [Xraylib](https://github.com/tschoonj/xraylib/wiki) for Compton and Rayleigh scattering models. |
| 110 | +* Test instruments for the new Union processes, both from @ebknudsen |
| 111 | + * [PowderCompton_union](https://github.com/mccode-dev/McCode/blob/main/mcxtrace-comps/examples/Tests_union/PowderCompton_union/README.md) - Compton scattering and powder diffraction |
| 112 | + * [Test_KN_Comp_Rayl_union](https://github.com/mccode-dev/McCode/blob/main/mcxtrace-comps/examples/Tests_union/Test_KN_Comp_Rayl_union/README.md) - test instrument using Klein-Nishina, Rayleigh, or Compton |
| 113 | +scattering processes. |
| 114 | + |
| 115 | +## New Contributors |
| 116 | +* @SSBNS made their first contribution in https://github.com/mccode-dev/McCode/pull/2373 |
| 117 | +* @AmalieFalkenberg made their first contribution in https://github.com/mccode-dev/McCode/pull/2345 |
| 118 | + |
| 119 | +**Full Changelog**: https://github.com/mccode-dev/McCode/compare/v3.6.14...v3.7.0 |
| 120 | + |
69 | 121 | Changes in McStas/McXtrace 3.6.14, April 12th, 2026 |
70 | 122 | ## What's Changed |
71 | 123 |
|
|
0 commit comments