Closed adamreichold closed 2 years ago
Hi @adamreichold, nice hearing from you again!
I'm not aware of any code actually using the counts
. However, this is information which could be useful to quality check the estimates for the single bins (very small number of point pairs in a bin => oh oh) and which would be lost, if it is not returned.
So, I think it would be a pretty high cost for simplifying the functions.
Does this mean, that your PR is ready for a review?
Does this mean, that your PR is ready for a review?
Yes, I think so. It should be an improvement as it is (less initialization overhead, less task dispatch overhead) even if the API is unchanged.
@LSchueler I think this could be simplified further if
variogram_unstructured
andvariogram_directional
would not need to return their count arrays, but I do not know whether that is actually required by the Python code calling these functions.