Closed jlaehne closed 1 year ago
I'd like to push a patch release before the tutorial at the CL-EBIC workshop next week.
Do you think that we should release a hyperspy patch release asap to avoid potential troubles with the random number generation changes in recent version of dask?
I'd like to push a patch release before the tutorial at the CL-EBIC workshop next week.
Do you think that we should release a hyperspy patch release asap to avoid potential troubles with the random number generation changes in recent version of dask?
Haven't looked into the details, but sounds sensible and might not hurt.
I just realized that for a map the new centroid
function, similar to e.g. valuemax
and indexmax
in HyperSpy returns a BaseSignal with 2 navigation dimensions and 0D signal, which theoretically makes sense, but is inconvenient for plotting as it plots including the navigator, which makes little sense for 0D signals, and colormap cannot be changed.
In contrast, estimate_peak_width
returns the transposed signal, thus Signal2D object without navigation dimensions, which is more convenient for plotting - and is okay in the sense that it is just an image of values for the different positions.
We should consider making that more consistent also in HyperSpy (e.g. with the 2.0 release), but if we release the centroid
function here and then decide to change the behavior again, we unnecessarily break the API.
I changed the centroid
output type to Signal2D
in #184 and opened an issue for HyperSpy https://github.com/hyperspy/hyperspy/issues/3111
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
9db99bd
) 100.00% compared to head (31e2aa6
) 100.00%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Description of the change
I'd like to push a patch release before the tutorial at the CL-EBIC workshop next week.
Progress of the PR