champsproject / ldds

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

Modify generate_grid to output ndarrays #35

Closed broncio123 closed 3 years ago

broncio123 commented 3 years ago

This change will affect both versions of compute_lagrangian_descriptor in base.py and base_discrete.py.

So, for LD of continuous systems y0 will have to be flattened under compute_lagrangian_descriptor rather than generate_grid, since the integrator requires 1D arrays as input to compute LD values, unlike for discrete maps.

vkrajnak commented 3 years ago

Is this still an issue?

vkrajnak commented 3 years ago

generate_grid outputs ndarrays now