GEO-BON / bon-in-a-box-pipelines

BON in a Box 2.0 - Sampling optimisation and indicator pipelines
MIT License
10 stars 7 forks source link

Use distance sampling for the backgrounds in BRT example #118

Closed tpoisot closed 9 months ago

tpoisot commented 11 months ago

When JuliaRegistries/General#93404 is merged, this will replace sample by backgroundpoints, and add a DistanceToEvent method for background points, which will allow using the same-ish background generation in the MaxEnt and BRT pipelines (@glaroc and I discussed this last week).

Just putting a pin in this so we can update the pipeline accordingly.

frousseu commented 11 months ago

Is this method uniformally sampling from a fixed width radius around each observations or from a function with decreasing probability the further you go from each observations? If the former, there is already the background thickening method from the createBackground function in the maxent pipeline.

tpoisot commented 11 months ago

Currently it generates a layer of distances, and then you can use this information however you want for sampling (but we also have a WithinRadius method to do uniform sampling within a distance)