From emmanuel.farhi at synchrotron-soleil.fr Tue May 2 17:34:54 2023 From: emmanuel.farhi at synchrotron-soleil.fr (Emmanuel FARHI) Date: Tue, 2 May 2023 17:34:54 +0200 Subject: [mcxtrace-users] Job offer: Python/nodeJS at Synchrotron SOLEIL near Paris for the MX beamlines Message-ID: Temporary position at Synchrotron SOLEIL (18 months) *Python/NodeJS programmer* *Background* SOLEIL is the French synchrotron radiation center, located on the Saclay plateau near Paris. It is a multidisciplinary instrument and a research laboratory, whose mission is to conduct research programs using synchrotron radiation, to develop state-of-the-art instrumentation on the beamlines and to put them available to the scientific community. The SOLEIL synchrotron, a unique tool for both academic research and industrial applications, opened in 2008. It is used annually by several thousand French and foreign researchers, across a wide range of disciplines such as physics, biology, chemistry, astrophysics, environment, earth sciences, etc. SOLEIL relies on a remarkable radiation source both in terms of brilliance and stability. This Very Large Research Infrastructure (TGIR), a partner of the University of Paris-Saclay, is constituted as a ?civil? company founded jointly by the CNRS and the CEA. The SOLEIL synchrotron, in the field of structural biology, operates two X-ray diffraction beamlines for macromolecular crystallography (MX), a small-angle scattering beamline in solution and soon an electron cryomicroscope. The beamlines feature a high degree of automation through advanced robotics, and are driven by software developed in a collaboration (MXCuBE, Journal of Synchrotron Radiation 17(5):700-7). The latest version, the MXCuBE3 web application (https://github.com/mxcube/), is specially designed to perform advanced experiments remotely. *Tasks* Your main mission will be to carry out, in close collaboration with the PROXIMA-1 and PROXIMA-2A beamlines, the migration of the current version in production of MXCuBE (QT) to MXCuBEv3 (web), test the new interface and implement it as a service. *Responsibilities* * Gain an understanding of the experiments conducted on the MX beamlines, and of the operation of MXCUBE through consortium meetings with the other developers of the code; * Migrate the current python code from the back-end (hardware repository) to the new python code redesign (mxcubecore); harmonization of the code between the two beamlines. * Migrate the HMIs of the two PROXIMA-1 and PROXIMA-2A lines to the MXCuBEv3 web version; * Testing and production of the MXCuBEv3 web version on both lines; * Develop some new features in the MXCuBEv3 HMI. *Training and experience* Required level: master 1/2 or higher. A professional experience of at least 3 years will be appreciated. Essential basic knowledge: Python programming; Web development skills: Javascript, Node.js React or equivalent. Any additional knowledge and/or skills: Management of scientific equipment. Required qualities: Curiosity ; Good communication skills. *General conditions of practice* The candidate will work within the biocrystallography teams on the PROXIMA 1 and PROXIMA 2A beamlines. You are invited to apply by sending your letter and curriculum at FALDUTI Virginie with the reference "EXP-915". -- signature / ___|__/\_| | ? | ____|_ _| | ? ? ?FARHI Emmanuel \___ \\ | | ? | ?_| ?| || | ? ? ?Div Exp/Data Reduction and Analysis Team ?___) /_ ?_| |___| |___ | || |___ ? Tel : +33 (1) 69 35 96 04 |____/ ?\/ |_____|_____|___|_____| ?Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Wed May 10 16:45:57 2023 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Wed, 10 May 2023 14:45:57 +0000 Subject: [mcxtrace-users] [mcstas-users] Ncount doubled? McStas 3.3 In-Reply-To: <3A885D1A-367E-4C7B-9F97-F19E13A3E2AB@fysik.dtu.dk> References: <8aa24762-1e1e-9215-8139-40b5cd13298e@ill.fr> <992C3873-952B-410C-A814-E3B6BD058B7E@fysik.dtu.dk> <5a69f2e6-a6ea-ca90-de22-8df5f7bd9e5f@ill.fr> <3A885D1A-367E-4C7B-9F97-F19E13A3E2AB@fysik.dtu.dk> Message-ID: Hi all, I can now report that the cause of the issue has been located and fixed in the development tree toward the next McStas 3.x and McXtrace 3.x releases. You can also rest assured that the issue was of a cosmetic nature only, only affecting output headers, not the actual number of simulated / saved events. Best, Peter On 18 Apr 2023, at 15.13, Peter Kj?r Willendrup wrote: Hi both, OK, thanks for testing. Looking on my machine here with McStas 3.3, it seems the the first entry in mccode.sim (i.e. the ?simulation level?) is OK, whereas the entries for any monitor after has been doubled: McStas simulation description file for BNL_H8. Date: Tue Apr 18 12:02:56 2023 Program: begin instrument: BNL_H8 File: BNL_H8_20230418_120254/mccode Source: BNL_H8.instr Parameters: lambda(double) Trace_enabled: yes Default_main: yes Embedded_runtime: yes end instrument begin simulation: BNL_H8_20230418_120254 Format: McCode with text headers URL: http://www.mccode.org Creator: Instrument: BNL_H8.instr Ncount: 1000000 Trace: no Gravitation: no Seed: 1681812175442876 Directory: BNL_H8_20230418_120254 Param: lambda=2.36 end simulation begin data Date: Tue Apr 18 12:02:57 2023 (1681812177) type: array_2d(20, 20) Source: BNL_H8 (BNL_H8.instr) component: D0_Source position: 0 0 0.0001 title: PSD monitor Ncount: 2000000 filename: D0_Source.psd statistics: X0=-0.00187139; dX=0.864864; Y0=0.0044862; dY=1.56205; signal: Min=6.0781e-06; Max=1.04372e-05; Mean=7.97501e-06; values: 0.00319 1.39945e-05 51960 xvar: X yvar: Y xlabel: X position [cm] ylabel: Y position [cm] zvar: I zlabel: Signal per bin xylimits: -1.5 1.5 -2.7 2.7 variables: I I_err N end data ... I would think this ?only" a header / summary data - issue, but of course annoying. I don?t believe the actual number of simulated events is actually doubled. Will investigate further during the next days and report back. Best, Peter On 18 Apr 2023, at 13.19, Emmanuel FARHI wrote: I can confirm this also holds for McXtrace, but only for the 'legacy' code. McXtrace 3.x is OK. Emmanuel. Le 18/04/2023 ? 13:07, Richard Wagner a ?crit : Hi Peter, as an example I took the BTsimple.instr from the template section. The command to run McStas is: mcrun BTsimple.instr -d BTsimple_20230418_115509 -n 1000 lambda=10 dlambda=9.9 maxhd=3 maxvd=3 gw=0.1 gh=0.1 gL=50 gm=6 delta1=0 delta2=0 and the reads (just as an example) BT_in.dat # Format: McCode with text headers # URL: http://www.mccode.org # Creator: # Instrument: BTsimple.instr # Ncount: 2000 # Trace: no # Gravitation: no # Seed: 1681811710726221 # Directory: /Users/wagnerrichard/BTsimple_20230418_115509 # Param: lambda=10 # Param: dlambda=9.9 # Param: maxhd=3 # Param: maxvd=3 # Param: gw=0.1 # Param: gh=0.1 # Param: gL=50 # Param: gm=6 # Param: delta1=0 # Param: delta2=0 # Date: Tue Apr 18 11:55:10 2023 (1681811710) # type: array_1d(101) # Source: BTsimple (BTsimple.instr) # component: BT_in # position: 0 0 2 # title: Wavelength monitor # Ncount: 2000 # filename: BT_in.dat # statistics: X0=2.95806; dX=1.79349; # signal: Min=0; Max=1.42052e+11; Mean=7.26371e+09; # values: 7.33634e+11 2.44642e+11 34 # xvar: L # yvar: (I,I_err) # xlabel: Wavelength [AA] # ylabel: Intensity # xlimits: 0.1 19.9 # variables: L I I_err N 0.198019802 0.06290653129 0.06290653129 1 0.3940594059 0 0 0 0.5900990099 0 0 0 0.7861386139 0 0 0 0.9821782178 8.634588395e+10 8.634588395e+10 1 1.178217822 1.129377287e+11 1.129377287e+11 1 1.374257426 0 0 0 1.57029703 0 0 0 1.766336634 0 0 0 1.962376238 0 0 0 2.158415842 0 0 0 2.354455446 0 0 0 2.55049505 1.045974734e+11 1.045974734e+11 1 2.746534653 0 0 0 2.942574257 8.997598489e+10 8.997598489e+10 1 3.138613861 7.835386438e+10 7.835386438e+10 1 3.334653465 1.420521026e+11 1.004534555e+11 2 3.530693069 0 0 0 3.726732673 0 0 0 3.922772277 4.930911027e+10 4.930911027e+10 1 4.118811881 0 0 0 4.314851485 0 0 0 4.510891089 0 0 0 4.706930693 0 0 0 4.902970297 0 0 0 5.099009901 0 0 0 5.295049505 0 0 0 5.491089109 0 0 0 5.687128713 0 0 0 5.883168317 2.834814784e+10 2.005320461e+10 2 6.079207921 0 0 0 6.275247525 0 0 0 6.471287129 0 0 0 6.667326733 1.878195926e+10 1.328092168e+10 2 6.863366337 0 0 0 7.059405941 0 0 0 7.255445545 0 0 0 7.451485149 0 0 0 7.647524752 5150986989 5150986989 1 7.843564356 0 0 0 8.03960396 4013292994 4013292994 1 8.235643564 3595007505 3595007505 1 8.431683168 0 0 0 8.627722772 0 0 0 8.823762376 0 0 0 9.01980198 0 0 0 9.215841584 2189836065 2189836065 1 9.411881188 1988533204 1988533204 1 9.607920792 0 0 0 9.803960396 0 0 0 10 1492967095 1492967095 1 10.1960396 0 0 0 10.39207921 0 0 0 10.58811881 0 0 0 10.78415842 0 0 0 10.98019802 0 0 0 11.17623762 0 0 0 11.37227723 848524385.4 848524385.4 1 11.56831683 776540913.4 776540913.4 1 11.76435644 704975245.4 704975245.4 1 11.96039604 0 0 0 12.15643564 0 0 0 12.35247525 0 0 0 12.54851485 0 0 0 12.74455446 0 0 0 12.94059406 0 0 0 13.13663366 0 0 0 13.33267327 0 0 0 13.52871287 0 0 0 13.72475248 361109386.4 361109386.4 1 13.92079208 0 0 0 14.11683168 0 0 0 14.31287129 0 0 0 14.50891089 272324491.7 272324491.7 1 14.7049505 0 0 0 14.9009901 241800376.7 241800376.7 1 15.0970297 224371882.4 224371882.4 1 15.29306931 203464827.5 203464827.5 1 15.48910891 0 0 0 15.68514851 182210050 182210050 1 15.88118812 173421371.5 173421371.5 1 16.07722772 0 0 0 16.27326733 0 0 0 16.46930693 0 0 0 16.66534653 140822062.6 140822062.6 1 16.86138614 0 0 0 17.05742574 124243190.4 124243190.4 1 17.25346535 0 0 0 17.44950495 0 0 0 17.64554455 0 0 0 17.84158416 0 0 0 18.03762376 91358644.93 91358644.93 1 18.23366337 90222429.45 90222429.45 1 18.42970297 0 0 0 18.62574257 0 0 0 18.82178218 0 0 0 19.01782178 0 0 0 19.21386139 0 0 0 19.40990099 65966180.97 65966180.97 1 19.60594059 0 0 0 19.8019802 0 0 0 Holds for the rest of the dat-files and for simulations with higer n numbers I just took n = 1000 for demonstration purposes. Best Richard On 18/04/2023 12:07, Peter Kj?r Willendrup wrote: Hi Richard, Hmm, no this sounds strange? Could you help by providing a little bit more context? I.e. * What are you running? * How? * Where do you read off the resulting Ncount? Best, Peter On 18 Apr 2023, at 11.58, Richard Wagner wrote: Dear McStas Experts and Community Is there a reason that the in Mcstas 3.3 Ncount is twice as high then the "Ray count" selected? eg.: -n 1000 -> # Ncount: 2000 Best Richard -- Richard Wagner Postdoctoral Research Engineer Nuclear and Particle Physics Group Institut Laue-Langevin - ILL 71, avenue des Martyrs CS 20156 38042 Grenoble Cedex 9 France www.ill.eu _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org https://mailman2.mcstas.org/mailman/listinfo/mcstas-users -- Richard Wagner Postdoctoral Research Engineer Nuclear and Particle Physics Group Institut Laue-Langevin - ILL 71, avenue des Martyrs CS 20156 38042 Grenoble Cedex 9 France www.ill.eu _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org https://mailman2.mcstas.org/mailman/listinfo/mcstas-users -- / ___|__/\_| | | ____|_ _| | FARHI Emmanuel \___ \\ | | | _| | || | Div Exp/Data Reduction and Analysis Team ___) /_ _| |___| |___ | || |___ Tel : +33 (1) 69 35 96 04 |____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org https://mailman2.mcstas.org/mailman/listinfo/mcstas-users _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org https://mailman2.mcstas.org/mailman/listinfo/mcstas-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From emmanuel.farhi at synchrotron-soleil.fr Tue May 23 10:22:41 2023 From: emmanuel.farhi at synchrotron-soleil.fr (FARHI Emmanuel) Date: Tue, 23 May 2023 10:22:41 +0200 (CEST) Subject: [mcxtrace-users] python/web developer job offer at Synchrotron SOLEIL, FR Message-ID: <1651789310.42301620.1684830161549.JavaMail.zimbra@synchrotron-soleil.fr> Hello, The SOLEIL Synchrotron near Paris, France is hiring a python/web developer for protein crystallography data acquisition/treatment. The job offer is detailed at: [ https://www-synchrotron--soleil-fr.translate.goog/fr/emplois/developpeureuse-python-et-web?_x_tr_sl=fr&_x_tr_tl=en&_x_tr_hl=fr&_x_tr_pto=wapp | * https://www-synchrotron--soleil-fr.translate.goog/fr/emplois/developpeureuse-python-et-web?_x_tr_sl=fr&_x_tr_tl=en&_x_tr_hl=fr&_x_tr_pto=wapp ] You are invited to apply on the job description page (with letter and curriculum). Emmanuel FARHI, Data Reduction and Analysis Group leader. -- / ___| __/\_ | | | ____|_ _| | FARHI Emmanuel \___ \ \ | | | _| | || | Div Exp/Data Reduction and Analysis Team ___) /_ _ | |___| |___ | || |___ Tel : +33 (1) 69 35 96 04 |____/ \/ |_____|_____|___|_____| Saint-Aubin BP 48 - 91192 GIF/YVETTE CEDEX SYNCHROTRON http://www.synchrotron-soleil.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: