- Beta release of OCN package.
- added support for periodic boundary conditions
- changed how intermediate grid states are saved and returned during optimization
- updated the API for requesting intemediate grid states during optimization
- added support for custom cooling schedules
- api changes for better usability
- added unit testing
- fixed history tracking bug
- fixed a bug in the rng algorithm that impacted reproducibility in some cases
- odd-sized grids are now supported
- fixed a bug preventing early exit in some situations during optimization when the convergence criterion is met
- fixed critical bug preventing export to xarray datasets
- fixed a bug where optimization did not work for single-outlet networks
- Added convenience functions for parallel execution using multiprocessing
- Minor bugfixes
- Added elevation calculation
- Removed watershed ID attribute from exported rasters (now includes elevation instead). You can still compute watershed IDs on the graph representation if needed.
- Updated demo notebook
- Minor bugfixes
- more complete documentation
- minor bugfixes and improvements
- n_iterations now defaults to an empirical equation that depends on constant_phase and cooling_rate to achieve more reliable convergence.
- fixed a bug in convergence detection.
- improved convergence detection.