Patching small issue with dr_sep for some equilibria#49
Conversation
|
Thanks @kpentland! This method by filtering based on locations inside the wall is definitely an improvement. Couple points to discuss though:
|
|
Hi @georgeholt1, Thanks for this! I've made the changes so that the code reflects the docstrings and purposely uses the lower X-point first (I think this is a typical convention and if different for other tokamaks, people can flip the signs). It also now throws an error if less than two X-points are found within the first wall. I've also called the |
|
Thanks again @kpentland |
Just patching a small issue that returned an incorrect value for dr_sep for some "weird" shaped equilibria. Should work fine for most but this should now work for all.
Main changes: