not finish get_fit_result

This commit is contained in:
Jianshun Gao 2023-05-06 11:23:38 +02:00
parent 5a5aee8cea
commit 68d778de88
2 changed files with 573 additions and 261 deletions

View File

@ -19,6 +19,15 @@ def auto_rechunk(dataSet):
return dataSet.chunk(**kwargs)
def copy_chunk(dataSet, dataChunk):
kwargs = {
key: dataChunk.chunksizes[key]
for key in dataChunk.chunksizes
if key in dataSet.dims
}
return dataSet.chunk(**kwargs)
def get_h5_file_path(folderpath, maxFileNum=None, filename='*.h5',):
filepath = np.sort(glob.glob(folderpath + filename))
if maxFileNum is None:
@ -31,6 +40,7 @@ def get_date():
today = date.today()
return today.strftime("%y/%m/%d")
def resolve_fit_result(fitResult):

File diff suppressed because one or more lines are too long