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

Add B-field conversion and generation tools #877

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

stephenswat
Copy link
Member

@stephenswat stephenswat commented Feb 19, 2025

This commit adds two new tools which both create magnetic field files for us. The convert_csv_bfield tool takes a space-separated magnetic field like the one we have of the ATLAS field and converts it to a binary covfie file. The generate_constant_bfield executable generates 2T magnetic fields at different sizes, either with 201x201x301 field points like the ATLAS field, or with 2x2x2 field points.

@stephenswat stephenswat added feature New feature or request examples Changes to the examples labels Feb 19, 2025
@stephenswat stephenswat force-pushed the feat/field_converters branch from be24b37 to dddd90b Compare February 20, 2025 11:57
This commit adds two new tools which both create magnetic field files
for us. The `convert_csv_bfield` tool takes a space-separated magnetic
field like the one we have of the ATLAS field and converts it to a
binary covfie file. The `generate_constant_bfield` executable generates
2T magnetic fields at different sizes, either with 201x201x301 field
points like the ATLAS field, or with `2x2x2` field points.
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

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

These tools would be expected to live for a while, no? Should we maybe not put them under examples/, but into the main directory instead? 🤔 Though I'm not sure myself what would be better.

Other than that, sure, let's add the helper executables!

@stephenswat stephenswat merged commit 31be96c into acts-project:main Feb 21, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Changes to the examples feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants