Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labcode
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CST
labcode
Commits
76db0f54
Commit
76db0f54
authored
7 months ago
by
Alexandros Asonitis
Browse files
Options
Downloads
Patches
Plain Diff
evaluation sentech (file detection)
parent
676b7347
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
sentech/evaluation.py
+191
-0
191 additions, 0 deletions
sentech/evaluation.py
sentech/interface_evaluation.ipynb
+86
-0
86 additions, 0 deletions
sentech/interface_evaluation.ipynb
sentech/read_df.ipynb
+1693
-0
1693 additions, 0 deletions
sentech/read_df.ipynb
with
1970 additions
and
0 deletions
sentech/evaluation.py
0 → 100644
+
191
−
0
View file @
76db0f54
import
ipywidgets
as
widgets
import
matplotlib.pyplot
as
plt
import
pandas
as
pd
import
os
import
tkinter
as
tk
from
tkinter
import
filedialog
import
tkinter.messagebox
def
information_box
(
information
):
#open dialog and hide the main window
root
=
tk
.
Tk
()
root
.
withdraw
()
root
.
lift
()
#show window above all other applications
root
.
attributes
(
"
-topmost
"
,
True
)
#window stays above all other applications
#display meaagebox
tkinter
.
messagebox
.
showinfo
(
message
=
information
)
root
.
destroy
()
def
choose_folder
():
root
=
tk
.
Tk
()
root
.
withdraw
()
root
.
lift
()
#show window above all other applications
root
.
attributes
(
"
-topmost
"
,
True
)
#window stays above all other applications
#choose nonemty folder
folder
=
tk
.
filedialog
.
askdirectory
()
while
folder
==
''
:
folder
=
tk
.
filedialog
.
askdirectory
()
root
.
destroy
()
return
folder
def
change_state
(
widgets_list
):
for
widget
in
widgets_list
:
widget
.
disabled
=
not
widget
.
disabled
def
get_device
(
file
):
with
open
(
file
)
as
f
:
lines
=
f
.
readlines
()
if
lines
[
1
]
==
"
System: SI ALD RWTH [ALD 007]
\n
"
:
return
'
ALD
'
elif
lines
[
1
]
==
"
System: SI 500 RWTH Aachen [500-211]
\n
"
:
return
'
ICP-CL
'
elif
lines
[
1
]
==
"
Anlage: SI 500 RWTH Aachen
\n
"
:
return
'
ICP-FL
'
else
:
return
""
#No device detected
def
read_file
(
file
):
device
=
get_device
(
file
)
if
device
==
'
ALD
'
:
with
open
(
file
)
as
f
:
lines
=
f
.
readlines
()
start_time
=
lines
[
4
]
df
=
pd
.
read_csv
(
files
[
0
],
sep
=
'
\t
'
,
skiprows
=
10
,
encoding
=
'
ANSI
'
,
index_col
=
False
)
elif
device
==
'
ICP-CL
'
:
with
open
(
file
)
as
f
:
lines
=
f
.
readlines
()
start_time
=
lines
[
4
]
df
=
pd
.
read_csv
(
file
,
sep
=
'
\t
'
,
skiprows
=
10
,
encoding
=
'
ANSI
'
,
index_col
=
False
)
elif
device
==
'
ICP-FL
'
:
with
open
(
file
)
as
f
:
lines
=
f
.
readlines
()
start_time
=
lines
[
3
]
df
=
pd
.
read_csv
(
file
,
sep
=
'
\t
'
,
skiprows
=
9
,
encoding
=
'
ANSI
'
,
index_col
=
False
)
else
:
#device = ""
start_time
=
None
df
=
None
return
device
,
df
,
start_time
dir_button
=
widgets
.
Button
(
description
=
'
Choose Folder
'
)
plot_button
=
widgets
.
Button
(
description
=
'
Plot
'
)
next_file
=
widgets
.
Button
(
description
=
'
Next File
'
)
previous_file
=
widgets
.
Button
(
description
=
'
Previous file
'
)
current_file
=
widgets
.
Text
(
description
=
'
Current File
'
,
disabled
=
True
)
x_axis
=
widgets
.
Dropdown
(
description
=
'
X-Axis
'
,
disabled
=
True
)
y_axis
=
widgets
.
Dropdown
(
description
=
'
Y-Axis
'
)
output
=
widgets
.
Output
()
counter
=
0
folder
=
None
files
=
[]
df
=
None
start_time
=
None
device
=
None
buttons
=
widgets
.
HBox
([
dir_button
,
plot_button
,
previous_file
,
next_file
])
config
=
widgets
.
HBox
([
x_axis
,
y_axis
,
current_file
])
display
(
buttons
)
display
(
config
)
display
(
output
)
all_widgets
=
[
dir_button
,
plot_button
,
previous_file
,
next_file
,
y_axis
]
def
on_choose_folder_clicked
(
b
):
global
counter
,
folder
,
files
,
df
,
start_time
,
device
with
output
:
change_state
(
all_widgets
)
folder
=
choose_folder
()
os
.
chdir
(
folder
)
#change current working directory
files
=
os
.
listdir
(
os
.
getcwd
())
#get the files from the chosen directory
# get all the valid files
valid_files
=
[]
for
file
in
files
:
if
file
.
endswith
(
'
.log
'
)
==
True
:
device
=
get_device
(
file
)
if
device
!=
""
:
valid_files
.
append
(
file
)
files
=
valid_files
.
copy
()
if
len
(
files
)
==
0
:
information_box
(
"
No Valid Files Detected! Please Choose a New Folder!
"
)
else
:
counter
=
0
current_file
.
value
=
files
[
counter
]
device
,
df
,
start_time
=
read_file
(
current_file
.
value
)
options
=
list
(
df
.
columns
.
values
)
x_axis
.
options
=
[
options
[
0
]]
#only the first column
y_axis
.
options
=
options
[
1
:]
#the rest columns
x_axis
.
value
=
options
[
0
]
y_axis
.
value
=
options
[
1
]
change_state
(
all_widgets
)
dir_button
.
on_click
(
on_choose_folder_clicked
)
def
on_previous_file_clicked
(
b
):
global
counter
,
folder
,
files
,
df
,
start_time
,
device
with
output
:
change_state
(
all_widgets
)
if
counter
>
0
:
counter
=
counter
-
1
current_file
.
value
=
files
[
counter
]
device
,
df
,
start_time
=
read_file
(
current_file
.
value
)
options
=
list
(
df
.
columns
.
values
)
x_axis
.
options
=
[
options
[
0
]]
#only the first column
y_axis
.
options
=
options
[
1
:]
#the rest columns
x_axis
.
value
=
options
[
0
]
y_axis
.
value
=
options
[
1
]
else
:
information_box
(
"
There is no previous file!
"
)
change_state
(
all_widgets
)
previous_file
.
on_click
(
on_previous_file_clicked
)
def
on_next_file_clicked
(
b
):
global
counter
,
folder
,
files
,
df
,
start_time
,
device
with
output
:
change_state
(
all_widgets
)
if
counter
<
len
(
files
)
-
1
:
counter
=
counter
+
1
current_file
.
value
=
files
[
counter
]
device
,
df
,
start_time
=
read_file
(
current_file
.
value
)
options
=
list
(
df
.
columns
.
values
)
x_axis
.
options
=
[
options
[
0
]]
#only the first column
y_axis
.
options
=
options
[
1
:]
#the rest columns
x_axis
.
value
=
options
[
0
]
y_axis
.
value
=
options
[
1
]
else
:
information_box
(
"
There is no next file!
"
)
change_state
(
all_widgets
)
next_file
.
on_click
(
on_next_file_clicked
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
sentech/interface_evaluation.ipynb
0 → 100644
+
86
−
0
View file @
76db0f54
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "e615178f-e424-4ae7-a128-5428c9b562d7",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "10b418b71d7240bb9a7b4847970f5732",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HBox(children=(Button(description='Choose Folder', style=ButtonStyle()), Button(description='Plot', style=Butt…"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "67de78df200741548f24348ae8d5e349",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HBox(children=(Dropdown(description='X-Axis', disabled=True, options=(), value=None), Dropdown(description='Y-…"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e1dd9aefebfe4462b1cbc4b931c652d9",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Output()"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%run evaluation.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "3773b35c-de0e-4515-b1a2-ed0e92d63c6e",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
%% Cell type:code id:e615178f-e424-4ae7-a128-5428c9b562d7 tags:
```
python
%
run
evaluation
.
py
```
%% Output
%% Cell type:code id:3773b35c-de0e-4515-b1a2-ed0e92d63c6e tags:
```
python
```
This diff is collapsed.
Click to expand it.
sentech/read_df.ipynb
0 → 100644
+
1693
−
0
View file @
76db0f54
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "333ed23f-9444-4ff9-a353-034926fec379",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import os"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "6d412ed1-cca1-40a3-a4ed-cc47b718047f",
"metadata": {},
"outputs": [],
"source": [
"os.chdir(r\"\\\\FILESERVER\\public\\Datentransfer\\Asonitis, Alexandros\\Sentech\\ICP-Fl\")\n",
"files = os.listdir(os.getcwd())"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "df8512a5-e965-4f7d-a796-3bdab1c6ee3a",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Anlage: SI 500 RWTH Aachen\n",
"\n"
]
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Zeit (ms)</th>\n",
" <th>HF-Leistung (W)</th>\n",
" <th>HF-Bias (V)</th>\n",
" <th>ICP-Leistung (W)</th>\n",
" <th>ICP-Leistung Rückwärts (W)</th>\n",
" <th>HF-Matchbox Kondensator L (%)</th>\n",
" <th>HF-Matchbox Kondensator T (%)</th>\n",
" <th>ICP-Matchbox Kondensator L (%)</th>\n",
" <th>ICP-Matchbox Kondensator T (%)</th>\n",
" <th>Gas1 BCl3 (sccm)</th>\n",
" <th>...</th>\n",
" <th>Druck Penning (mbar)</th>\n",
" <th>Temperatur (°C)</th>\n",
" <th>He-Druck (Pa)</th>\n",
" <th>He-Fluss (sccm)</th>\n",
" <th>MSK (mbar)</th>\n",
" <th>Gas4 Ar (sccm)</th>\n",
" <th>Gas5 N2 (sccm)</th>\n",
" <th>Gas6 CF4 (sccm)</th>\n",
" <th>Gas7 O2 (sccm)</th>\n",
" <th>Gas8 SF6 (sccm)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>58.821</td>\n",
" <td>53.313</td>\n",
" <td>66.556</td>\n",
" <td>75.552</td>\n",
" <td>0.000000</td>\n",
" <td>...</td>\n",
" <td>0.000001</td>\n",
" <td>22.1</td>\n",
" <td>6.2647</td>\n",
" <td>-1.14170</td>\n",
" <td>0.070074</td>\n",
" <td>-0.079651</td>\n",
" <td>0.042725</td>\n",
" <td>-0.046143</td>\n",
" <td>0.048340</td>\n",
" <td>-0.10315</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>297</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>58.821</td>\n",
" <td>53.319</td>\n",
" <td>66.560</td>\n",
" <td>75.555</td>\n",
" <td>0.000000</td>\n",
" <td>...</td>\n",
" <td>0.000001</td>\n",
" <td>22.1</td>\n",
" <td>6.2647</td>\n",
" <td>-1.15050</td>\n",
" <td>0.070154</td>\n",
" <td>-0.106200</td>\n",
" <td>0.018311</td>\n",
" <td>0.015381</td>\n",
" <td>0.006043</td>\n",
" <td>-0.10315</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>531</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>58.818</td>\n",
" <td>53.319</td>\n",
" <td>66.556</td>\n",
" <td>75.555</td>\n",
" <td>-0.005005</td>\n",
" <td>...</td>\n",
" <td>0.000001</td>\n",
" <td>22.1</td>\n",
" <td>6.2647</td>\n",
" <td>-1.15050</td>\n",
" <td>0.070154</td>\n",
" <td>-0.106200</td>\n",
" <td>0.000000</td>\n",
" <td>0.046143</td>\n",
" <td>0.036255</td>\n",
" <td>-0.10315</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>812</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>58.812</td>\n",
" <td>53.313</td>\n",
" <td>66.556</td>\n",
" <td>75.552</td>\n",
" <td>0.000000</td>\n",
" <td>...</td>\n",
" <td>0.000001</td>\n",
" <td>22.1</td>\n",
" <td>6.3461</td>\n",
" <td>-1.14610</td>\n",
" <td>0.070154</td>\n",
" <td>-0.115050</td>\n",
" <td>0.036621</td>\n",
" <td>0.030762</td>\n",
" <td>0.006043</td>\n",
" <td>-0.12695</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>1047</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>58.821</td>\n",
" <td>53.313</td>\n",
" <td>66.560</td>\n",
" <td>75.552</td>\n",
" <td>0.000000</td>\n",
" <td>...</td>\n",
" <td>0.000001</td>\n",
" <td>22.1</td>\n",
" <td>6.2647</td>\n",
" <td>-1.14610</td>\n",
" <td>0.070234</td>\n",
" <td>-0.097351</td>\n",
" <td>0.042725</td>\n",
" <td>0.005127</td>\n",
" <td>0.006043</td>\n",
" <td>-0.11108</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2564</th>\n",
" <td>722156</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>60.701</td>\n",
" <td>48.595</td>\n",
" <td>68.528</td>\n",
" <td>73.879</td>\n",
" <td>-0.010010</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>27.7</td>\n",
" <td>29.2900</td>\n",
" <td>-0.95581</td>\n",
" <td>449.370000</td>\n",
" <td>-0.061951</td>\n",
" <td>0.079346</td>\n",
" <td>0.030762</td>\n",
" <td>0.018127</td>\n",
" <td>-0.12695</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2565</th>\n",
" <td>722437</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>60.701</td>\n",
" <td>49.004</td>\n",
" <td>68.528</td>\n",
" <td>73.879</td>\n",
" <td>-0.015015</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>27.6</td>\n",
" <td>29.5340</td>\n",
" <td>-0.93369</td>\n",
" <td>468.950000</td>\n",
" <td>-0.035400</td>\n",
" <td>0.140380</td>\n",
" <td>0.030762</td>\n",
" <td>0.018127</td>\n",
" <td>-0.12695</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2566</th>\n",
" <td>722734</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>60.701</td>\n",
" <td>48.595</td>\n",
" <td>68.525</td>\n",
" <td>73.879</td>\n",
" <td>0.007507</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>27.7</td>\n",
" <td>29.6150</td>\n",
" <td>-0.95139</td>\n",
" <td>468.950000</td>\n",
" <td>-0.053101</td>\n",
" <td>0.067139</td>\n",
" <td>0.025635</td>\n",
" <td>0.018127</td>\n",
" <td>-0.13489</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2567</th>\n",
" <td>723812</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>60.698</td>\n",
" <td>48.598</td>\n",
" <td>68.525</td>\n",
" <td>73.876</td>\n",
" <td>0.000000</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>27.7</td>\n",
" <td>29.6150</td>\n",
" <td>-0.94696</td>\n",
" <td>479.060000</td>\n",
" <td>-0.053101</td>\n",
" <td>0.067139</td>\n",
" <td>0.025635</td>\n",
" <td>0.018127</td>\n",
" <td>-0.13489</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2568</th>\n",
" <td>724172</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>60.814</td>\n",
" <td>48.708</td>\n",
" <td>68.656</td>\n",
" <td>74.007</td>\n",
" <td>-0.005005</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>27.6</td>\n",
" <td>29.9400</td>\n",
" <td>-0.93811</td>\n",
" <td>468.950000</td>\n",
" <td>-0.106200</td>\n",
" <td>7.635500</td>\n",
" <td>0.030762</td>\n",
" <td>0.000000</td>\n",
" <td>-0.12695</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>2569 rows × 23 columns</p>\n",
"</div>"
],
"text/plain": [
" Zeit (ms) HF-Leistung (W) HF-Bias (V) ICP-Leistung (W) \\\n",
"0 0 0.0 0.0 0.0 \n",
"1 297 0.0 0.0 0.0 \n",
"2 531 0.0 0.0 0.0 \n",
"3 812 0.0 0.0 0.0 \n",
"4 1047 0.0 0.0 0.0 \n",
"... ... ... ... ... \n",
"2564 722156 0.0 0.0 0.0 \n",
"2565 722437 0.0 0.0 0.0 \n",
"2566 722734 0.0 0.0 0.0 \n",
"2567 723812 0.0 0.0 0.0 \n",
"2568 724172 0.0 0.0 0.0 \n",
"\n",
" ICP-Leistung Rückwärts (W) HF-Matchbox Kondensator L (%) \\\n",
"0 0.0 58.821 \n",
"1 0.0 58.821 \n",
"2 0.0 58.818 \n",
"3 0.0 58.812 \n",
"4 0.0 58.821 \n",
"... ... ... \n",
"2564 0.0 60.701 \n",
"2565 0.0 60.701 \n",
"2566 0.0 60.701 \n",
"2567 0.0 60.698 \n",
"2568 0.0 60.814 \n",
"\n",
" HF-Matchbox Kondensator T (%) ICP-Matchbox Kondensator L (%) \\\n",
"0 53.313 66.556 \n",
"1 53.319 66.560 \n",
"2 53.319 66.556 \n",
"3 53.313 66.556 \n",
"4 53.313 66.560 \n",
"... ... ... \n",
"2564 48.595 68.528 \n",
"2565 49.004 68.528 \n",
"2566 48.595 68.525 \n",
"2567 48.598 68.525 \n",
"2568 48.708 68.656 \n",
"\n",
" ICP-Matchbox Kondensator T (%) Gas1 BCl3 (sccm) ... \\\n",
"0 75.552 0.000000 ... \n",
"1 75.555 0.000000 ... \n",
"2 75.555 -0.005005 ... \n",
"3 75.552 0.000000 ... \n",
"4 75.552 0.000000 ... \n",
"... ... ... ... \n",
"2564 73.879 -0.010010 ... \n",
"2565 73.879 -0.015015 ... \n",
"2566 73.879 0.007507 ... \n",
"2567 73.876 0.000000 ... \n",
"2568 74.007 -0.005005 ... \n",
"\n",
" Druck Penning (mbar) Temperatur (°C) He-Druck (Pa) He-Fluss (sccm) \\\n",
"0 0.000001 22.1 6.2647 -1.14170 \n",
"1 0.000001 22.1 6.2647 -1.15050 \n",
"2 0.000001 22.1 6.2647 -1.15050 \n",
"3 0.000001 22.1 6.3461 -1.14610 \n",
"4 0.000001 22.1 6.2647 -1.14610 \n",
"... ... ... ... ... \n",
"2564 NaN 27.7 29.2900 -0.95581 \n",
"2565 NaN 27.6 29.5340 -0.93369 \n",
"2566 NaN 27.7 29.6150 -0.95139 \n",
"2567 NaN 27.7 29.6150 -0.94696 \n",
"2568 NaN 27.6 29.9400 -0.93811 \n",
"\n",
" MSK (mbar) Gas4 Ar (sccm) Gas5 N2 (sccm) Gas6 CF4 (sccm) \\\n",
"0 0.070074 -0.079651 0.042725 -0.046143 \n",
"1 0.070154 -0.106200 0.018311 0.015381 \n",
"2 0.070154 -0.106200 0.000000 0.046143 \n",
"3 0.070154 -0.115050 0.036621 0.030762 \n",
"4 0.070234 -0.097351 0.042725 0.005127 \n",
"... ... ... ... ... \n",
"2564 449.370000 -0.061951 0.079346 0.030762 \n",
"2565 468.950000 -0.035400 0.140380 0.030762 \n",
"2566 468.950000 -0.053101 0.067139 0.025635 \n",
"2567 479.060000 -0.053101 0.067139 0.025635 \n",
"2568 468.950000 -0.106200 7.635500 0.030762 \n",
"\n",
" Gas7 O2 (sccm) Gas8 SF6 (sccm) \n",
"0 0.048340 -0.10315 \n",
"1 0.006043 -0.10315 \n",
"2 0.036255 -0.10315 \n",
"3 0.006043 -0.12695 \n",
"4 0.006043 -0.11108 \n",
"... ... ... \n",
"2564 0.018127 -0.12695 \n",
"2565 0.018127 -0.12695 \n",
"2566 0.018127 -0.13489 \n",
"2567 0.018127 -0.13489 \n",
"2568 0.000000 -0.12695 \n",
"\n",
"[2569 rows x 23 columns]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#that is what we need for ICP FL\n",
"with open(files[0]) as f:\n",
" for i,line in enumerate(f):\n",
" if i == 1:\n",
" system = line\n",
" print(line)\n",
" if i==3:\n",
" start_time=line\n",
"\n",
"df = pd.read_csv(files[0],sep ='\\t',skiprows = 9,encoding = 'ANSI',index_col=False) \n",
"display(df)\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "b9a56914-ea70-4ac0-8dd9-3bf58bca921d",
"metadata": {},
"outputs": [],
"source": [
"# This is what we need for ICP-Cl \n",
"\n",
"os.chdir(r\"\\\\FILESERVER\\public\\Datentransfer\\Asonitis, Alexandros\\Sentech\\ICP-Cl\")\n",
"files = os.listdir(os.getcwd())"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "3e11ce4e",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"System: SI 500 RWTH Aachen [500-211]\n",
"\n"
]
}
],
"source": [
"with open(files[0]) as f:\n",
" for i,line in enumerate(f):\n",
" if i == 1:\n",
" system = line\n",
" print(line)\n",
" if i == 4:\n",
" start_time = line"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "154676ca",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>time (ms)</th>\n",
" <th>Penning pr. (mbar)</th>\n",
" <th>gas 5 (O2) (sccm)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>0.000003</td>\n",
" <td>-0.10876</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>265</td>\n",
" <td>0.000003</td>\n",
" <td>-0.13898</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>562</td>\n",
" <td>0.000003</td>\n",
" <td>-0.13898</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>843</td>\n",
" <td>0.000003</td>\n",
" <td>-0.15710</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>1186</td>\n",
" <td>0.000003</td>\n",
" <td>-0.09668</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1465</th>\n",
" <td>397194</td>\n",
" <td>NaN</td>\n",
" <td>-0.14502</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1466</th>\n",
" <td>397990</td>\n",
" <td>NaN</td>\n",
" <td>-0.13898</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1467</th>\n",
" <td>398271</td>\n",
" <td>NaN</td>\n",
" <td>-0.11481</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1468</th>\n",
" <td>398848</td>\n",
" <td>NaN</td>\n",
" <td>-0.14502</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1469</th>\n",
" <td>399176</td>\n",
" <td>NaN</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>1470 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" time (ms) Penning pr. (mbar) gas 5 (O2) (sccm)\n",
"0 0 0.000003 -0.10876\n",
"1 265 0.000003 -0.13898\n",
"2 562 0.000003 -0.13898\n",
"3 843 0.000003 -0.15710\n",
"4 1186 0.000003 -0.09668\n",
"... ... ... ...\n",
"1465 397194 NaN -0.14502\n",
"1466 397990 NaN -0.13898\n",
"1467 398271 NaN -0.11481\n",
"1468 398848 NaN -0.14502\n",
"1469 399176 NaN -0.12689\n",
"\n",
"[1470 rows x 3 columns]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>time (ms)</th>\n",
" <th>Penning pr. (mbar)</th>\n",
" <th>gas 5 (O2) (sccm)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>2.877800e-07</td>\n",
" <td>-0.11481</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>780</td>\n",
" <td>2.879800e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>1061</td>\n",
" <td>2.863700e-07</td>\n",
" <td>-0.15106</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>1856</td>\n",
" <td>2.857700e-07</td>\n",
" <td>-0.11481</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>2122</td>\n",
" <td>2.859700e-07</td>\n",
" <td>-0.15106</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3941</th>\n",
" <td>1066236</td>\n",
" <td>5.238900e-10</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3942</th>\n",
" <td>1066470</td>\n",
" <td>3.290200e-10</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3943</th>\n",
" <td>1066750</td>\n",
" <td>1.691300e-10</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3944</th>\n",
" <td>1067031</td>\n",
" <td>1.334700e-10</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3945</th>\n",
" <td>1067562</td>\n",
" <td>1.334700e-10</td>\n",
" <td>-0.11481</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>3946 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" time (ms) Penning pr. (mbar) gas 5 (O2) (sccm)\n",
"0 0 2.877800e-07 -0.11481\n",
"1 780 2.879800e-07 -0.12085\n",
"2 1061 2.863700e-07 -0.15106\n",
"3 1856 2.857700e-07 -0.11481\n",
"4 2122 2.859700e-07 -0.15106\n",
"... ... ... ...\n",
"3941 1066236 5.238900e-10 -0.12085\n",
"3942 1066470 3.290200e-10 -0.12689\n",
"3943 1066750 1.691300e-10 -0.12689\n",
"3944 1067031 1.334700e-10 -0.12085\n",
"3945 1067562 1.334700e-10 -0.11481\n",
"\n",
"[3946 rows x 3 columns]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>time (ms)</th>\n",
" <th>Penning pr. (mbar)</th>\n",
" <th>gas 5 (O2) (sccm)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>6.233800e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>312</td>\n",
" <td>6.229400e-07</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>983</td>\n",
" <td>6.207500e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>1248</td>\n",
" <td>6.164100e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>1514</td>\n",
" <td>6.155400e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1219</th>\n",
" <td>331674</td>\n",
" <td>NaN</td>\n",
" <td>-0.14502</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1220</th>\n",
" <td>331986</td>\n",
" <td>NaN</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1221</th>\n",
" <td>332610</td>\n",
" <td>NaN</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1222</th>\n",
" <td>332875</td>\n",
" <td>NaN</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1223</th>\n",
" <td>333187</td>\n",
" <td>NaN</td>\n",
" <td>-0.13898</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>1224 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" time (ms) Penning pr. (mbar) gas 5 (O2) (sccm)\n",
"0 0 6.233800e-07 -0.12085\n",
"1 312 6.229400e-07 -0.12689\n",
"2 983 6.207500e-07 -0.12085\n",
"3 1248 6.164100e-07 -0.12085\n",
"4 1514 6.155400e-07 -0.12085\n",
"... ... ... ...\n",
"1219 331674 NaN -0.14502\n",
"1220 331986 NaN -0.12085\n",
"1221 332610 NaN -0.12085\n",
"1222 332875 NaN -0.12689\n",
"1223 333187 NaN -0.13898\n",
"\n",
"[1224 rows x 3 columns]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>time (ms)</th>\n",
" <th>Penning pr. (mbar)</th>\n",
" <th>gas 5 (O2) (sccm)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>0.000003</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>280</td>\n",
" <td>0.000003</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>592</td>\n",
" <td>0.000003</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>904</td>\n",
" <td>0.000003</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>1076</td>\n",
" <td>0.000003</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1464</th>\n",
" <td>400626</td>\n",
" <td>NaN</td>\n",
" <td>-0.16919</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1465</th>\n",
" <td>400922</td>\n",
" <td>NaN</td>\n",
" <td>-0.11481</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1466</th>\n",
" <td>401593</td>\n",
" <td>NaN</td>\n",
" <td>-0.11481</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1467</th>\n",
" <td>401858</td>\n",
" <td>NaN</td>\n",
" <td>-0.09668</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1468</th>\n",
" <td>402139</td>\n",
" <td>NaN</td>\n",
" <td>-0.14502</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>1469 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" time (ms) Penning pr. (mbar) gas 5 (O2) (sccm)\n",
"0 0 0.000003 -0.12689\n",
"1 280 0.000003 -0.12689\n",
"2 592 0.000003 -0.12085\n",
"3 904 0.000003 -0.12085\n",
"4 1076 0.000003 -0.12085\n",
"... ... ... ...\n",
"1464 400626 NaN -0.16919\n",
"1465 400922 NaN -0.11481\n",
"1466 401593 NaN -0.11481\n",
"1467 401858 NaN -0.09668\n",
"1468 402139 NaN -0.14502\n",
"\n",
"[1469 rows x 3 columns]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>time (ms)</th>\n",
" <th>Penning pr. (mbar)</th>\n",
" <th>gas 5 (O2) (sccm)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>7.378900e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>312</td>\n",
" <td>7.394500e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>1139</td>\n",
" <td>7.378900e-07</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>1404</td>\n",
" <td>7.399700e-07</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>2247</td>\n",
" <td>7.363400e-07</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3612</th>\n",
" <td>978813</td>\n",
" <td>2.229500e-09</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3613</th>\n",
" <td>979094</td>\n",
" <td>1.869000e-09</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3614</th>\n",
" <td>979359</td>\n",
" <td>1.597900e-09</td>\n",
" <td>-0.13898</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3615</th>\n",
" <td>979609</td>\n",
" <td>1.309700e-09</td>\n",
" <td>-0.12689</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3616</th>\n",
" <td>980201</td>\n",
" <td>1.145200e-09</td>\n",
" <td>-0.12085</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>3617 rows × 3 columns</p>\n",
"</div>"
],
"text/plain": [
" time (ms) Penning pr. (mbar) gas 5 (O2) (sccm)\n",
"0 0 7.378900e-07 -0.12085\n",
"1 312 7.394500e-07 -0.12085\n",
"2 1139 7.378900e-07 -0.12689\n",
"3 1404 7.399700e-07 -0.12085\n",
"4 2247 7.363400e-07 -0.12689\n",
"... ... ... ...\n",
"3612 978813 2.229500e-09 -0.12085\n",
"3613 979094 1.869000e-09 -0.12085\n",
"3614 979359 1.597900e-09 -0.13898\n",
"3615 979609 1.309700e-09 -0.12689\n",
"3616 980201 1.145200e-09 -0.12085\n",
"\n",
"[3617 rows x 3 columns]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"for file in files:\n",
" df = pd.read_csv(file,sep ='\\t',skiprows = 10,encoding = 'ANSI',index_col=False) \n",
" display(df)"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "b98a2c4f",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"System: SI ALD RWTH [ALD 007]\n",
"\n",
"Starting time: 12.03.2024 12:12:25\n",
"\n"
]
}
],
"source": [
"# this is what we need for ALD\n",
"\n",
"os.chdir(r\"\\\\FILESERVER\\public\\Datentransfer\\Asonitis, Alexandros\\Sentech\\ALD\")\n",
"files = os.listdir(os.getcwd())\n",
"\n",
"\n",
"with open(files[0]) as f:\n",
" for i,line in enumerate(f):\n",
" if i == 1:\n",
" system = line\n",
" print(system)\n",
" if i == 4:\n",
" start_time = line\n",
" print(start_time)\n"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "9b7a0ec6",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>time (ms)</th>\n",
" <th>Baratron pr. (Pa)</th>\n",
" <th>MSK (Pa)</th>\n",
" <th>PS matchbox C load (%)</th>\n",
" <th>Heating pwr. (%)</th>\n",
" <th>Auxiliary input 1 (Bias)</th>\n",
" <th>Pwr. int. contr. 1 (Reaktordeckel) (%)</th>\n",
" <th>Pwr. int. contr. 2 (Reaktor) (%)</th>\n",
" <th>Pwr. int. contr. 3 (Reaktorboden) (%)</th>\n",
" <th>Pwr. int. contr. 8 (ALD Linie 2) (%)</th>\n",
" <th>...</th>\n",
" <th>gas 1 (N2) (sccm)</th>\n",
" <th>gas 2 (O2) (sccm)</th>\n",
" <th>gas 3 (H2 4% in Ar) (sccm)</th>\n",
" <th>ALD2 gas (N2) (sccm)</th>\n",
" <th>Temp. int. contr. 1 (Reaktordeckel) (°C)</th>\n",
" <th>Temp. int. contr. 2 (Reaktor) (°C)</th>\n",
" <th>Temp. int. contr. 3 (Reaktorboden) (°C)</th>\n",
" <th>Temp. int. contr. 8 (ALD Linie 2) (°C)</th>\n",
" <th>Temp. int. contr. 9 (Purge Linie 2) (°C)</th>\n",
" <th>Temp. int. contr. 14 (Tor Reaktor) (°C)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0</td>\n",
" <td>1.0252</td>\n",
" <td>7.8350</td>\n",
" <td>61.950</td>\n",
" <td>14.633</td>\n",
" <td>4.3947</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.079346</td>\n",
" <td>-0.24170</td>\n",
" <td>0.53101</td>\n",
" <td>-0.427250</td>\n",
" <td>100.0</td>\n",
" <td>100.2</td>\n",
" <td>100.9</td>\n",
" <td>121.6</td>\n",
" <td>124.0</td>\n",
" <td>101.1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>156</td>\n",
" <td>1.0252</td>\n",
" <td>7.8350</td>\n",
" <td>61.950</td>\n",
" <td>14.633</td>\n",
" <td>4.3947</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.079346</td>\n",
" <td>-0.24170</td>\n",
" <td>0.35400</td>\n",
" <td>-0.427250</td>\n",
" <td>100.0</td>\n",
" <td>100.2</td>\n",
" <td>100.9</td>\n",
" <td>121.6</td>\n",
" <td>124.0</td>\n",
" <td>101.1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>312</td>\n",
" <td>1.0252</td>\n",
" <td>7.8350</td>\n",
" <td>61.946</td>\n",
" <td>14.633</td>\n",
" <td>4.3947</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.079346</td>\n",
" <td>-0.24170</td>\n",
" <td>0.35400</td>\n",
" <td>-0.427250</td>\n",
" <td>100.0</td>\n",
" <td>100.2</td>\n",
" <td>100.9</td>\n",
" <td>121.6</td>\n",
" <td>124.0</td>\n",
" <td>101.1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>468</td>\n",
" <td>1.0252</td>\n",
" <td>7.8393</td>\n",
" <td>61.950</td>\n",
" <td>14.633</td>\n",
" <td>4.3947</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.073242</td>\n",
" <td>-0.24170</td>\n",
" <td>0.13275</td>\n",
" <td>-0.366210</td>\n",
" <td>100.0</td>\n",
" <td>100.2</td>\n",
" <td>100.9</td>\n",
" <td>121.6</td>\n",
" <td>124.0</td>\n",
" <td>101.1</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>624</td>\n",
" <td>1.0292</td>\n",
" <td>7.8350</td>\n",
" <td>61.950</td>\n",
" <td>14.633</td>\n",
" <td>4.3947</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.073242</td>\n",
" <td>-0.21149</td>\n",
" <td>0.26550</td>\n",
" <td>-0.457760</td>\n",
" <td>100.0</td>\n",
" <td>100.2</td>\n",
" <td>100.9</td>\n",
" <td>121.6</td>\n",
" <td>124.0</td>\n",
" <td>101.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15182</th>\n",
" <td>2927000</td>\n",
" <td>1.0821</td>\n",
" <td>1.1672</td>\n",
" <td>61.965</td>\n",
" <td>14.050</td>\n",
" <td>3.9064</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.067139</td>\n",
" <td>0.66467</td>\n",
" <td>0.35400</td>\n",
" <td>-0.061035</td>\n",
" <td>100.1</td>\n",
" <td>100.0</td>\n",
" <td>100.3</td>\n",
" <td>124.5</td>\n",
" <td>121.0</td>\n",
" <td>100.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15183</th>\n",
" <td>2927156</td>\n",
" <td>1.0821</td>\n",
" <td>1.1788</td>\n",
" <td>61.965</td>\n",
" <td>14.050</td>\n",
" <td>3.7843</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.067139</td>\n",
" <td>0.69489</td>\n",
" <td>0.30975</td>\n",
" <td>-0.091553</td>\n",
" <td>100.1</td>\n",
" <td>100.0</td>\n",
" <td>100.3</td>\n",
" <td>124.6</td>\n",
" <td>121.0</td>\n",
" <td>100.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15184</th>\n",
" <td>2927437</td>\n",
" <td>1.0821</td>\n",
" <td>1.1788</td>\n",
" <td>61.965</td>\n",
" <td>14.050</td>\n",
" <td>3.7843</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.067139</td>\n",
" <td>0.69489</td>\n",
" <td>0.30975</td>\n",
" <td>-0.091553</td>\n",
" <td>100.1</td>\n",
" <td>100.0</td>\n",
" <td>100.3</td>\n",
" <td>124.6</td>\n",
" <td>121.0</td>\n",
" <td>100.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15185</th>\n",
" <td>2927655</td>\n",
" <td>1.0821</td>\n",
" <td>1.1788</td>\n",
" <td>61.965</td>\n",
" <td>14.050</td>\n",
" <td>3.7843</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.067139</td>\n",
" <td>0.69489</td>\n",
" <td>0.30975</td>\n",
" <td>-0.091553</td>\n",
" <td>100.1</td>\n",
" <td>100.0</td>\n",
" <td>100.3</td>\n",
" <td>124.6</td>\n",
" <td>121.0</td>\n",
" <td>100.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15186</th>\n",
" <td>2927889</td>\n",
" <td>1.0781</td>\n",
" <td>1.1969</td>\n",
" <td>61.962</td>\n",
" <td>14.050</td>\n",
" <td>4.0284</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>31.251</td>\n",
" <td>...</td>\n",
" <td>0.128170</td>\n",
" <td>0.78552</td>\n",
" <td>0.35400</td>\n",
" <td>-0.091553</td>\n",
" <td>100.1</td>\n",
" <td>100.0</td>\n",
" <td>100.2</td>\n",
" <td>124.6</td>\n",
" <td>121.0</td>\n",
" <td>100.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>15187 rows × 28 columns</p>\n",
"</div>"
],
"text/plain": [
" time (ms) Baratron pr. (Pa) MSK (Pa) PS matchbox C load (%) \\\n",
"0 0 1.0252 7.8350 61.950 \n",
"1 156 1.0252 7.8350 61.950 \n",
"2 312 1.0252 7.8350 61.946 \n",
"3 468 1.0252 7.8393 61.950 \n",
"4 624 1.0292 7.8350 61.950 \n",
"... ... ... ... ... \n",
"15182 2927000 1.0821 1.1672 61.965 \n",
"15183 2927156 1.0821 1.1788 61.965 \n",
"15184 2927437 1.0821 1.1788 61.965 \n",
"15185 2927655 1.0821 1.1788 61.965 \n",
"15186 2927889 1.0781 1.1969 61.962 \n",
"\n",
" Heating pwr. (%) Auxiliary input 1 (Bias) \\\n",
"0 14.633 4.3947 \n",
"1 14.633 4.3947 \n",
"2 14.633 4.3947 \n",
"3 14.633 4.3947 \n",
"4 14.633 4.3947 \n",
"... ... ... \n",
"15182 14.050 3.9064 \n",
"15183 14.050 3.7843 \n",
"15184 14.050 3.7843 \n",
"15185 14.050 3.7843 \n",
"15186 14.050 4.0284 \n",
"\n",
" Pwr. int. contr. 1 (Reaktordeckel) (%) \\\n",
"0 0.0 \n",
"1 0.0 \n",
"2 0.0 \n",
"3 0.0 \n",
"4 0.0 \n",
"... ... \n",
"15182 0.0 \n",
"15183 0.0 \n",
"15184 0.0 \n",
"15185 0.0 \n",
"15186 0.0 \n",
"\n",
" Pwr. int. contr. 2 (Reaktor) (%) \\\n",
"0 0.0 \n",
"1 0.0 \n",
"2 0.0 \n",
"3 0.0 \n",
"4 0.0 \n",
"... ... \n",
"15182 0.0 \n",
"15183 0.0 \n",
"15184 0.0 \n",
"15185 0.0 \n",
"15186 0.0 \n",
"\n",
" Pwr. int. contr. 3 (Reaktorboden) (%) \\\n",
"0 0.0 \n",
"1 0.0 \n",
"2 0.0 \n",
"3 0.0 \n",
"4 0.0 \n",
"... ... \n",
"15182 0.0 \n",
"15183 0.0 \n",
"15184 0.0 \n",
"15185 0.0 \n",
"15186 0.0 \n",
"\n",
" Pwr. int. contr. 8 (ALD Linie 2) (%) ... gas 1 (N2) (sccm) \\\n",
"0 31.251 ... 0.079346 \n",
"1 31.251 ... 0.079346 \n",
"2 31.251 ... 0.079346 \n",
"3 31.251 ... 0.073242 \n",
"4 31.251 ... 0.073242 \n",
"... ... ... ... \n",
"15182 31.251 ... 0.067139 \n",
"15183 31.251 ... 0.067139 \n",
"15184 31.251 ... 0.067139 \n",
"15185 31.251 ... 0.067139 \n",
"15186 31.251 ... 0.128170 \n",
"\n",
" gas 2 (O2) (sccm) gas 3 (H2 4% in Ar) (sccm) ALD2 gas (N2) (sccm) \\\n",
"0 -0.24170 0.53101 -0.427250 \n",
"1 -0.24170 0.35400 -0.427250 \n",
"2 -0.24170 0.35400 -0.427250 \n",
"3 -0.24170 0.13275 -0.366210 \n",
"4 -0.21149 0.26550 -0.457760 \n",
"... ... ... ... \n",
"15182 0.66467 0.35400 -0.061035 \n",
"15183 0.69489 0.30975 -0.091553 \n",
"15184 0.69489 0.30975 -0.091553 \n",
"15185 0.69489 0.30975 -0.091553 \n",
"15186 0.78552 0.35400 -0.091553 \n",
"\n",
" Temp. int. contr. 1 (Reaktordeckel) (°C) \\\n",
"0 100.0 \n",
"1 100.0 \n",
"2 100.0 \n",
"3 100.0 \n",
"4 100.0 \n",
"... ... \n",
"15182 100.1 \n",
"15183 100.1 \n",
"15184 100.1 \n",
"15185 100.1 \n",
"15186 100.1 \n",
"\n",
" Temp. int. contr. 2 (Reaktor) (°C) \\\n",
"0 100.2 \n",
"1 100.2 \n",
"2 100.2 \n",
"3 100.2 \n",
"4 100.2 \n",
"... ... \n",
"15182 100.0 \n",
"15183 100.0 \n",
"15184 100.0 \n",
"15185 100.0 \n",
"15186 100.0 \n",
"\n",
" Temp. int. contr. 3 (Reaktorboden) (°C) \\\n",
"0 100.9 \n",
"1 100.9 \n",
"2 100.9 \n",
"3 100.9 \n",
"4 100.9 \n",
"... ... \n",
"15182 100.3 \n",
"15183 100.3 \n",
"15184 100.3 \n",
"15185 100.3 \n",
"15186 100.2 \n",
"\n",
" Temp. int. contr. 8 (ALD Linie 2) (°C) \\\n",
"0 121.6 \n",
"1 121.6 \n",
"2 121.6 \n",
"3 121.6 \n",
"4 121.6 \n",
"... ... \n",
"15182 124.5 \n",
"15183 124.6 \n",
"15184 124.6 \n",
"15185 124.6 \n",
"15186 124.6 \n",
"\n",
" Temp. int. contr. 9 (Purge Linie 2) (°C) \\\n",
"0 124.0 \n",
"1 124.0 \n",
"2 124.0 \n",
"3 124.0 \n",
"4 124.0 \n",
"... ... \n",
"15182 121.0 \n",
"15183 121.0 \n",
"15184 121.0 \n",
"15185 121.0 \n",
"15186 121.0 \n",
"\n",
" Temp. int. contr. 14 (Tor Reaktor) (°C) \n",
"0 101.1 \n",
"1 101.1 \n",
"2 101.1 \n",
"3 101.1 \n",
"4 101.0 \n",
"... ... \n",
"15182 100.0 \n",
"15183 100.0 \n",
"15184 100.0 \n",
"15185 100.0 \n",
"15186 100.0 \n",
"\n",
"[15187 rows x 28 columns]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"df = pd.read_csv(files[0],sep ='\\t',skiprows = 10,encoding = 'ANSI',index_col=False) \n",
"display(df)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "c56a10fc",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"['time (ms)', 'Baratron pr. (Pa)', 'MSK (Pa)', 'PS matchbox C load (%)', 'Heating pwr. (%)', 'Auxiliary input 1 (Bias)', 'Pwr. int. contr. 1 (Reaktordeckel) (%)', 'Pwr. int. contr. 2 (Reaktor) (%)', 'Pwr. int. contr. 3 (Reaktorboden) (%)', 'Pwr. int. contr. 8 (ALD Linie 2) (%)', 'Pwr. int. contr. 9 (Purge Linie 2) (%)', 'Pwr. int. contr. 14 (Tor Reaktor) (%)', 'Sequencer run', 'PS power (W)', 'PS power reflected (W)', 'Temperature (°C)', 'PS matchbox C tune (%)', 'Throttle position (%)', 'gas 1 (N2) (sccm)', 'gas 2 (O2) (sccm)', 'gas 3 (H2 4% in Ar) (sccm)', 'ALD2 gas (N2) (sccm)', 'Temp. int. contr. 1 (Reaktordeckel) (°C)', 'Temp. int. contr. 2 (Reaktor) (°C)', 'Temp. int. contr. 3 (Reaktorboden) (°C)', 'Temp. int. contr. 8 (ALD Linie 2) (°C)', 'Temp. int. contr. 9 (Purge Linie 2) (°C)', 'Temp. int. contr. 14 (Tor Reaktor) (°C)']\n"
]
}
],
"source": [
"print(list(df.columns.values))"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "953f5b12-2cfb-48e2-ab44-ec4c7f27fec5",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
%% Cell type:code id:333ed23f-9444-4ff9-a353-034926fec379 tags:
```
python
import
pandas
as
pd
import
os
```
%% Cell type:code id:6d412ed1-cca1-40a3-a4ed-cc47b718047f tags:
```
python
os
.
chdir
(
r
"
\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\Sentech\ICP-Fl
"
)
files
=
os
.
listdir
(
os
.
getcwd
())
```
%% Cell type:code id:df8512a5-e965-4f7d-a796-3bdab1c6ee3a tags:
```
python
#that is what we need for ICP FL
with
open
(
files
[
0
])
as
f
:
for
i
,
line
in
enumerate
(
f
):
if
i
==
1
:
system
=
line
print
(
line
)
if
i
==
3
:
start_time
=
line
df
=
pd
.
read_csv
(
files
[
0
],
sep
=
'
\t
'
,
skiprows
=
9
,
encoding
=
'
ANSI
'
,
index_col
=
False
)
display
(
df
)
```
%% Output
Anlage: SI 500 RWTH Aachen
%% Cell type:code id:b9a56914-ea70-4ac0-8dd9-3bf58bca921d tags:
```
python
# This is what we need for ICP-Cl
os
.
chdir
(
r
"
\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\Sentech\ICP-Cl
"
)
files
=
os
.
listdir
(
os
.
getcwd
())
```
%% Cell type:code id:3e11ce4e tags:
```
python
with
open
(
files
[
0
])
as
f
:
for
i
,
line
in
enumerate
(
f
):
if
i
==
1
:
system
=
line
print
(
line
)
if
i
==
4
:
start_time
=
line
```
%% Output
System: SI 500 RWTH Aachen [500-211]
%% Cell type:code id:154676ca tags:
```
python
for
file
in
files
:
df
=
pd
.
read_csv
(
file
,
sep
=
'
\t
'
,
skiprows
=
10
,
encoding
=
'
ANSI
'
,
index_col
=
False
)
display
(
df
)
```
%% Output
%% Cell type:code id:b98a2c4f tags:
```
python
# this is what we need for ALD
os
.
chdir
(
r
"
\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\Sentech\ALD
"
)
files
=
os
.
listdir
(
os
.
getcwd
())
with
open
(
files
[
0
])
as
f
:
for
i
,
line
in
enumerate
(
f
):
if
i
==
1
:
system
=
line
print
(
system
)
if
i
==
4
:
start_time
=
line
print
(
start_time
)
```
%% Output
System: SI ALD RWTH [ALD 007]
Starting time: 12.03.2024 12:12:25
%% Cell type:code id:9b7a0ec6 tags:
```
python
df
=
pd
.
read_csv
(
files
[
0
],
sep
=
'
\t
'
,
skiprows
=
10
,
encoding
=
'
ANSI
'
,
index_col
=
False
)
display
(
df
)
```
%% Output
%% Cell type:code id:c56a10fc tags:
```
python
print
(
list
(
df
.
columns
.
values
))
```
%% Output
['time (ms)', 'Baratron pr. (Pa)', 'MSK (Pa)', 'PS matchbox C load (%)', 'Heating pwr. (%)', 'Auxiliary input 1 (Bias)', 'Pwr. int. contr. 1 (Reaktordeckel) (%)', 'Pwr. int. contr. 2 (Reaktor) (%)', 'Pwr. int. contr. 3 (Reaktorboden) (%)', 'Pwr. int. contr. 8 (ALD Linie 2) (%)', 'Pwr. int. contr. 9 (Purge Linie 2) (%)', 'Pwr. int. contr. 14 (Tor Reaktor) (%)', 'Sequencer run', 'PS power (W)', 'PS power reflected (W)', 'Temperature (°C)', 'PS matchbox C tune (%)', 'Throttle position (%)', 'gas 1 (N2) (sccm)', 'gas 2 (O2) (sccm)', 'gas 3 (H2 4% in Ar) (sccm)', 'ALD2 gas (N2) (sccm)', 'Temp. int. contr. 1 (Reaktordeckel) (°C)', 'Temp. int. contr. 2 (Reaktor) (°C)', 'Temp. int. contr. 3 (Reaktorboden) (°C)', 'Temp. int. contr. 8 (ALD Linie 2) (°C)', 'Temp. int. contr. 9 (Purge Linie 2) (°C)', 'Temp. int. contr. 14 (Tor Reaktor) (°C)']
%% Cell type:code id:953f5b12-2cfb-48e2-ab44-ec4c7f27fec5 tags:
```
python
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment