Peter Willendrup

Results 159 issues of Peter Willendrup

See e.g. http://new-nightly.mcstas.org/2022-10-05/McStas_8GPU_5e7/ViewModISIStest/compile_stdout.txt Solution is to use explicit malloc / free instead of C[Psize] D[Psize]

ready for release
mcstas-3.1

Would be useful for virtual "event formation" in an ESS context.

Found via a fresh homebrew install on an M1 Mac, mcdisplay/mxdisplay breaks with: ``` starting particle parsing ended particle parsing module 'pyqtgraph.Qt.QtGui' has no attribute 'QApplication' ``` mcplot/mxplot breaks with:...

ready for release
mcstas-2.7.1
mcstas-3.1
mcxtrace-1.7
mcxtrace-3.0

@g5t and I have had a nice LeX 'n' Yacc discussion and look at instrument.l/.y/cogen.c and friends, thinking to implement something like ``` COMPONENT A = Something AT (...) FOR...

COGEN3

``` usage: mcdisplay.py [-h] [--default] [--tof] [--dirname DIRNAME] [--inspect INSPECT] [--invcanvas] [-n N] instr [options ...] mcdisplay.py: error: argument -n/--ncount: invalid int value: '1e2' ``` annoying

36 in total: ESS_butterfly_MCPL_test (filter parameter not explained) ESS_butterfly_tfocus_NOFOCUS_test (tfocus parameters not explained) ESS_butterfly_tfocus_test (tfocus parameters not explained) FZJ_BenchmarkSfin2 (most parameters not explained) HZB_FLEX (explanations L3/L4 missing) WOF_SANS (chopper1_flag explanation...

Place holder - complex numbers seems to need some footwork across the code base... https://stackoverflow.com/questions/49055462/complex-double-in-vc

Working with McXtrace (experimental conda-port) on windows - which uses the visual c compiler (`cl.exe`), I have stumbled upon this interesting issue: The instrument ATHENA_cfgA_1mm.instr (and other very similar ones)...

``` python: can't open file 'C:\\Users\\pkwi\\tmp\\$PROGRAMFILES64\\share\\mcstas\\tools\\Python\\mcdoc\\mcdoc.py': [Errno 2] No such file or directory (base) C:\Users\pkwi\tmp> ```

Suggested by @ocefpaf from `conda-forge` in connection with https://github.com/conda-forge/staged-recipes/pull/25503