Sure, I'm happy to send code on here, but maybe easier for you if I provide links to several text files.
R is a very widely used open-source programming language and statistical analysis package used by millions of people and available for Windows, Mac, and Linux. It's quite common to use R with a wonderful IDE called RStudio. Both R and RStudio are completely free.
My code collects focus positions and temps from a night's worth of .fits files, sorts them by filter, regresses position against temp for each filter, determines slopes & intercepts (temp coef and filter offsets), and makes a nice annotated plot. Optionally it can weight the data by FWHM and exclude poorly focused outliers.
There are three programs I use for my SGPro focus analysis:
When I have time, I plan to make an interactive website to do the focus analysis on my server from a users collection of fits files, and display the results in a web browser.
If you work for Main Sequence Software, please email me so I can help implement this in SGPro. It would be much easier to do this in your package rather than having to save all the files and then read them in later!