PrincetonUniversity / SPEC

The Stepped-Pressure Equilibrium Code, an advanced MRxMHD equilibrium solver.
https://princetonuniversity.github.io/SPEC/
GNU General Public License v3.0
24 stars 4 forks source link

Pythontools #179

Closed abaillod closed 1 year ago

abaillod commented 2 years ago

Hi!

I started using the python tools for SPEC and noticed a couple of errors, which I fixed in this PR. I also implemented a few useful post-processing routines (get_volume, get_average_beta, ...)

abaillod commented 2 years ago

@zhisong would you have the time to review the changes? I think everything works, and I would need it for a simsopt PR.

abaillod commented 1 year ago

I think this is outdated.