Skip to content
Snippets Groups Projects
Commit bbe45d6d authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

TLM Works!

parent 1601b305
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -396,7 +396,7 @@ def tlm_final(field_name ='M00',start=-50*10**(-3),stop=50*10**(-3),step=10**(-3
#check if file name exists
i=1
while os.path.exists(path):
file_name = field_name+"_TLM_"+str(j+1)+"_"str(i)+".txt"
file_name = field_name+"_TLM_"+str(j+1)+"_"+str(i)+".txt"
path= os.path.join(location,file_name)
i=i+1
else:
......@@ -408,7 +408,7 @@ def tlm_final(field_name ='M00',start=-50*10**(-3),stop=50*10**(-3),step=10**(-3
#check if file name exists
i=1
while os.path.exists(path):
file_name = field_name+"_CTLM_"+str(j+1)+"_"str(i)+".txt"
file_name = field_name+"_CTLM_"+str(j+1)+"_"+str(i)+".txt"
path= os.path.join(location,file_name)
i=i+1
......@@ -422,7 +422,7 @@ def tlm_final(field_name ='M00',start=-50*10**(-3),stop=50*10**(-3),step=10**(-3
#export to csv for evaluataion
if(innen==0):
if innen==0:
#specify path and file_name
file_name = field_name+"_TLM_"+str(j+1)+".csv"
location =r"\\fileserver.cst.rwth-aachen.de\public\Datentransfer\Asonitis, Alexandros"
......@@ -431,7 +431,7 @@ def tlm_final(field_name ='M00',start=-50*10**(-3),stop=50*10**(-3),step=10**(-3
#check if file name exists
i=1
while os.path.exists(path):
file_name = field_name+"_TLM_"+str(j+1)+"_"str(i)+".csv"
file_name = field_name+"_TLM_"+str(j+1)+"_"+str(i)+".csv"
path= os.path.join(location,file_name)
i=i+1
else:
......@@ -443,7 +443,7 @@ def tlm_final(field_name ='M00',start=-50*10**(-3),stop=50*10**(-3),step=10**(-3
#check if file name exists
i=1
while os.path.exists(path):
file_name = field_name+"_CTLM_"+str(j+1)+"_"str(i)+".csv"
file_name = field_name+"_CTLM_"+str(j+1)+"_"+str(i)+".csv"
path= os.path.join(location,file_name)
i=i+1
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment