champsproject / ldds

Python package for computing and visualizing Lagrangian Descriptors in Dynamical Systems
BSD 3-Clause "New" or "Revised" License
18 stars 2 forks source link

LD on time-varying 2D vector fields #69

Open simonweppe opened 1 week ago

simonweppe commented 1 week ago

Thanks for your work LDDS teams . Great way to learn more about LD, very clear words in your jupyter book.

I was wondering if you had any examples using time-varying 2D vector fields (e.g. oceanic flows data from Copernicus data). Or maybe if you could point me to the most relevant example notebook. Best Simon

vkrajnak commented 1 week ago

Hi Simon, thank you for your kind words. I don't think we have any example time-dependent vector fields, but this should be pretty straight-forward. You can treat time similarly to an additional spatial dimension and then the end of tutorial-5.ipynb is the relevant reference. If I'm not mistaken, our code currently only supports even dimensions. Hence to add time you can use the equations \dot{t} = 1 and \dot{p}_t = 0, which keeps the dimension even. Does this help? v

simonweppe commented 1 week ago

Thank you very much @vkrajnak . Yes this is certainly helping. I will dive into this when I have a bit more time and may get back to you.