beam-tracing / Scotty

Beam tracing code for diagnostics
https://scotty.readthedocs.io/en/latest/
GNU General Public License v3.0
7 stars 4 forks source link

Add test using TORBEAM geometry file #63

Closed ZedThree closed 2 years ago

ZedThree commented 2 years ago

Refactors Generate_Input7.py into torbeam.py to enable reuse in main library and tests

Adds a dependency on FreeGS` to write TORBEAM files more flexibly -- the number of Z points no longer has to be a multiple of 5 for instance. Users will need to pip install freegs (or pip install . in Scotty directory) to install this.

Using FreeGS also means it will be possible to directly read geqdsk files in the future too.

Also fix a bug in the "analytic", circular cross-section geometry. Closes #54