Jacob-Stevens-Haas / gen-experiments

Pysindy experiments. Composable and extensible
MIT License
1 stars 2 forks source link

Default differentiation method doesn't assume axis=-2 #6

Open Jacob-Stevens-Haas opened 11 months ago

Jacob-Stevens-Haas commented 11 months ago

In diff_params["test"], the default experiment arguments create a pysindy.FiniteDifference object manually instead of letting pysindy do so. This means that the axis is initialized to 0 instead of -2. When running with PDE data, that means $du/dt$ is calculated along a spatial axis by accident.