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

FIX: Improve sampling of ZPF points for constrained equilibria #211

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

bocklund
Copy link
Member

@bocklund bocklund commented Aug 21, 2021

Define the radius of points allowed in the sampling for constrained equilibria as the distance to the closest point + some additional distance to ensure that that's always at least one point in the sample.

This fixes the assertion failures when trying to get ZPF data for the constrained equilibrium calculations that could arise when the sampled points were not close enough to (within the tolerance of) the prescribed phase composition.

Define the radius of points as the closest point + some additional distance to ensure that that's always at least one point in the subsampling
@bocklund bocklund changed the title FIX: Improve subsampling of ZPF points FIX: Improve sampling of ZPF points for constrained equilibria Aug 21, 2021
@bocklund bocklund merged commit 70a4185 into PhasesResearchLab:master Aug 21, 2021
@bocklund bocklund deleted the fix-phase-subsampling branch August 21, 2021 18:15
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 this pull request may close these issues.

1 participant