Changelog#
Version 0.2.0#
Released on: 2025/05/08
doi: https://doi.org/10.5281/zenodo.15360679
Breaking changes:
Rename the
rngargument ofbordado.random_coordinatestorandom_seed, which is more explicit and won’t be confused with “range” (#34)
New functions ported from Verde and improved:
New function
bordado.expanding_windowto split points with n dimensions on windows that share a common center but expand in size (#37)
Enhancements:
Make sure
bordado.get_regionworks with pandas and xarray inputs (#36)
Maintenance:
Pin third-party Actions using commit hashes instead of tags for security (#39)
This release contains contributions from:
Santiago Soler
Leonardo Uieda
Version 0.1.0#
Released on: 2025/03/28
doi: https://doi.org/10.5281/zenodo.15102594
The functions below are originally from the Verde library and have been moved here and improved upon:
Add function
rolling_windowto split points into rolling windows (#31)Add function
block_splitto split points into blocks (#30)Add function
grid_coordinatesto generate n-dimensional grids with evenly spaced points (#18)Add function
random_coordinatesto make a random scatter of points in n-dimensions (#25 and #26)Add function
insideto check which points are in a region (#24)Add function
get_regionto get the bounding box of the given set of coordinates (#16)Add function
pad_regionto expand a region by a specified amount (#15)Add function
line_coordinatesto generate 1D evenly-spaced coordinates (#13)
Improvements over their Verde counterparts:
All functions now work with more than 2 dimensions.
Argument names have been changed to make them more reasonable, for example
spacinginblock_splitwas renamed toblock_size.Functions perform more sanity checks on their arguments to avoid common mistakes.
When adjusting a region because the spacing is not a multiple of it, change both the lower and the upper boundaries to spread the change more evenly (#21)
Optional arguments to functions are now keyword-only, avoiding the common mistake of passing a spacing in the place of a shape when not using keywords (#20)
Bordado also exposes some sanity checks that other packages can use:
Add function
check_coordinatesto check that all coordinates have same shape and make sure they are arrays (#29)Add function
check_regionto make sure the region has an even number of arguments and they are in the right order (#12 and #14)
This release contains contributions from:
Leonardo Uieda
Version 0.0.1#
Released on: 2025/03/19
doi: https://doi.org/10.5281/zenodo.15051756
This is the first release of Bordado, used to guarantee the package name and setup the development infrastructure. The next release will contain actual code for users.
This release contains contributions from:
Leonardo Uieda