![]() Also I've noticed that processing time depends also a bit on the shape of the spectra. In script v1.8 processing 1 spectra with 140 Voigt lines takes about 5 minutes but in v1.8 there's also a big improvement (c.a 100x) in performance. The processing time seems to scale exponentially with the number of functions. Using analyze_and_plot script v1.3 with 36 Voigt functions and a constant, the script processed 72 experiments in 84 minutes. Depending on your computer and how many datapoints and functions you have, the process might take a long time.įor me (Macbook Pro 3,1 GHz Intel Core i5, using 1 instance of Fityk (a.k.a 25-50% of CPU power)) it took 16 seconds to analyze and draw 16 spectra in the old example folder (you can probably see it in Git commit history). Although you can see how far the process is by checking the output file or drawn images. ![]() That's why you won't see progress in the command line output. The files are generic columnar files where 1st column is pixel value and all other columns are different experiments' intensities.Īlso the GUI is unresponsive while Fityk is calculating stuff. The script is written for spectra files gained from SOLIS software using Andor iStar340T ICCD camera. Finally, please bear in mind that I'm not a programmer and this was my first contact with LUA so the code will be sub-optimal. Moreover, EVERYTHING I write might be critical for the code. This is also the primary purpose of sharing this script. Also I have used a few hacks (at least in my opinion) because I couldn't find any better solutions or more info about Fityk. That means you might have to dive into the code to have it do exactly what you want. Also I have only tested the script on my MacOS laptop. I can't guarantee that the script will work for all different computers because I'm using GUI through script, athough plotting with scripts isn't (fully) supported.
0 Comments
Leave a Reply. |