ascot4fusion / ascot5

ASCOT5 is a high-performance orbit-following code for fusion plasma physics and engineering
https://ascot4fusion.github.io/ascot5/
GNU Lesser General Public License v3.0
31 stars 9 forks source link

Import MARS-F should support both data formats #95

Closed miekkasarki closed 8 months ago

miekkasarki commented 8 months ago

Apparently MARS-F data can either be organized (with respect to R and z) as C or F wise. The current function supports C-format (z is incremented first). We should make the function sniff what format the file is in and then proceed accordingly.

miekkasarki commented 8 months ago

Merged to develop