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

fix postprocessing for energy scans #326

Merged
merged 14 commits into from
Jan 19, 2023
Merged

fix postprocessing for energy scans #326

merged 14 commits into from
Jan 19, 2023

Conversation

carnisj
Copy link
Owner

@carnisj carnisj commented Jan 9, 2023

Fix the type conversion of the input parameter tilt_angle in setup.check_setup. When it was a float or a 0D array, the calculation of the mean would fail.

Implement the calculation of q_bragg from the q-values saved after the interpolation by xrayutilities in preprocessing.

Type of change

Please delete options that are not relevant.

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

Checklist:

  • I have added corresponding unit tests
  • I have run doit and all tasks have passed

@carnisj carnisj added the bug Something isn't working label Jan 16, 2023
@carnisj carnisj self-assigned this Jan 16, 2023
@carnisj carnisj changed the title fix bug in setup.check_setup fix postprocessing for energy scans Jan 16, 2023
@carnisj carnisj marked this pull request as ready for review January 19, 2023 19:37
@carnisj carnisj merged commit 6502526 into main Jan 19, 2023
@carnisj carnisj deleted the energy branch January 19, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant