From pkwi at fysik.dtu.dk Thu Jul 2 16:50:06 2026 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Thu, 2 Jul 2026 14:50:06 +0000 Subject: [mcstas-users] McStas/McXtrace 3.7.9 released Message-ID: <826E5B72-B0C6-46AF-87AC-6C5BCC80EE5E@dtu.dk> Dear all, Minor update 3.7.9 is out. Changes in McStas/McXtrace 3.7.9, July 2nd, 2026 Release 3.7.9 marks a milestone for McXtrace that finally gets full support for complex number calculations using MSVC on Windows. We further improve the installation experience on Windows by addition of a new install script for downloading and setting up the MSVC compiler tool chain. Install instructions * For McStas 3.7.9 * For McXtrace 3.7.9 What's Changed Common to McStas and McXtrace Platform suppport * Windows * mctest / windows output improvement by @willend in #2505 * batch-script to help install msvc on Windows by @willend in #2505 * Add micromamba clean --all -y in install batches by @willend in #2507 * Improved wording for README and add non-admin option to msvc-install script by @willend in #2508 * Add git when setting up dev-env on Windows by @willend in #2510 * Tools * mctest: * Improvements to mctest tool by @willend in #2511 * More fixes to mctest logic by @willend in #2512 * Add simple infrastructure to mctest for generating plots (when possible) by @willend in #2539 * mcplot-html * Minor tweaks on html plotter and mctest by @willend in #2540 * More minor tweaks mcplot-html by @willend in #2541 * Add mcplot-html batch wrapper for Windows support by @willend in #2542 * Flat / pixellated 2D plots for mcplot-html by @willend in #2544 * mcdisplay: * Pass at key points in mcdisplay particleparser instead of raising exceptions. by @willend in #2516 * mcrun * New --dirsuffix/--dirprefix switches for mcrun/mxrun by @willend in #2533 * Shared lib-codes * Provide SCATTER_func for libraries to replicate SCATTER functionality by @mads-bertelsen in #2535 McStas only * Minor comp / instrument improvements * Exit minus 1 harmonization by @willend in #2503 * Fix for Incoherent component limited order + hollow geometry by @mads-bertelsen in #2506 * Various fixes for FZJ_BenchmarkSfin2/SANS_benchmark2 by @willend in #2517 * ILL_H15_SAM.instr: Common SPLIT=100 at sample(s) ensure ncount >=1e7 by @willend in #2518 * Ensure 1e7 for non-display runs of ILL_H22_D1B by @willend in #2519 * Various fixes for McXtrace and McStas instruments by @willend in #2520 * Various fixes for McXtrace instruments by @willend in #2520 * Added mcdisplay section to FlatEllipse_finite_mirror component by @mads-bertelsen in #2521 * Fix ascii reallocation in Union_mesh by @mads-bertelsen in #2532 * H frielinghaus SANS_benchmark2 input files by @willend in #2536 * Fix #2537: Bug in PSD_monitor_4PI found by BSc. student Christian Thyssen NBI. by @willend in #2538 McXtrace only * General * Support for MSVC (and complex numebers via mccode-complex-lib) on Windows * Comp / instrument improvements * McXtrace: Fix of #1579 for most (if not all) comps/instrs by @willend in #2504 * McXtrace test target updates by @willend in #2515 * Various fixes for McXtrace instruments by @willend in #2520 * Filter.comp is in fact incomplete for refraction and shape != cube. by @willend in #2522 * Temporary hack to avoid McXtrace cif2hkl fct. in Single_crystal on Windows by @willend in #2524 * Windows/cif2hkl issue workaround for Test_PowderN by @willend in #2525 * Various changes to stabilise McXtrace SOLEIL_PX2a tests by @willend in #2526 * More McXtrace tweaks, SOLEIL_PX2a and SOLEIL_PSICHE by @willend in #2527 * Beef up required stats for SOLEIL_PSICHE + adjust target val by @willend in #2528 * McXtrace Enable all tests in Test_Mirrors by @willend in #2529 * Fix header by @willend in #2530 * Fix of McXtrace/mxdisplay of specific instr by @willend in #2533 * Fix filter geometry by @ebknudsen in #2534 * Improve on flexibility of McXtrace Filter.comp input types by @willend in #2543 Full Changelog: v3.7.6...v3.7.9 All the best on behalf of McStas/McXtrace - Peter W Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent DTU Physics [image001.gif] Technical University of Denmark [image002.gif] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Main office at ESS DMSC Building 305 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From pkwi at dtu.dk Sun Aug 16 20:03:51 2026 From: pkwi at dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Sun, 16 Aug 2026 18:03:51 +0000 Subject: [mcstas-users] McStas/McXtrace webserver currently offline Message-ID: <7A5B5975-4850-4523-A64D-723EBD8E8E77@dtu.dk> Dear all, Due to a minor technical mishap the McStas/McXtrace web server is currently offline. Hope to have it back up during monday. Best and sorry for the inconvenience. Peter Willendrup Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent DTU Physics [image001.gif] Technical University of Denmark [image002.gif] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Main office at ESS DMSC Building 305 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From pkwi at dtu.dk Fri Sep 11 15:24:45 2026 From: pkwi at dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Fri, 11 Sep 2026 13:24:45 +0000 Subject: [mcstas-users] New release of McStas/McXtrace, v3.8.4 Message-ID: <2201B956-A59E-4A26-92C4-BFC43A727DF1@dtu.dk> September 11th, 2026: McStas and McXtrace 3.8.4 released Installation * For McStas proceed to the McStas install docs (GitHub) * For McXtrace proceed to the McXtrace install docs (GitHub) Changes in McStas/McXtrace 3.8.4 Covers everything since the last full release, 3.7.9 (July 2, 2026), including all changes already shipped quietly via the intermediate conda-forge releases 3.7.10?3.8.3, and a ground-up rewrite of the McStas/McXtrace manuals. Sorry for any incovenience caused if you installed any of 3.8.1-3... Some doc-details were still not in place! What's Changed - highlights * For a full description of all release content, please visit the project websites or GitHub! Common to McStas and McXtrace Manuals * First full manual makeover since the McStas 2.x / McXtrace 1.x series. T * AI-assisted: reference material and source code (usage articles, grammar/cogen.c, example instruments, component sources, tool CLIs) were given to an AI coding agent to draft the updated text. Given the scale of the rewrite, minor errors/omissions in the manuals are expected ? please flag anything you spot via a GitHub issue * mcdoc's browser-based overview page now also links to per-tool cheat-sheets new standalone Instrument/Component grammar reference pages, all a click away from the component browser. New tooling * New - and updated user tools: * mcrun/mxrun: improved multi-dimensional scan-modes and single-file output when scanning to HDF5/NeXus format * mcplot/mxplot-matplotlib: improvement to presentation and performance * New mcplot-derived tools (for pyqtgraph, matplotlib and HTML output formats) * mcplotdiff/mxplotdiff for plotting differences between two datasets * mccoplot/mxcoplot for plotting 1D datasets together for comparison Code generator, grammar, project infrastructure * Fixes: * RNG correctness fix in presence of SPLIT @mads-bertelsen * Restored option to run with Mersenne Twister on CPU @mads-bertelsen * Add input parameters to base .py instrument @MilanKlausz * Grammar simplification: * COPY(instance) to no longer transfers EXTEND and other advanced attributes * Increased compatibility with mcstas-antlr * Various improvements to CI - including systematic testing against mcstas-antlr McStas only * New instrument: * import of FRMII_SPODI / FRMII_SPODI_MULTI, from MLZ Garching from @kinetik161 et. al. * New instruments: * import of 3 x imaging instruments from various sources (PSI_ICON, Radiography_Lithium_Battery, Radiography_Sword) * New included library mcstas-chopper-lib, from @g5t * Components Masked_ESS_butterfly and NXdisk_chopper, * instruments Masked_ESS_butterfly_image, NXdisk_chopper_display and NXdisk_chopper_image. * All fully integrated with McStas * Various fixes and improvements McXtrace only * Various fixes and improvements to components/instruments New Contributors * @kinetik161 made their first contribution in #2608 * @mads-bertelsen-agentic made their first contribution in #2624 * @MilanKlausz made their first contribution in #2638 All the best on behalf of the McStas-McXtrace team, Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent DTU Physics [image001.gif] Technical University of Denmark [image002.gif] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Main office at ESS DMSC Building 305 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From pkwi at dtu.dk Tue Sep 29 19:42:26 2026 From: pkwi at dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 29 Sep 2026 17:42:26 +0000 Subject: [mcstas-users] Fwd: Postdoc in Focusing Neutron Optics - DTU Energy References: Message-ID: Dear all, Please find below the link for an open Post Doc position at DTU Energy. The position is aimed at the development of focusing neutron optics. Nota Bene: Deadline for application is on October 5th! Best regards, Peter Willendrup Begin forwarded message: From: Luise Theil Kuhn Subject: FW: Postdoc in Focusing Neutron Optics - DTU Energy Date: 31 August 2026 at 12.30.24 CEST Dear All Neutron Microscopy Enthusiasts, Our 2-year postdoc in the Wolter optics project is now open, see the link below. Please, share with anyone you could think would be interested in applying. https://efzu.fa.em2.oraclecloud.com/hcmUI/CandidateExperience/en/sites/CX_2001/job/8040/?utm_medium=jobshare&utm_source=External+Job+Share Thanks. Best wishes, Luise [http://www.dtu.dk/-/media/DTU_Generelt/Andet/mail-signature-logo.png] Luise Theil Kuhn Prof., PhD, Head of Section (Structural Analysis and Modelling) Deputy Head of DTU Energy Dir. +45 46 77 47 12 Mob. +45 51 41 93 71 luku at dtu.dk DTU Energy Fysikvej Building 310, R418 2800 Kgs. Lyngby www.dtu.dk/english Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent DTU Physics [image001.gif] Technical University of Denmark [image002.gif] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Main office at ESS DMSC Building 305 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: