Skip to content

Add option to change source distance - #149

Open
nvaytet wants to merge 2 commits into
mainfrom
source-distance
Open

nvaytet wants to merge 2 commits into
mainfrom
source-distance

Conversation

@nvaytet

@nvaytet nvaytet commented Sep 14, 2026

Copy link
Copy Markdown
Member

WIth these changes, we can now do

source = tof.Source(facility="ess", neutrons=1_000_000, pulses=2, distance=sc.scalar(-5.0, unit='m'))

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.

1 participant