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

Python code to calculate, save and read data from multi-sweeps #138

Closed MattLiangYH closed 3 months ago

MattLiangYH commented 3 months ago

Example code that shows how to:

  1. do a sweep on scotty
  2. read data from multiple .h5 files, consolidating the data and writing new data into a main .h5 file
  3. reading this main .h5 file

Currently only supports poloidal + toroidal angle + frequency sweeps. Will implement beam parameter sweeps and polarisation sweeps some time in the future

valerian-chen commented 3 months ago

Ken Rui previously developed some code for reading and writing sweeps, but unfortunately Scotty has changed a lot in the intervening time. This work supersedes some of the changes in #108