New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-uniform axes progress tracking #2398
Comments
(I wanted to add rebin as low hanging fruit, but you already did so) |
Notice that the list above is certainly non-exhaustive. Please add any remaining issues that I may have missed. |
From #2299 (comment):
Other optional issues that might be included concern the improvements to the
|
When plotting data with a non-uniform signal axis, the navigator still uses |
A solution we use here is for non-linear axes in ND is to Histogram everything. Every plot is just a binned representation - histogram also seems to be the fastest method (sorry if you're already doing this, haven't looked at this branch in depth) |
Docstrings for all of the Axis classes should also be added. |
Updated the checklist with all the comments, @thomasaarholt is making the data axis iterable solved by #2459? |
No not with that PR - it only covered the order in which one would iterate across the AxesManager. I'll try to add it soon. |
I have worked on the remaining key issues and some first nice to have ones in #2728. We're finally getting close to getting this into |
I have updated the summary of this issue and there is possibly one point left before merging:
@jlaehne, it looks to me that you already had a good around at what is not supported. Do you think that this last point is completed? |
@ericpre, I had 2-3 things I wanted to check/add There are a number of points where coverage could be increased further, but I do not see the codecov comments at the moment. Anyway, coverage is already much better than for large parts of hyperspy, so it could still be added after the merge. |
From my POV this last point should be resolved with #2761. The As mentioned, it could be nice to use the codecov comments of the overall PR to increase coverage further, but I am not sure if I would have the time to do so in the next weeks. |
This issue tracks progress on the implementation of non-uniform axes.
Notice that, currently, the non-uniform axes features are merged into the
non_uniform_axes
branch.If you intend to address any of the issues below, please discuss it here to avoid overlapping of efforts.
Key issues to address before release
NotImplementedError
is raised (see non-uniform updates (NotImplementedErrors, tests, spelling, saving-fix) #2761 and Non-uniform axes progress tracking #2398 (comment))Signal.binned
(hereDataAxis.is_binned
?) as it is a common source of confusion, see https://hyperspy--2399.org.readthedocs.build/en/2399/user_guide/signal.html#binned-and-unbinned-signalsIssues that would be nice fixing before releasing, but should not hold a release:
pcolormesh
for image plots to allow for non uniform axesfft
andifft
usingnfft
. I like https://github.com/jakevdp/nfftsplit
(partially works)stack
(also along non-uniform axes, done in Fixes for binned non_uniform_axes #2728)rebin
remove_background
for "binned" signals. It doesn't work because theestimate_parameters
methods assume linear binned axes. (done in Fixes for binned non_uniform_axes #2728)RectangularROI
SpanROI
Point2DROI
_create_axis
should become a public instead of a private method (done in hspy read support for non linear axis and more error catches #2304)check_axes_calibration
universal (done in Non uniform axis updates #2693)sum()
byintegrate1D
in creating the navigator in plots? See Fix estimate_parameters for binned and non uniform axis #2743 (comment)hspy
that would support this (e.g.emd
,nexus
?)Remaining issues
EELSCLEdge
fine structureThe text was updated successfully, but these errors were encountered: