Skip to content
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

Improve the robustness of fit_linecut #294

Merged
merged 24 commits into from
Aug 14, 2022
Merged

Improve the robustness of fit_linecut #294

merged 24 commits into from
Aug 14, 2022

Conversation

carnisj
Copy link
Owner

@carnisj carnisj commented Aug 6, 2022

Move the linecuts-related functions in a dedicated class and new module.

Linecuts are not stacked anymore in a single array, because they can be of different length. A check is made, if any peak has been detected before trying to fit it.

Fixes #290

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have run doit and all tasks have passed
  • I have made corresponding changes to the documentation
  • I added unit tests

@carnisj carnisj marked this pull request as draft August 9, 2022 19:37
@carnisj carnisj marked this pull request as ready for review August 13, 2022 19:39
@carnisj carnisj marked this pull request as draft August 14, 2022 05:35
@carnisj carnisj marked this pull request as ready for review August 14, 2022 05:55
@carnisj carnisj self-assigned this Aug 14, 2022
@carnisj carnisj added the refactor Refactor existing code label Aug 14, 2022
@carnisj carnisj merged commit bd78584 into main Aug 14, 2022
@carnisj carnisj deleted the robust_fit branch August 14, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactor existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: make linecut fits more robust in postprocessing
1 participant