Skip to content

Conversation

@jmrohwer
Copy link
Collaborator

This PR fixes the bounds on the sigma and hwhm deconvolution parameters. The maximum has to be scaled by the max of the data as well as the length of the data to cater for different scenarios (normalized vs. unnormalized spectra, length of chosen ranges.

This should fix the spurious very wide, flat peaks that were sometimes found when the peak is very small.

Other fixes include adding the matplotlib roll parameter to 3D plots to allow for greater flexibility in customising plots, as well as fixing code relying on the new acqtime/acqtime_array structure.

@torogi94 please test the deconvolution with Erik's data.

@jmrohwer jmrohwer requested a review from torogi94 December 12, 2025 12:10
@jmrohwer jmrohwer self-assigned this Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants