Add more options to spatialstats functions #218
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some more flexibility for some spatialstats functions, without changing the default behaviour.
fit_sum_model_variogram
can now take an inital guess of variogram parameters that are later passed toscipy.curve_fit
:p0
and boundsbounds
plot_vgm
can be passedxlabel
,ylabel
,xlim
andylim
to more easily customize the plot (which can be hard withplt.gca()
as the Figure is parted into subpanels within a grid)patches_method
to allow for a "only 100% valid data" when checking patches no-data with the input thresholdFor plots: it would be good to have a consistent approach at plotting and passing axes/grid objects to allow easy user edits without duplicating input parameters. But, realistically, this would have to be done in a later PR focusing on a
plotting
library. (skgstat
plotting functionalitiers allow to pass ax, grid, and fig object back and forth, maybe we can check that out? or maybe there's better solutions out there, it's quite a common functionality people want to have)