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

Mapping to/from rho tor norm #283

Closed
wants to merge 71 commits into from

Conversation

AreWeDreaming
Copy link
Collaborator

Leaf of #258
Adds rho_tor_norm to the magnetic coordinates omas_physics.remap_flux_coordinates can map between. Wouldn't hurt if this someone double checked my math once #258 is merged. I did do a spot check and while the result wasn't perfect it was not too far off.
Arguably a unit test wouldn't hurt here, but I don't have time to write it at the moment.

- This my crude attempt to allow mapping between
rho_pol_norm <-> rho_tor_norm
- This also includes phi
- I qualitatively tested rho_pol_norm -> rho_tor_norm
- Might have some COCOS issues
- Probably overly complicated
- Needs dynamic fetching of `phi` and `rho_pol_norm`
- Tested against mapping form OMFITprofiles
- Results are OK by eye. Numerical verification still pending.
- Results seem good now
- Plus 2 missed density_thermal
Copy link

Stale pull request message

Copy link

Stale pull request message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants