Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Fixed field map loading #50

Merged
merged 1 commit into from
Oct 31, 2021
Merged

Fixed field map loading #50

merged 1 commit into from
Oct 31, 2021

Conversation

PavelKavrigin
Copy link
Contributor

Existing field maps have different ordering of [r, z, E] in the map file, depending on the file format - .csv or .json. In this fix electric_field_handler.py is changed in such a way that the ordering is consistent between different maps before the map is used in an interpolator.

Copy link
Collaborator

@ramirezdiego ramirezdiego left a comment

Choose a reason for hiding this comment

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

Thanks Pavel, it works good!

@ramirezdiego
Copy link
Collaborator

For reference: this PR is a bugfix of #49, where the map loading was sucessful but we had swapped R and Z in the interpolating stage.

@ramirezdiego ramirezdiego merged commit 14b63a8 into master Oct 31, 2021
@ramirezdiego ramirezdiego deleted the fix_map_handler branch October 31, 2021 14:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants