Skip to content

Conversation

@jurasic-pf
Copy link
Collaborator

No description provided.

@jurasic-pf jurasic-pf requested a review from jons-pf May 6, 2025 19:37
Copy link
Collaborator Author

jurasic-pf commented May 6, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jurasic-pf jurasic-pf marked this pull request as ready for review May 6, 2025 19:37
@jurasic-pf jurasic-pf linked an issue May 8, 2025 that may be closed by this pull request

def test_normalize_by_currents(makegrid_params: vmecpp.MakegridParameters):
makegrid_params.normalize_by_currents = True
response1 = vmecpp.MagneticFieldResponseTable.from_coils_file(
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe call response1 and response2 something like response_normalized and response_unnormalized?



def test_normalize_by_currents(makegrid_params: vmecpp.MakegridParameters):
makegrid_params.normalize_by_currents = True
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think normalize_by_currents is misleading here - I chose a bad name - since we actually aim to normalize by the number of windings -> normalize_by_num_windings?

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.

Normalize currents has no effect on magnetic field

3 participants