fusion-flap / flap

Fusion Library of Analysis Programs
MIT License
11 stars 5 forks source link

Sliced data plotting #70

Closed thelampire closed 3 years ago

thelampire commented 4 years ago

If slicing is done on a non rectangular grid spaced coordinate, the resulting data's np.array is flattened. In the resulting irregular grid, the data cannot be plotted because the anim-image or anim contour requires a 3D matrix. I was really hoping to get some more advanced velocity calculation e.g. slicing along a certain flux coordinate range and vertical coordinate range and plotting the resulting data. Now I have to go back to slicing it along pixels.

thelampire commented 4 years ago

The same issue is present for the contour or image plot just in 2D. Slicing along a coordinate which has a dimension_list of more than 1 element messes up the plotting. I am self assigning this, as I am going to need it in the future. It shouldn't be too hard to do irregular grid contours. I think it is just a different syntax.

thelampire commented 3 years ago

This issue hasn't come up in the last 1.5year, I am closing it.