Ryan Grout
Ryan Grout
A faster implementation of `Affine.__new__`. ``` %timeit Affine(3, 2, 5, 1, 2, 3) 1.21 µs ± 48.9 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)...
A useful utility function for decomposing a conformal transform into its translation, rotation, and scale parameters. ```python from rasterio.transform import decompose # transform = Affine.translation(1, 3) * Affine.scale(3, 3) *...
This should address an issue found when investigating #2565. A tolerance needs to be considered in the comparison affine coefficients to 0. I'm not entirely sure where the best place...
Given the number of times `colormath.specialpow` can be called and other functions in colormath, I think it would make sense to implement accelerated versions of these functions in Cython. Is...
Resolves #9424 Add nopython support for math.nextafter on supported versions of Python (>=3.9). Is there a preferred style for checking the version of the interpreter? ```python if hasattr(math, 'nextafter'): ......
## Feature request `math.nextafter` was added in Python 3.9. However, numba doesn't seem to support it in nopython mode. Can support please be added?
Investigated some performance regressions with affine transformations. Re-worked the logic to make them faster again. All times are given release version first, PR changes second order ```python # For scalar...
Implements a useful utility function for checking of a coordinate is contained within the bounding box of a raster. The use case that prompted this was testing to see which...
When get_minimum_dtype was called with np.inf or np.nan, it would return float64. This PR fixes it to only do the range check on the finite values. Additionally, I return the...
`dtypes.get_minimum_dtype` computes the minimum dtype needed to hold the values given as input. The function has existed since the early days of rasterio, but doesn't seem to consider complex dtypes...