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

Adding a neutron time of flight class #31

Merged
merged 25 commits into from
Apr 2, 2024
Merged

Adding a neutron time of flight class #31

merged 25 commits into from
Apr 2, 2024

Conversation

aidancrilly
Copy link
Owner

This PR adds a class for neutron of time of flight analysis with some preliminary support functionality.

While further ntof models can be added in future, the structure of the ntof class is complete. Better instrument response models can be added external to the class.

An example of fitting in time of flight is given in the NeSST guide (with asserts for CI testing).

This has been merged with core_typed_and_documented, so should be merged after #30

@aidancrilly
Copy link
Owner Author

Not best practice but this PR has been merged with the required updates for interpolation, see #22 and branch interp2d_replacement.

@aidancrilly
Copy link
Owner Author

Happy with the nToF support as written, has literature models for each component up to beamline attenuation (which I can't imagine has a simple model).

Merging!

@aidancrilly aidancrilly merged commit 16d0a4b into master Apr 2, 2024
1 check passed
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.

Use of deprecated interp2d in spectral_model.py feature request: nToF class
1 participant