Optimizing code and splitting into smaller functions

This commit is contained in:
halvorhv 2022-04-06 21:10:40 +02:00
parent b0130d49b8
commit 872ae759b2
2 changed files with 68 additions and 59 deletions

View file

@ -1,7 +1,7 @@
import pandas as pd
import matplotlib.pyplot as plt
import os
import numpy as np
def split_xanes_scan(root, destination=None, replace=False):
#root is the path to the beamtime-folder