Merge branch 'master' of https://github.uio.no/rasmusvt/beamtime
This commit is contained in:
commit
e5bc509a6a
2 changed files with 14 additions and 2 deletions
|
|
@ -5,8 +5,19 @@ import os
|
|||
def rbkerbest():
|
||||
print("ROSENBORG!<3")
|
||||
|
||||
#def split_xanes_scan(filename, destination=None):
|
||||
|
||||
def split_xanes_scan(filename, destination=None):
|
||||
# with open(filename, 'r') as f:
|
||||
|
||||
|
||||
##Better to make a new function that loops through the files, and performing the split_xanes_scan on
|
||||
|
||||
|
||||
def split_xanes_scan(root, destination=None, replace=False):
|
||||
#root is the path to the beamtime-folder
|
||||
#destination should be the path to the processed data
|
||||
|
||||
#insert a for-loop to go through all the folders.dat-files in the folder root\xanes\raw
|
||||
|
||||
with open(filename, 'r') as f:
|
||||
lines = f.readlines()
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
#hello
|
||||
#yeah
|
||||
Loading…
Add table
Add a link
Reference in a new issue