not finish get_fit_result
This commit is contained in:
parent
5a5aee8cea
commit
68d778de88
@ -19,6 +19,15 @@ def auto_rechunk(dataSet):
|
|||||||
return dataSet.chunk(**kwargs)
|
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',):
|
def get_h5_file_path(folderpath, maxFileNum=None, filename='*.h5',):
|
||||||
filepath = np.sort(glob.glob(folderpath + filename))
|
filepath = np.sort(glob.glob(folderpath + filename))
|
||||||
if maxFileNum is None:
|
if maxFileNum is None:
|
||||||
@ -31,6 +40,7 @@ def get_date():
|
|||||||
today = date.today()
|
today = date.today()
|
||||||
return today.strftime("%y/%m/%d")
|
return today.strftime("%y/%m/%d")
|
||||||
|
|
||||||
|
|
||||||
def resolve_fit_result(fitResult):
|
def resolve_fit_result(fitResult):
|
||||||
|
|
||||||
|
|
||||||
|
818
test.ipynb
818
test.ipynb
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user