mountaindust / Planktos

ABM framework for dispersal modeling
https://planktos.readthedocs.io
GNU General Public License v3.0
5 stars 3 forks source link

Add fluid visualization to 2D plots, create 2D projection plots of 3D sims #38

Closed mountaindust closed 3 years ago

mountaindust commented 3 years ago

In 2D plots, it shouldn't be too hard to do some kind of background pseudocolor for vorticity, velocity magnitude, or FTLE with a lower alpha value. That would make it easier to see how the agents are responding to the flow field. Another thing to consider: plotting 2D projections of 3D simulations.

mountaindust commented 3 years ago

This is going to be needed to debug FTLE. Consider adding plots of integral curves to the list, and quivers.

mountaindust commented 3 years ago

Vorticity is now available as of 2e22ac5.

mountaindust commented 3 years ago

Quiver is now available as of 58ec049.

mountaindust commented 3 years ago

2D projections of 3D simulations is a great idea, but is also going to take going through all of the plotting routines (starting with those in environment) and making them robust to this. It's lower priority than getting vorticity and quiver up and running in the 2D plots, so I will close this issue and open a new one for the projections. FTLE visualization in swarm plots will remain a todo: first validation of FTLE is needed (#30), then calculating and storing multiple FTLE for animation plots, then implementation within swarm plots... which will be quite computationally expensive in plot_all, so maybe we don't do that there...?