Closed salomon73 closed 1 year ago
Only Utilities directory has been changed
Hi Salomon,
I did not see you started a PR! I will add some reviewers so we can move forward with this. Thanks for the time you took to prepare these new tools.
I think we can safely merge this, it is only additional routines, and there are no modifications of other parts of the code. We should probably remove the file Utilities/matlabtools/scan_shear_auto_optim.m though, this is specific to the study you did.
Hi all, anything left that I should do in order for the pull request to be merged ? Best, Salomon
I think you don't have the access to press the green button. I will do it for you!
I added a few Matlab routines essentially related to straight field line coordinates, as well as boozer coordinates. Others are related to the magnetic shear and enable to extract it from spec output, as well as scan this parameter over some plasma boundary Fourier modes.
Finally, some python routines were added, enabling to achieve Boozer coordinates transformation, and plot modB in this coordinates system, from SPEC output (.h5 file)