Giter VIP home page Giter VIP logo

Comments (2)

rubak avatar rubak commented on June 5, 2024

@baddstats is the real expert on this. Either it is a bug or it is related to the algorithm that calculates the estimate of F. At least in 2D the distance transform algorithm is used to estimate F in Fest and this imposes some requirements on the r-values that F is calculated for. See these lines of the documentation for details.

If something similar is true for F3est, that could be the explanation, but I haven't looked at the details of the code. To circumvent the problem you can set rmax = 0.1*128/127 and nrval = 129 and then simply pick out the first 128 r-values. When I do this with your example the first 127 values km and rs are identical with the values obtained with rmax=0.1. For cs there is a small difference between the two results. In all cases the modification gives a correct looking 128th value (and then the omitted 129th value looks strange instead).

from spatstat.

baddstats avatar baddstats commented on June 5, 2024

This is a bug in the C code for F3est. It has now been fixed, in spatstat 1.47-0.008.
Thank you for bring this to our attention.

from spatstat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.