Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
b845bbb
OS update:
TomasCampante Jun 30, 2025
efb6351
ARC-TF.py update:
RiPires Jul 2, 2025
e4b78be
Code review:
RiPires Jul 2, 2025
a2fee70
Code review - function File_Reader()
RiPires Jul 2, 2025
49d58ab
Review of Precision() function:
RiPires Jul 2, 2025
5be672e
Code review Final_Results() fucntion:
RiPires Jul 2, 2025
3dda388
Review Calib_Choice() and FinalCalculation():
RiPires Jul 2, 2025
f024bab
Code review:
RiPires Jul 2, 2025
5220925
Review Unchecked_Results() fucntion:
RiPires Jul 2, 2025
e01bd00
Code review:
RiPires Jul 2, 2025
f2c15eb
Code review:
RiPires Jul 3, 2025
06098d6
Code review:
RiPires Jul 3, 2025
e1982dd
Code review update:
RiPires Jul 7, 2025
0805e01
Merge branch 'review' of github.com:RiPires/GUI_thin_films into inter…
RiPires Jul 7, 2025
fc7d023
Code review:
RiPires Jul 7, 2025
10a3ed0
Merge branch 'internship25' of github.com:RiPires/GUI_thin_films into…
aysuismailova Jul 11, 2025
1a3ebd0
Updated headers
RiPires Jul 11, 2025
138b661
new file
aysuismailova Jul 16, 2025
ee139e1
Merge branch 'internship25' of github.com:RiPires/GUI_thin_films into…
aysuismailova Jul 16, 2025
f6c41e6
x-ray analysis update
aysuismailova Jul 18, 2025
9e26738
Gaussian fit
aysuismailova Jul 21, 2025
2321e9f
Gaussian fit
aysuismailova Jul 22, 2025
03dece5
Code Debugging for Linux: 1. Fixed the blank tab issue on the interfa…
aysuismailova Jul 23, 2025
cae8e14
Code update: Began implementing XRA in the interface (button, tab)
aysuismailova Jul 25, 2025
5bd8948
Uncertainty update
aysuismailova Jul 28, 2025
5d56833
Code update: 1.Managed to remove the extra ROI entries for the XRA (s…
aysuismailova Jul 29, 2025
97a5d26
Change: removed peak labels for XRA
aysuismailova Jul 29, 2025
3f37772
Code Update: 1. Fixed centroids calculation issue for XRA (only 1) 2.…
aysuismailova Jul 31, 2025
01248f9
Code Update: Made an error message when entered roi is not correct
aysuismailova Aug 1, 2025
453825a
Code update: Two separate real-time for the files uploaded on the XRA…
aysuismailova Aug 6, 2025
9270491
Code update: Now generates two centroids, one for each dataset (still…
aysuismailova Aug 8, 2025
7dea5a0
Code update: Removed third column result for xra tab, added 'Source' …
aysuismailova Aug 9, 2025
3d0817d
Code update: Area calculation added for each (Source and Source+Film)…
aysuismailova Aug 13, 2025
795a648
Code update: removed decimals for the real time
aysuismailova Aug 14, 2025
cfc5443
Code update: 1. Resolve issue with sources/materials menu button 2. F…
aysuismailova Aug 18, 2025
838af3a
Code update: 1. Added background file data to the interface 2. Thickn…
aysuismailova Aug 19, 2025
45f1a2d
Code update: Added new method for mu selection (user input)
aysuismailova Aug 20, 2025
83ec655
Not much update, added gaussian fit function
aysuismailova Aug 21, 2025
694dc08
Code Update: 1. Fixed Search button issue 2. Changed counts rate to c…
aysuismailova Aug 22, 2025
d910373
Code update: 1. Fixed Search button issue 2. Some minor things (Calib…
aysuismailova Aug 25, 2025
01d8c5b
Minor changes for thickness unit
aysuismailova Aug 27, 2025
acd91de
some changes
aysuismailova Aug 27, 2025
e31617a
Minor changes as units/decimals
aysuismailova Aug 28, 2025
db8665b
some changes about decimals
aysuismailova Aug 29, 2025
9581201
Help file and Source list name update
aysuismailova Aug 29, 2025
280bc78
Commit for the files
aysuismailova Sep 1, 2025
b7c682e
Deleted unnecessary files
aysuismailova Sep 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,091 changes: 2,518 additions & 1,573 deletions ARC-TF.py

Large diffs are not rendered by default.

50 changes: 45 additions & 5 deletions Files/Help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ Welcome to ARC-TF!

Workflow

The program has 3 types of tabs. The first one, the Final Results Tab is a special tab, and exhibits all
the results calculated by the remainder two types of tabs. These are the Calibration Analysis Tabs, and the
Material Analysis Tabs. The user can create and delete these last two types of tabs freely. The options
available are different depending on which type of Tab the user opens.
The program supports four different types of tabs, each with a distinct purpose. The Final Results Tab is a special tab that consolidates and displays all results generated within the Calibration Analysis and Material Analysis tabs. This tab cannot be created or deleted manually by the user, as it is automatically maintained by the program. Its primary function is to provide an overview of the outcomes produced in the other analysis tabs.
The Calibration Analysis Tabs are dedicated to performing calibration-related computations. Users are free to create and delete these tabs depending on their needs. Each calibration tab offers a set of options and tools specific to calibration workflows.
Similarly, the Material Analysis Tabs are designed for performing analyses on different film materials. As with the calibration tabs, users can freely create or delete these tabs as required. The options available within a material analysis tab differ from those found in calibration tabs.
The final type, the XRA Analysis Tab, is a recently added feature. Unlike the other three tab types, the XRA Analysis Tab is fully independent and does not interact with the Final Results Tab, Calibration Analysis Tabs, or Material Analysis Tabs. It provides its own dedicated functionality for XRA-specific analysis.


Calibration Tab:

Expand All @@ -33,6 +34,16 @@ calibration trials. The program will only use the energy from the radiation sour
trial. This is why the the choice of peaks is of great importance. Finally, the user can calculate the
thickness by clicking the button. The results will appear below the button, and in the final results tab.

XRA Tab:

The XRA Analysis Tab is independent of all other tab types and is specifically designed for film thickness
determination. When using this tab, the first required step is to plot the Source Data, as the program will
not allow the user to upload or plot any other data beforehand. Once the Source Data has been provided, the
ser can then upload and plot the Source + Film Data, as well as optionally include Background Data. From
the resulting plots, emission lines can be identified and subsequently used during the film thickness
determination process. Unlike other analysis techniques within the program, the XRA Tab supports only a
single method for peak analysis: the ROI (Region of Interest) Select Algorithm.

Other Features:

Besides the various analysis tools, ARC-TF also has a few other features that facilitate the process.
Expand Down Expand Up @@ -132,4 +143,33 @@ after the linear regression is applied to them, become the initial energy. With
is computed, and with the internal database of a few materials, an approximate thickness is calculated.
This is done for every channel corresponding to a peak. After this step, an average of the thickness is
obtained, while its uncertainty is computed using standard deviation over the square root of the number
of peaks minus one. The results are then presented in the selected units.
of peaks minus one. The results are then presented in the selected units.

ROI Select Algorithm:

The ROI Select Algorithm is applied across three different tabs of the application: Calibration, Material,
and XRA. Each of these tabs makes use of the algorithm in slightly different ways, depending on the type
of analysis being performed.
In the Calibration and Material tabs, users can select up to six regions of interest. For each selected
ROI, the algorithm calculates three key parameters: the centroid, the sigma, and the error associated with
the peak. These values are determined using traditional methods, which directly analyze the data within the
chosen regions. As a result, the user can extract up to six sets of centroid, sigma, and error values
corresponding to the selected peaks.
The XRA tab, by contrast, allows for the selection of only one ROI, reflecting the different requirements
of its functionality. In this tab, a Gaussian fit is applied to the selected emission line. From this fit,
the algorithm derives the centroid, sigma, and the area under the curve. The fitting process is carried
out for Source, Source + Film, and if available for Background data. The calculated area represents the
integrated area under the Gaussian curve, within the ROI, and corresponds to the intensity of the selected emission line.



The Thickness Calculation Algorithm for XRA:
After peak analysis for the XRA tab, the user has two options for choosing the linear attenuation coefficient:
Default and User.
When the Default option is selected, the user must specify the film material and the source that were used during
the experiment. These values are then retrieved from the database, and the program automatically applies the
corresponding parameter for the thickness calculation.
When the User option is selected, the user directly needs to enter the linear attenuation coefficient of the material.
This option is particularly useful when the film material used in the experiment is not included in the default database.
In both cases, once the Run button is clicked, the interface calculates and displays the film thickness together with
the associated uncertainty.
Loading