Skip to content

Commit 05072c4

Browse files
authored
Merge pull request #2470 from willend/main
Various doc fixes etc toward release 3.7.0
2 parents 67ecb0d + 3e12e33 commit 05072c4

29 files changed

Lines changed: 187 additions & 50 deletions

File tree

CHANGES_McStas

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,63 @@
6161
* Modified by: PW December 2025: version 3.6.1
6262
* Modified by: PW January 2026: version 3.6.5
6363
* Modified by: PW April 2026: version 3.6.14
64+
* Modified by: PW May 2026: version 3.7.0
6465
*
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.
6667
* It gives a 'changes' list from the beginning of the project
6768
*
6869
*******************************************************************************/
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+
69121
Changes in McStas/McXtrace 3.6.14, April 12th, 2026
70122
## What's Changed
71123

CHANGES_McXtrace

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,57 @@
1515
*
1616
* Documentation: CHANGES_McXtrace
1717
*************************************************************************/
18+
Changes in McStas/McXtrace 3.7.0, May 21st, 2026
19+
20+
## What's Changed
21+
22+
### Main new developments:
23+
#### Common McStas and McXtrace developments:
24+
* Up to 10 `USERVARS` supported with `Monitor_nD` (named `user0,...,user9`)
25+
* Qt5 → Qt6 across the package and dependencies
26+
* Bugfix: Fix of rare visualisation bug in `mcdisplay`/`mxdisplay` (e.g. box was not allowed as a comp name)
27+
* Doc improvements:
28+
* `mcdoc`/`mxdoc` can render `.tex` and `.md` in addition to `.html`
29+
* Example instruments come with an in-repo `README.md` generated via this mechanism
30+
* 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)
31+
* CI/test improvements:
32+
* `mcdisplay`/`mxdisplay` visualisation is performed as part of `mctest`/`mxtest`runs (→ CI)
33+
* 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
34+
35+
#### McStas specific developments:
36+
* Integrated support for [KDSource](https://github.com/KDSource/KDSource/releases/tag/v0.2.2)
37+
* New component `KDSource`
38+
* 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/)
39+
* Available as automatic dependency on `conda-forge` based installations (including macOS and Windows 'installers'
40+
* Not available as .deb package on Debian systems but may function by installing via pip. <br>**Recommendation**: Just use `conda-forge`.
41+
* Pulse-length adjustment available for `ESS_butterfly`
42+
* Handled via specifically named instrument input parameter and `DEPENDENCY` line
43+
* 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)
44+
* `PowderN` now supports `NCrystal` `cfg`-strings.
45+
* Forwards request to `NCrystal` that populates datastructures without intermediate `.laz/.lau` files
46+
* 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
47+
* Bugfixes:
48+
* Fix to Union, orientation of loggers wrt. master comp
49+
* Bugfixes to recently added improved Union mesh
50+
* Contributions from NBI/KU:
51+
* `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)
52+
* 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)
53+
* [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.
54+
* McStas component manual uses `.tex` snippets from generated via components `mcdoc`
55+
56+
#### McXtrace specific developments:
57+
* 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.
58+
* Test instruments for the new Union processes, both from @ebknudsen
59+
* [PowderCompton_union](https://github.com/mccode-dev/McCode/blob/main/mcxtrace-comps/examples/Tests_union/PowderCompton_union/README.md) - Compton scattering and powder diffraction
60+
* [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
61+
scattering processes.
62+
63+
## New Contributors
64+
* @SSBNS made their first contribution in https://github.com/mccode-dev/McCode/pull/2373
65+
* @AmalieFalkenberg made their first contribution in https://github.com/mccode-dev/McCode/pull/2345
66+
67+
**Full Changelog**: https://github.com/mccode-dev/McCode/compare/v3.6.14...v3.7.0
68+
1869
Changes in McStas/McXtrace 3.6.14, April 12th, 2026
1970
## What's Changed
2071

INSTALL-McStas/Docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Running McStas and McXtrace 3.6.14 in Docker / podman etc.
1+
# Running McStas and McXtrace 3.7.0 in Docker / podman etc.
22

33
The container definition is available at [here](https://github.com/willend/jupyter-remote-desktop-proxy/tree/mcstas-mcxtrace-3.5) and is further on dockerhub under docker.io/mccode/mcstas-mcxtrace
44

INSTALL-McStas/Linux/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Install McStas 3.6.14 on Linux and Unix.
1+
# Install McStas 3.7.0 on Linux and Unix.
22

33
* We provide Debian packages, RedHat packages, and tar.gz's of "preconfigured" source code.
44

INSTALL-McStas/Linux/debian/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Install McStas 3.6.14 On Debian class systems (including Ubuntu, mint etc.):
1+
## Install McStas 3.7.0 On Debian class systems (including Ubuntu, mint etc.):
22
The packages have been tested to work correctly on Ubuntu 24.04.
33

44
# Add the McCode repository
@@ -29,7 +29,7 @@ mcstas-tools-python-mcplot-pyqtgraph - python-tools-mcplot-pyqtgraph built using
2929
mcstas-tools-python-mcrun - python-tools-mcrun built using CMake
3030
```
3131
The meta-package mcstas-suite-python (or mcstas-suite-python-ng)
32-
allows you to install mcstas 3.6.14 with tools (mcrun/mcplot etc.) by
32+
allows you to install mcstas 3.7.0 with tools (mcrun/mcplot etc.) by
3333
the simple apt-get command
3434
```bash
3535
sudo apt-get install mcstas-suite-python

INSTALL-McStas/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation instructions for McStas 3.6.14
1+
# Installation instructions for McStas 3.7.0
22

33
Please consult the individual platform instructions:
44

INSTALL-McStas/Windows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation of McStas 3.6.14 on Windows 64 bit Intel systems (some support for arm64)
1+
# Installation of McStas 3.7.0 on Windows 64 bit Intel systems (some support for arm64)
22
## *IMPORTANT: active internet connection required during installation*
33

44
* Please use either of:
@@ -10,7 +10,7 @@
1010
* Once install has completed, please use the `mcstas-shell` shortcut on the desktop - issue terminal command `mcgui` to start the McStas GUI.
1111
* Option 1 *may* function `arm64` Windows, but will require installation of Visual Studio including both arm64 and x64_64 build tools for c++.
1212
2. **Legacy:**
13-
* install the legacy-style MinGW based [McStas 3.6.14 metapackage](https://download.mcstas.org/mcstas-3.6.14/Windows/McStas-Metapackage-3.6.14-win64.exe)
13+
* install the legacy-style MinGW based [McStas 3.7.0 metapackage](https://download.mcstas.org/mcstas-3.7.0/Windows/McStas-Metapackage-3.7.0-win64.exe)
1414
* Option 2 should be fully functional on `arm64` processors.
1515
3. **WSL:**
1616
* Use the directions available in [WSL](WSL/README.md) to install the "Windows subsystem for Linux" and run the Linux Debian binaries there.

INSTALL-McStas/Windows/WSL/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation of McStas 3.6.14 on Windows 64 bit systems - using WSL
1+
# Installation of McStas 3.7.0 on Windows 64 bit systems - using WSL
22
*(WSL is the Windows Subsystem for Linux, aka. bash on Ubuntu on Windows)*
33

44

@@ -11,7 +11,7 @@ available, but we recommend Ubuntu)
1111
* To open it again later, simply issue bash in a terminal or through
1212
the start menu
1313

14-
## Install the McStas 3.6.14 Debian packages
14+
## Install the McStas 3.7.0 Debian packages
1515
* Follow the
1616
[normal Debian installation instructions](../../Linux/debian/README.md)
1717
- essentially a matter of sudo apt-get install mcstas-suite-python

INSTALL-McStas/conda/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Install McStas 3.6.14 through conda-forge (macOS, Linux or Windows host)
1+
# Install McStas 3.7.0 through conda-forge (macOS, Linux or Windows host)
22

3-
* We a set of conda-packages for installing McStas 3.6.14.x through conda
3+
* We a set of conda-packages for installing McStas 3.7.0.x through conda
44

55
## Get yourself a conda / mamba
66
Due to the complex [licensing situation](https://discuss.scientific-python.org/t/response-to-anaconda-switch-to-paid-plans/1395) with the commercial Anaconda ecosystem, we clearly recommend McStas users to start from an open-source entry-point such as

INSTALL-McStas/macOS/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation of McStas 3.6.14 on macOS
1+
# Installation of McStas 3.7.0 on macOS
22

33
## Supported macOS releases
44
* macOS 11-15 (Big Sur and later, fully supported python tool set. Supported on both Intel and Apple Silicon,
@@ -7,16 +7,16 @@
77
## Steps to perform
88

99
* Download the package:
10-
[McStas 3.6.14 for macOS](https://download.mcstas.org/mcstas-3.6.14/macOS/mcstas-3.6.14-macOS-conda.tar.gz)
10+
[McStas 3.7.0 for macOS](https://download.mcstas.org/mcstas-3.7.0/macOS/mcstas-3.7.0-macOS-conda.tar.gz)
1111
and unpack it (e.g. double-clicking should work).
1212

1313
* Open the relevant folder for your local processor
1414

15-
* Drag the McStas-3.6.14.app to /Applications and right-click + open to start the app:<br/>
15+
* Drag the McStas-3.7.0.app to /Applications and right-click + open to start the app:<br/>
1616
![](screenshots/1_open-mcstas-from-Applications.png?raw=true)
1717

1818
* Depending on your macOS version, security settings may initially prevent the app from opening, example from macOS 15 Sequoia:
19-
- Initial warning that "McStas-3.6.14" was not opened<br/>
19+
- Initial warning that "McStas-3.7.0" was not opened<br/>
2020
![](screenshots/2_mcstas-not-opened.png?raw=true)
2121
- Next, go to System Preferences, Privacy and Security and select to
2222
"Open Anyway"<br/>
@@ -26,9 +26,9 @@
2626
- And finally give your password for installation to proceed<br/>
2727
![](screenshots/5_admin-password.png?raw=true)
2828

29-
* :warning: In case the last warning still does not allow to open the application, you may issue the following command in a Terminal: `sudo xattr -dr com.apple.quarantine /Applications/McStas-3.6.14.app`
29+
* :warning: In case the last warning still does not allow to open the application, you may issue the following command in a Terminal: `sudo xattr -dr com.apple.quarantine /Applications/McStas-3.7.0.app`
3030

31-
* McStas 3.6.14 macOS app bundless are fully based on conda-forge and will "self-inject" all dependencies on first launch. Please follow any on-screen instructions given.
31+
* McStas 3.7.0 macOS app bundless are fully based on conda-forge and will "self-inject" all dependencies on first launch. Please follow any on-screen instructions given.
3232

3333
* In case you have trouble accessing instrument files in certain areas
3434
of your disk, please give the McStas bundle "Full Disk Access"

0 commit comments

Comments
 (0)