Conversation
…and asymmetric_peak_map function, added data tests directory and created a test for both functions
…umiSpy#250 and made nanoparticles.hspy significantly smaller
…and asymmetric_peak_map function, added data tests directory and created a test for both functions
…umiSpy#250 and made nanoparticles.hspy significantly smaller
|
can you merge in the updated main branch to resolve conflicts with the examples that have been updated in the previous PR |
|
syncing with main didnt quite work so i will have to do it manually i will make the changes in the morning and put the arrow for ready for review once i fixed it. |
should be ready now for review |
| ax1 = s2.axes_manager[0] | ||
| ax2 = s2.axes_manager[1] | ||
|
|
||
| # define start params |
There was a problem hiding this comment.
Can a units argument be used here to avoid multiplying by scale factors? I think if cx, cy were not defined the default position of the circle should also place within the bounds of the signal
There was a problem hiding this comment.
Yes we could also just leave it out completly the cx, cy and r part but the result then wouldn't be quite as good, this just the only way to show it interactively how you would then choose the area without being able to actually choose. Tho for simple demonstration of the Circle roi i could be left out.
There was a problem hiding this comment.
HyperSpy does have a nice example gallery for ROIs already, in order to not overlap too much I wonder if these examples can be a little more specific to luminescence data analysis. One thing I think could also be included is a computation of calculating the mean of a signal extracted from a ROI - though this is also included in a hyperspy example
There was a problem hiding this comment.
These examples are nice but I wonder if they would be more suited to the HyperSpy example gallery? They don't seem specific to luminescence data, one idea would be to keep the Mathematical Expression header but define a exponential convolved with a gaussian (since this is useful for modelling time-resolved luminescence transients)
There was a problem hiding this comment.
Maybe also better suited as a hyperspy example?
I don't love that the ohaver function returns a structured array instead of hyperspy signals, if this was changed I think it would make this example better as well.
There was a problem hiding this comment.
The Line2D ROI example also appears under Plotting - Extraction of Linescan example
There was a problem hiding this comment.
Should i then just leave it out and maybe add a different roi and link to the extraction of linescan example for usage of rois like the Line2D
eecb913 to
727dbf1
Compare
Added new example map_function, energie_conversion, ROIs, peak_analysis, basic_model_fitting, custom_model_fitting and restructured the old position of the index example. And changed all the data_cleaning examples to use the build in data module of lumispy
Progress of the PR
upcoming_changesfolder ,