Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sampling source location from a point cloud with discrete probabilities #3159

Open
gonuke opened this issue Oct 4, 2024 · 0 comments · May be fixed by #3161
Open

Allow sampling source location from a point cloud with discrete probabilities #3159

gonuke opened this issue Oct 4, 2024 · 0 comments · May be fixed by #3161

Comments

@gonuke
Copy link
Contributor

gonuke commented Oct 4, 2024

Description

A new SpatialDistribution that has a list of N possible positions, each with its own probability. The probabilities are sampled discretely from that PDF to find the locations.

Alternatives

One alternative is to have N Independent SpatialPoint distributions, but it seems less efficient on a number of fronts.

@gonuke gonuke linked a pull request Oct 5, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant