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
21 stars 6 forks source link

Import MARS-F should support both data formats #95

Closed miekkasarki closed 4 months ago

miekkasarki commented 4 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 4 months ago

Merged to develop