GeoStat-Framework / GSTools

GSTools - A geostatistical toolbox: random fields, variogram estimation, covariance models, kriging and much more
https://geostat-framework.org
GNU Lesser General Public License v3.0
564 stars 74 forks source link

Integral model: separate calculation at origin for spectral density #347

Closed MuellerSeb closed 6 months ago

MuellerSeb commented 6 months ago

Integral.spectral_density raised a zero division error when evaluated at 0.

This fix calculates the limit value separately at the origin.