From mikko.i.laitinen at jyu.fi Tue Mar 5 15:41:28 2024 From: mikko.i.laitinen at jyu.fi (Laitinen, Mikko) Date: Tue, 5 Mar 2024 13:41:28 +0000 Subject: [POTKU] New Major Potku update 2.2.5 In-Reply-To: References: Message-ID: Dear Potku users, There's now online the long waited "official" new Potku release. The new version has been waiting for itself, mostly due to the fact that during the past 2+ year we have updated the also the simulation side to work with the energy detector (and not just ToF), and updated the configuration files to use JSON. These updates create backward incompatible "request"-files (compared to the earlier "publicly announced" version from 20220331), once old request is opened with the new version. The version 2.2.5 can be found from Github or from JYU pages: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJYU-IBA%2Fpotku&data=05%7C02%7Cpotku%40lists.jyu.fi%7C3d49ba7097d54f98d92b08dc3d19f57b%7Ce9662d58caa44bc1b138c8b1acab5a11%7C1%7C0%7C638452428894312082%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=z1VhFWTHRT2bVTKKNPgEnvO82Msk2CpZnY60Lzo7qyE%3D&reserved=0 https://www.jyu.fi/science/en/physics/research/infrastructures/accelerator-laboratory/pelletron/potku (note: as Potku is not "paid-certified" Microsoft / Apple -code, nowadays administrative rights are required to run in windows, and mac users need some tricks for install/run as before (guide at the JYU page)) About the main user affecting -modifications (a loooot of backgroud -stuff has happened too, >2000h of coding work): -Speed in slab analysis selections/cuts is now ~independent from amount of data: 100k counts vs 10M counts are equally fast -Selections in slab analysis can be modified!!, copied, imported individually -Kinematic correction has import+semi automatic parameter fit for the suitable datafiles -MCERD side now automatically calculates important parameter: "reference density" , which user should only modify if one knows it meaning.. -In MCERD side now in the same simulation one can use both recoiled element, like Ti, and beam scattered element, like Ti* -"efficiency files used" -text now actually appears only after a check that the file exists and contains some non-zero data (this is seen in cmd prompt too) - automatic compiling and packing in GitHub creates also automatic version numbering, which helps to refer to versions of the software later. ---as negative side, the old project cannot be opened with old version (if one wants to preserve the old projects easily, just copy paste the whole folder and use the copy) ---the User interface (Qt) + matplotlib has some peculiarities which are independent from our code. For example the "maximize, minimize and close"-buttons may not always show correctly, but then re-appear. The positions of these typical "window-buttons" are there but they sometimes do not appear correctly. Reason not known. Report to me if you find other peculiarities. All the best from -2C and full sunshine Jyväskylä, Mikko. ----- Potku release 2.2.5 (build date 18.12.2023) Major updates and milestones New features, a number of bug fixes and quality of life enhancements, streamlined development pipeline to allow easier release of new versions of Potku. More detailed info about updates A streamlined development pipeline has been created on GitHub, where Potku?s new versions are released. Get Potku future updates directly from the page: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJYU-IBA%2Fpotku&data=05%7C02%7Cpotku%40lists.jyu.fi%7C3d49ba7097d54f98d92b08dc3d19f57b%7Ce9662d58caa44bc1b138c8b1acab5a11%7C1%7C0%7C638452428894468359%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=USFpvoKcE1%2FmOdc3G4Qv3ZnoGTzFwvHr69pk80DQYzI%3D&reserved=0 This new version breaks backwards compatibility, i.e. after opening a request in this version, it no longer works in previous versions. This is (mainly) due to the energy detector option for the simulation and modification of the configuration files. Potku now follows semantic version numbering and this process is automated in GitHub. New features: - On the MCERD side users can choose between an automatically calculated reference density value and a manually entered value to use in simulations. - Cut/selection files can now be modified after creation by adding, deleting and dragging points of an element selection. Also single element from the cut files can be imported to existing cut files. - Copying and pasting element selections is now possible via context menu. - Element selections can be selected from legend. - Single cut files can now be imported to the ToF-E histogram. - Energy detector added as a new detector type in detector settings. This is the energy after the last of the ?foils?. - Added ability to remove external files when comparing simulated energy spectra to experimental data. - For each recoil element in MCERD, the simulation type can be chosen between recoil and scatter. Thus one can add Ti as a recoil or Ti* as like Br beam scattered from Ti. - Timestamped data between ToF and E detector, if they coincidence with the kinematic correction. can now be semi-automated to be used to find the kinematic correction values (eg. time difference to ToF vs E) and export them as a third column to the Tof-E .asc data file. This fully enables and partially automates the kinematic correction option in Potku. Enhancements/bug fixes: - Performance of cut/selection file windows has been improved. This is now faster and generated as ?image? - Fixed ratio tool functioning in MCERD. - Fixed sum spectrum plotting of energy spectra. - On MCERD side deleting a main recoil element now also properly deletes any associated secondary recoils. - Python version upgraded to 3.10. - Potku?s version and date of the version is displayed in the title of Potku?s main window. - Enabling measurement-specific settings copies over all request-wide settings as a basis for the specific settings, now including also efficiency files. - Changing the color of a recoil in MCERD now works as intended. - ?Efficiency files used?- text now actually checks that was some file with non-zero numbers found. - Previously failing unit tests have been fixed. - Tons of small bugfixes. - Tons of code architecture improved. -- Mikko Laitinen, PhD, Docent Academy Research Fellow Department of Physics, Accelerator Laboratory ________________________________________________________ Postal address: University of Jyväskylä, Department of Physics, P.O. Box 35, FI-40014, Finland Street address: Survontie 9 D, Ylistönrinne, Jyväskylä Work phone: +358 40 8054 113 E-mail address: mikko.i.laitinen at jyu.fi -------------- next part -------------- A non-text attachment was scrubbed... Name: Potku-2.2.5-2023-12-18-release notes.pdf Type: application/pdf Size: 118920 bytes Desc: Potku-2.2.5-2023-12-18-release notes.pdf URL: