Skip to content
Snippets Groups Projects
Commit c7991832 authored by JupyterHub User's avatar JupyterHub User
Browse files

part2

parent f919f14d
No related branches found
No related tags found
No related merge requests found
......@@ -392,7 +392,7 @@ def tlm_final(innen=0,distances=(5,10,15,25,45),field_name ='M00',start=-50*10**
if(innen==0):
#specify path and file_name
file_name = field_name+"_TLM_"+str(j+1)+".txt"
location =r"\\fileserver.cst.rwth-aachen.de\public\Datentransfer\Asonitis, Alexandros"
location =r"\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\results"
path= os.path.join(location,file_name)
#check if file name exists
......@@ -404,7 +404,7 @@ def tlm_final(innen=0,distances=(5,10,15,25,45),field_name ='M00',start=-50*10**
else:
#specify path and file_name
file_name = field_name+"_CTLM_"+str(j+1)+".txt"
location =r"\\fileserver.cst.rwth-aachen.de\public\Datentransfer\Asonitis, Alexandros"
location =r"\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\results"
path= os.path.join(location,file_name)
#check if file name exists
......@@ -414,7 +414,7 @@ def tlm_final(innen=0,distances=(5,10,15,25,45),field_name ='M00',start=-50*10**
path= os.path.join(location,file_name)
i=i+1
title = "measured field:"+field_name+"\ndistance:"+str(distances[j])+"\nI:"+str(start)+"A to "+str(stop)+"A with step:"+str(step)+"\nDate:"+date+"\n"
title = "measured field:"+field_name+"\nInnen radius:"+str(innen)+"µm \ndistance:"+str(distances[j])+"µm\nI:"+str(start)+"A to "+str(stop)+"A with step:"+str(step)+"\nDate:"+date+"\n"
f=open(path, 'a')
f.write(title)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment