bug fixing
This commit is contained in:
parent
0925cf63b6
commit
5a5aee8cea
@ -503,6 +503,7 @@ class FitAnalyser():
|
|||||||
'output_sizes': {
|
'output_sizes': {
|
||||||
output_core_dims[0]: np.size(x),
|
output_core_dims[0]: np.size(x),
|
||||||
},
|
},
|
||||||
|
'meta': np.ndarray((0,0), dtype=float)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@ -514,7 +515,6 @@ class FitAnalyser():
|
|||||||
kwargs.update(
|
kwargs.update(
|
||||||
{
|
{
|
||||||
"output_core_dims": [[prefix+'x', prefix+'y']],
|
"output_core_dims": [[prefix+'x', prefix+'y']],
|
||||||
"output_dtypes": float,
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
output_core_dims = [prefix+'x', prefix+'y']
|
output_core_dims = [prefix+'x', prefix+'y']
|
||||||
@ -526,16 +526,10 @@ class FitAnalyser():
|
|||||||
output_core_dims[0]: np.size(x),
|
output_core_dims[0]: np.size(x),
|
||||||
output_core_dims[1]: np.size(y),
|
output_core_dims[1]: np.size(y),
|
||||||
},
|
},
|
||||||
# 'output_dtypes': float,
|
'meta': np.ndarray((0,0), dtype=float)
|
||||||
# 'output_dtypes': {
|
|
||||||
# output_core_dims[0]: float,
|
|
||||||
# output_core_dims[1]: float,
|
|
||||||
# },
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
# del kwargs['output_dtypes']
|
|
||||||
|
|
||||||
_x, _y = np.meshgrid(x, y)
|
_x, _y = np.meshgrid(x, y)
|
||||||
_x = _x.flatten()
|
_x = _x.flatten()
|
||||||
|
645
test.ipynb
645
test.ipynb
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user