From jdbermudezs at unal.edu.co Thu May 5 20:56:47 2022 From: jdbermudezs at unal.edu.co (Jesus David Bermudez Sanchez) Date: Thu, 5 May 2022 13:56:47 -0500 Subject: [mcxtrace-users] Simulation of a-Se detector in McXtrace 1.6 Message-ID: Hi to all. I am using McXtrace v1.6 to simulate a mamography image of a PMMA phantom. I would like to ask for some ideas/insights on how to simulate the reading of the amorphous Selenium detector present in the real mammography machine. (As realistic as it can gets). I have been using a W_psd_detector, but the simulation results are not that close to the results obtained from the real image. Greetings from Colombia. -- *Aviso legal:*?El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web? www.unal.edu.co .*?*Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdbermudezs at unal.edu.co Mon May 9 21:05:04 2022 From: jdbermudezs at unal.edu.co (Jesus David Bermudez Sanchez) Date: Mon, 9 May 2022 14:05:04 -0500 Subject: [mcxtrace-users] Problems with Component Source_div in McXtrace 3.0 on Binder Message-ID: Hi to all. I wanted to use the component source div, running McXtrace 3.0 on Binder but I got the error shown in the attached image. Any help would be appreciated. Kind Regards. -- *Aviso legal:*?El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web? www.unal.edu.co .*?*Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdbermudezs at unal.edu.co Mon May 9 21:47:28 2022 From: jdbermudezs at unal.edu.co (Jesus David Bermudez Sanchez) Date: Mon, 9 May 2022 14:47:28 -0500 Subject: [mcxtrace-users] Problems with some Components in McXtrace 3.0 on Binder Message-ID: Hi to all. I wanted to use the components Source_div, Filter and W_psd_monitor in McXtrace 3.0 on Binder, but I got the message inside the file: error-McXtrace-Binder.txt I am attaching my .instr file and the material datafiles that are called from the instrument. Any help would be appreciated. Greetings. -- *Aviso legal:*?El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web? www.unal.edu.co .*?*Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Inst-Data-and-Error.7z Type: application/octet-stream Size: 4048 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Mon May 9 22:29:50 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Mon, 9 May 2022 20:29:50 +0000 Subject: [mcxtrace-users] Problems with Component Source_div in McXtrace 3.0 on Binder In-Reply-To: References: Message-ID: Dear Jesus, Two independent issues are in fact visible in your screenshot: 1) Problem with mxrun in the terminal on the right: ?No module named ?yaml?? This is caused by a conflict between two independent Python installations in the system. Solution: Please use File -> Open terminal env. to open a fully functional terminal 2) Your instrument is using W_psd_monitor which (unfortunately) seems to have not been properly ported to McXtrace 3.0. (It is using definition parameters plus has not been ported to using dynamic arrays.) Please try the attached version of the component - which I will also push to the mccode-3 development branch You may upload to binder using an URL identical to that of your ?Desktop? but with ?lab? instead of ?desktop?. As you don?t have write permission to system areas in the binder you will need to put the component alongside your instrument file. I believe the second of these two problems is identical to what you describe in your other email entitled "Problems with some Components in McXtrace 3.0 on Binder?, correct? Best and hope this helps, Peter Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent N?stformand for DTU Fysik LSU DTU Physics [cid:e170abe9-d84f-44f2-8395-559f709c00b0 at win.dtu.dk] Technical University of Denmark [cid:e40fb3da-051d-4493-887f-a7722a40aac2 at win.dtu.dk] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk On 9 May 2022, at 21.05, Jesus David Bermudez Sanchez > wrote: Hi to all. I wanted to use the component source div, running McXtrace 3.0 on Binder but I got the error shown in the attached image. Any help would be appreciated. Kind Regards. [https://lh3.googleusercontent.com/6Zo9eagrTvW_TQrUw18i9DJfg6X9ibuaPO7zumiqqwrTx6W6bX3dOzMDThwpyW8L5TBlN9-AN4QTaDX2GlWFnVHJHAmP2N91vYLNfnu-VwaScNrhHhc0rtxgJ4L6lmbim3qPt3ZIXxORxv4zvw] Aviso legal: El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web www.unal.edu.co. Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users -------------- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: W_psd_monitor.comp Type: application/octet-stream Size: 3490 bytes Desc: W_psd_monitor.comp URL: From pkwi at fysik.dtu.dk Mon May 9 22:43:09 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Mon, 9 May 2022 20:43:09 +0000 Subject: [mcxtrace-users] Simulation of a-Se detector in McXtrace 1.6 In-Reply-To: References: Message-ID: Dear Jesus, Thank you for the email. The W_psd detector simply estimates the ?local dosage in watts?, with no other attempts to model a physical detector. It is simply not sophisticated enough / intended for such use. Since McXtrace can only deal with photons, I would recommend to turn to e.g. Geant4 or another multi-particle, multi-energy-scale Monte Carlo if you need a realistic model of your detector. Best, Peter Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent N?stformand for DTU Fysik LSU DTU Physics [cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk] Technical University of Denmark [cid:e108e480-fcab-46e2-9531-b38165079572 at win.dtu.dk] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk On 5 May 2022, at 20.56, Jesus David Bermudez Sanchez > wrote: Hi to all. I am using McXtrace v1.6 to simulate a mamography image of a PMMA phantom. I would like to ask for some ideas/insights on how to simulate the reading of the amorphous Selenium detector present in the real mammography machine. (As realistic as it can gets). I have been using a W_psd_detector, but the simulation results are not that close to the results obtained from the real image. Greetings from Colombia. Aviso legal: El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web www.unal.edu.co. Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users -------------- 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 jdbermudezs at unal.edu.co Mon May 9 23:18:44 2022 From: jdbermudezs at unal.edu.co (Jesus David Bermudez Sanchez) Date: Mon, 9 May 2022 16:18:44 -0500 Subject: [mcxtrace-users] Problems with Source Div in McXtrace 3.0 on Binder Message-ID: Hi to all. Thank you for your replies. I followed the instructions given by Peter in his response found here Now the GUI inside Binder shows me a different error that I think it's related to the Source_div component. I am attaching the files of my simulation and a .txt file with the error. Kind regards. -- *Aviso legal:*?El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web? www.unal.edu.co .*?*Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- NFO: Recompiling: ./PMMA-Matrix-PLY-w-2D-Square-Source.out ./PMMA-Matrix-PLY-w-2D-Square-Source.c: In function ?class_Source_div_init?: ./PMMA-Matrix-PLY-w-2D-Square-Source.c:9382:93: warning: format ?%g? expects a matching ?double? argument [-Wformat=] 9382 | fprintf(stderr,"ERROR (%s): Cannot have focus sampling window (focus_xw x focus_yh) = (%g x %g) with dist=0.\n",NAME_CURRENT_COMP); | ~^ | | | double ./PMMA-Matrix-PLY-w-2D-Square-Source.c:9382:98: warning: format ?%g? expects a matching ?double? argument [-Wformat=] 9382 | fprintf(stderr,"ERROR (%s): Cannot have focus sampling window (focus_xw x focus_yh) = (%g x %g) with dist=0.\n",NAME_CURRENT_COMP); | ~^ | | | double ./PMMA-Matrix-PLY-w-2D-Square-Source.c: In function ?Open_File.part.0?: ./PMMA-Matrix-PLY-w-2D-Square-Source.c:6339:41: warning: ?__builtin___snprintf_chk? output may be truncated before the last format character [-Wformat-truncation=] 6339 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output 2 or more bytes (assuming 1025) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:6354:41: warning: ?__builtin___snprintf_chk? output may be truncated before the last format character [-Wformat-truncation=] 6354 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output 2 or more bytes (assuming 1025) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:6362:37: warning: ?__builtin___snprintf_chk? output may be truncated before the last format character [-Wformat-truncation=] 6362 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output 2 or more bytes (assuming 1025) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:6368:35: warning: ?%s? directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 6368 | snprintf(path, 1024, "%s%c%s%c%s", dir, MC_PATHSEP_C, "data", MC_PATHSEP_C, File); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output 7 or more bytes (assuming 1030) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:6374:35: warning: ?%s? directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 6374 | snprintf(path, 1024, "%s%c%s%c%s", dir, MC_PATHSEP_C, "contrib", MC_PATHSEP_C, File); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output 10 or more bytes (assuming 1033) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c: In function ?detector_import?: ./PMMA-Matrix-PLY-w-2D-Square-Source.c:2067:55: warning: ?%s? directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 2067 | snprintf(detector.variables, CHAR_BUF_LENGTH, "%s %s_err N", c, c); | ^~ ~ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output between 8 and 2054 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:2065:55: warning: ?%s? directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 2065 | snprintf(detector.variables, CHAR_BUF_LENGTH, "%s %s %s_err N", detector.xvar, c, c); | ^~ ~ In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ?__builtin___snprintf_chk? output between 9 and 3078 bytes into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c: In function ?off_display?: ./PMMA-Matrix-PLY-w-2D-Square-Source.c:8647:30: warning: ?%g? directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 8647 | sprintf(pixelinfo, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:8647:26: note: assuming directive output of 12 bytes 8647 | sprintf(pixelinfo, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./PMMA-Matrix-PLY-w-2D-Square-Source.c:8647:26: note: assuming directive output of 12 bytes ./PMMA-Matrix-PLY-w-2D-Square-Source.c:8647:26: note: assuming directive output of 12 bytes In file included from /usr/include/stdio.h:867, from ./PMMA-Matrix-PLY-w-2D-Square-Source.c:174: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ?__builtin___sprintf_chk? output between 7 and 1066 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INFO: === begin instrument: PMMA_Matrix_PLY_w_2D_Square_Source_and_Be_Filter Creator: McXtrace 3.0 - Feb. 07, 2022 Source: PMMA-Matrix-PLY-w-2D-Square-Source.instr Parameters: Trace_enabled: yes Default_main: yes Embedded_runtime: yes end instrument begin simulation: . Format: McStas URL: http://www.mccode.org Creator: McXtrace 3.0 - Feb. 07, 2022 Instrument: PMMA-Matrix-PLY-w-2D-Square-Source.instr Ncount: 1000000 Trace: no Gravitation: no Seed: 1652129357613026 Directory: . end simulation loading system configuration -------------- next part -------------- A non-text attachment was scrubbed... Name: instr+materialData+CompWpsdMonitor.7z Type: application/octet-stream Size: 4725 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Tue May 10 07:13:24 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 10 May 2022 05:13:24 +0000 Subject: [mcxtrace-users] Problems with Source Div in McXtrace 3.0 on Binder In-Reply-To: References: Message-ID: <4c4871857693493c9aa41333f3e424f4@fysik.dtu.dk> Dear Jesus, Having checked your .txt file for errors, no actual ?errors? are in fact present. Admittedly the file is full of warnings, some of which mention ?error?. ? Also, at the end of the text file these lines are visible, indicating that the instrument was successfully compiled: INFO: === begin instrument: PMMA_Matrix_PLY_w_2D_Square_Source_and_Be_Filter Creator: McXtrace 3.0 - Feb. 07, 2022 Source: PMMA-Matrix-PLY-w-2D-Square-Source.instr Parameters: Trace_enabled: yes Default_main: yes Embedded_runtime: yes end instrument begin simulation: . Format: McStas URL: http://www.mccode.org Creator: McXtrace 3.0 - Feb. 07, 2022 Instrument: PMMA-Matrix-PLY-w-2D-Square-Source.instr Ncount: 1000000 Trace: no Gravitation: no Seed: 1652129357613026 Directory: . end simulation loading system configuration Best and good luck moving forward, Peter From: mcxtrace-users On Behalf Of Jesus David Bermudez Sanchez Sent: 9. maj 2022 23:19 To: mcxtrace-users at mcxtrace.org Subject: [mcxtrace-users] Problems with Source Div in McXtrace 3.0 on Binder Hi to all. Thank you for your replies. I followed the instructions given by Peter in his response found here Now the GUI inside Binder shows me a different error that I think it's related to the Source_div component. I am attaching the files of my simulation and a .txt file with the error. Kind regards. Aviso legal: El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web www.unal.edu.co. Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From emmanuel.farhi at synchrotron-soleil.fr Thu May 12 11:37:10 2022 From: emmanuel.farhi at synchrotron-soleil.fr (FARHI Emmanuel) Date: Thu, 12 May 2022 11:37:10 +0200 (CEST) Subject: [mcxtrace-users] Problems with Source Div in McXtrace 3.0 on Binder In-Reply-To: <4c4871857693493c9aa41333f3e424f4@fysik.dtu.dk> References: <4c4871857693493c9aa41333f3e424f4@fysik.dtu.dk> Message-ID: <1452016420.1230128.1652348230944.JavaMail.zimbra@synchrotron-soleil.fr> Hi Jesus, I have the feeling that these are only warnings. Try to run the simulation... Emmanuel. De: "Peter Kj?r Willendrup" ?: "Jesus David Bermudez Sanchez" , "mcxtrace-users" Envoy?: Mardi 10 Mai 2022 07:13:24 Objet: Re: [mcxtrace-users] Problems with Source Div in McXtrace 3.0 on Binder Dear Jesus, Having checked your .txt file for errors, no actual ?errors? are in fact present. Admittedly the file is full of warnings, some of which mention ?error?. ? Also, at the end of the text file these lines are visible, indicating that the instrument was successfully compiled: INFO: === begin instrument: PMMA_Matrix_PLY_w_2D_Square_Source_and_Be_Filter Creator: McXtrace 3.0 - Feb. 07, 2022 Source: PMMA-Matrix-PLY-w-2D-Square-Source.instr Parameters: Trace_enabled: yes Default_main: yes Embedded_runtime: yes end instrument begin simulation: . Format: McStas URL: [ http://www.mccode.org/ | http://www.mccode.org ] Creator: McXtrace 3.0 - Feb. 07, 2022 Instrument: PMMA-Matrix-PLY-w-2D-Square-Source.instr Ncount: 1000000 Trace: no Gravitation: no Seed: 1652129357613026 Directory: . end simulation loading system configuration Best and good luck moving forward, Peter From: mcxtrace-users On Behalf Of Jesus David Bermudez Sanchez Sent: 9. maj 2022 23:19 To: mcxtrace-users at mcxtrace.org Subject: [mcxtrace-users] Problems with Source Div in McXtrace 3.0 on Binder Hi to all. Thank you for your replies. I followed the instructions given by Peter in his response found [ https://mailman2.mcxtrace.org/pipermail/mcxtrace-users/2022q2/000076.html | here ] Now the GUI inside Binder shows me a different error that I think it's related to the Source_div component. I am attaching the files of my simulation and a .txt file with the error. Kind regards. Aviso legal: El contenido de este mensaje y los archivos adjuntos son confidenciales y de uso exclusivo de la Universidad Nacional de Colombia. Se encuentran dirigidos s?lo para el uso del destinatario al cual van enviados. La reproducci?n, lectura y/o copia se encuentran prohibidas a cualquier persona diferente a este y puede ser ilegal. Si usted lo ha recibido por error, inf?rmenos y elim?nelo de su correo. Los Datos Personales ser?n tratados conforme a la Ley 1581 de 2012 y a nuestra Pol?tica de Datos Personales que podr? consultar en la p?gina web [ http://www.unal.edu.co/ | www.unal.edu.co ] . Las opiniones, informaciones, conclusiones y cualquier otro tipo de dato contenido en este correo electr?nico, no relacionados con la actividad de la Universidad Nacional de Colombia, se entender? como personales y de ninguna manera son avaladas por la Universidad. _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Sat May 14 20:40:56 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Sat, 14 May 2022 18:40:56 +0000 Subject: [mcxtrace-users] Interesting McStas-related Post Doc position at PSI Message-ID: <1626A223-3140-4942-A842-12848B620A19@fysik.dtu.dk> Dear all, An interesting Post Doc position is available within the Neutron Optics and Scientific Computing Group at PSI: https://www.psi.ch/en/pa/job-opportunities/51272-post-doc-in-neutron-instrumentation A central part of the position is expanding features of the McStas Union by adding support for reflectivity (and potentially refraction). Main tasks are: ? Simulation and code development for neutron optics ? Extend the Monte-Carlo Ray-tracing software McStas ? Design an advanced signal-to-noice enhancing neutron optics ? Conceptualize tutorials for users ? Participate in neutron scattering experiments For more information please refer to the link below or contact Dr. Christine Klauser > Best, Peter Willendrup Peter Kj?r Willendrup Forskningsingeni?r, Specialkonsulent N?stformand for DTU Fysik LSU DTU Physics [cid:b6339554-7f28-441d-9f31-5944f811397c at win.dtu.dk] Technical University of Denmark [cid:e108e480-fcab-46e2-9531-b38165079572 at win.dtu.dk] Department of Physics Fysikvej Building 307 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 jmcox at mit.edu Mon Jun 6 15:28:59 2022 From: jmcox at mit.edu (Jordan Cox) Date: Mon, 6 Jun 2022 13:28:59 +0000 Subject: [mcxtrace-users] Off-axis parabolic mirror Component Message-ID: <1654522139690.44314@mit.edu> Hello All, I am getting started with McXtrace, and trying to build an instrument which is collimated using an off-axis parabolic (G?bel) mirror. I assume that the Mirror_parabolic component in McXtrace is not off-axis, so my thought was to simulate a G??bel mirror by placing the source at the mirror's focal point and making the mirror sufficiently large so as to be the full parent paraboloid of the off-axis mirror. However, I am having some difficulties understanding the relative coordinate system of the parabolic mirror component which is making it tough to determine if this idea will even work. Could someone provide some insights into the Mirror_parabolic component, it's geometry, and it's orientation? Or does anyone know a better way to construct a G??bel mirror? Any advice would be greatly appreciated! Best, Jordan? ------------------------------------- Jordan M. Cox, Ph.D. (he|him|his) X-ray Research Specialist Materials Research Laboratory Massachusetts Institute of Technology 77 Massachusetts Ave. Building 13-4027 Cambridge, MA 02139? -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Tue Jun 7 10:56:55 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 7 Jun 2022 08:56:55 +0000 Subject: [mcxtrace-users] Off-axis parabolic mirror Component In-Reply-To: <1654522139690.44314@mit.edu> References: <1654522139690.44314@mit.edu> Message-ID: <2350F806-0D3B-4B09-9DA1-912B8AAB788D@fysik.dtu.dk> Hi Jordan, I believe nothing should in principle prevent using Mirror_parabolic in an off-axis geometry: The mirror takes incoming photons from (close to) arbitrary incoming directions, propagate them to the mirror geometry and reflect them according to photon properties and the mirror geometry. For properly understanding the mirror parametrisation / coordinate system, I suggest starting from the example instrument Test_mirror_parabolic.instr found in your McXtrace installation (File->New From Template->Tests->Test_mirror_parabolic). Then try doing a few Trace runs (i.e. visualising the instrument geometry), perhaps varying the mirror geometry (i.e. essentially a/b and xwidth/zdepth) - find an example attached where you may vary a, b, xwidth and zdepth without recompilation. The mirror implements a paraboloid geometry with: * extent mainly in x / z dimensions (i.e. at 0 curvatures it lies flat ?on the ground?) * adding curvature, this curves the mirror ?up? with respect to ?the ground? In the attached example a rotation has been applied on the x-axis, meaning that now the mirror instead ?stands?. Further, I have exaggerated the dimensions and curvature to more easily see what is going on. Best and hope this helps, Peter On 6 Jun 2022, at 15.28, Jordan Cox > wrote: Hello All, I am getting started with McXtrace, and trying to build an instrument which is collimated using an off-axis parabolic (G?bel) mirror. I assume that the Mirror_parabolic component in McXtrace is not off-axis, so my thought was to simulate a G??bel mirror by placing the source at the mirror's focal point and making the mirror sufficiently large so as to be the full parent paraboloid of the off-axis mirror. However, I am having some difficulties understanding the relative coordinate system of the parabolic mirror component which is making it tough to determine if this idea will even work. Could someone provide some insights into the Mirror_parabolic component, it's geometry, and it's orientation? Or does anyone know a better way to construct a G??bel mirror? Any advice would be greatly appreciated! Best, Jordan? ------------------------------------- Jordan M. Cox, Ph.D. (he|him|his) X-ray Research Specialist Materials Research Laboratory Massachusetts Institute of Technology 77 Massachusetts Ave. Building 13-4027 Cambridge, MA 02139? _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Test_mirror_parabolic_PW.instr Type: application/octet-stream Size: 2418 bytes Desc: Test_mirror_parabolic_PW.instr URL: From pkwi at fysik.dtu.dk Tue Jun 7 11:01:07 2022 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 7 Jun 2022 09:01:07 +0000 Subject: [mcxtrace-users] [Warning Possible spam] Re: Off-axis parabolic mirror Component In-Reply-To: <2350F806-0D3B-4B09-9DA1-912B8AAB788D@fysik.dtu.dk> References: <1654522139690.44314@mit.edu> <2350F806-0D3B-4B09-9DA1-912B8AAB788D@fysik.dtu.dk> Message-ID: <64C4A97D-7BEC-4BE7-8165-9131E3ED3F82@fysik.dtu.dk> Hi again, Sorry, I forgot to mention that the attachment in the last mail is intended for McXtrace 3.x, here I attach a corresponding instrument for 1.7. Best, Peter On 7 Jun 2022, at 10.56, Peter Kj?r Willendrup > wrote: Hi Jordan, I believe nothing should in principle prevent using Mirror_parabolic in an off-axis geometry: The mirror takes incoming photons from (close to) arbitrary incoming directions, propagate them to the mirror geometry and reflect them according to photon properties and the mirror geometry. For properly understanding the mirror parametrisation / coordinate system, I suggest starting from the example instrument Test_mirror_parabolic.instr found in your McXtrace installation (File->New From Template->Tests->Test_mirror_parabolic). Then try doing a few Trace runs (i.e. visualising the instrument geometry), perhaps varying the mirror geometry (i.e. essentially a/b and xwidth/zdepth) - find an example attached where you may vary a, b, xwidth and zdepth without recompilation. The mirror implements a paraboloid geometry with: * extent mainly in x / z dimensions (i.e. at 0 curvatures it lies flat ?on the ground?) * adding curvature, this curves the mirror ?up? with respect to ?the ground? In the attached example a rotation has been applied on the x-axis, meaning that now the mirror instead ?stands?. Further, I have exaggerated the dimensions and curvature to more easily see what is going on. Best and hope this helps, Peter On 6 Jun 2022, at 15.28, Jordan Cox > wrote: Hello All, I am getting started with McXtrace, and trying to build an instrument which is collimated using an off-axis parabolic (G?bel) mirror. I assume that the Mirror_parabolic component in McXtrace is not off-axis, so my thought was to simulate a G??bel mirror by placing the source at the mirror's focal point and making the mirror sufficiently large so as to be the full parent paraboloid of the off-axis mirror. However, I am having some difficulties understanding the relative coordinate system of the parabolic mirror component which is making it tough to determine if this idea will even work. Could someone provide some insights into the Mirror_parabolic component, it's geometry, and it's orientation? Or does anyone know a better way to construct a G??bel mirror? Any advice would be greatly appreciated! Best, Jordan? ------------------------------------- Jordan M. Cox, Ph.D. (he|him|his) X-ray Research Specialist Materials Research Laboratory Massachusetts Institute of Technology 77 Massachusetts Ave. Building 13-4027 Cambridge, MA 02139? _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users _______________________________________________ mcxtrace-users mailing list mcxtrace-users at mcxtrace.org https://mailman2.mcxtrace.org/mailman/listinfo/mcxtrace-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Test_mirror_parabolic_PW.instr Type: application/octet-stream Size: 2398 bytes Desc: Test_mirror_parabolic_PW.instr URL: