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

Cut negative perturbation coefficients #220

Merged
merged 1 commit into from
Sep 21, 2022
Merged

Cut negative perturbation coefficients #220

merged 1 commit into from
Sep 21, 2022

Conversation

EnricaBelfiore
Copy link
Contributor

Cut negative perturbation coefficients

The truncate option is added to the method sandy.CategoryCov.sampling() to perform a symmetric cut of the distribution centered in 1. In this way all the negative perturbation coefficients will be set equal to 0 and the ones larger than 2 will be set equal to 2

@luca-fiorito-11 luca-fiorito-11 merged commit f68a484 into develop Sep 21, 2022
@luca-fiorito-11 luca-fiorito-11 deleted the cut branch September 21, 2022 16:43
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.

2 participants