Skip to content

Add compute_single_crystal_norm - #726

Open
jl-wynen wants to merge 3 commits into
mainfrom
add-algo-package
Open

Add compute_single_crystal_norm#726
jl-wynen wants to merge 3 commits into
mainfrom
add-algo-package

Conversation

@jl-wynen

Copy link
Copy Markdown
Member

This adds a wrapper for the compute_single_crystal_norm function from scippneutron_algorithms.

The function needs a lot more documentation but I want to wait until we know more precisely how we will use it. Its interface will likely change, in particular around how trajectories are defined. But publishing this allows us and the CIS's to use and test the function.

Comment thread .github/workflows/ci.yml
uses: mamba-org/setup-micromamba@v3.2.1
with:
micromamba-version: 2.0.4-0
micromamba-version: 2.9.0-0

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a recent version for support for the stable abi3.

@jl-wynen
jl-wynen requested a review from nvaytet September 8, 2026 14:12
incident_energy=incident_energy,
n_threads=n_threads,
block_size=block_size,
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a small unit tests to check that it at least runs?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely! I just forgot to commit it 🤦

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