We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a perturbation_dict is provided to the graph definition with a setting for charge, it can lead to negative charges since it is sampled from a normal distribution (if you are unlucky, like me): https://github.com/graphnet-team/graphnet/blob/92b150aa5fbe149cdd7d473932d05375df176417/src/graphnet/models/graphs/graph_definition.py#L348C1-L362C30
perturbation_dict
charge
Possible solution: include bounds for the perturbations. If the sampled value is outside of the bounds, then it is resampled.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a
perturbation_dict
is provided to the graph definition with a setting forcharge
, it can lead to negative charges since it is sampled from a normal distribution (if you are unlucky, like me):https://github.com/graphnet-team/graphnet/blob/92b150aa5fbe149cdd7d473932d05375df176417/src/graphnet/models/graphs/graph_definition.py#L348C1-L362C30
Possible solution: include bounds for the perturbations. If the sampled value is outside of the bounds, then it is resampled.
The text was updated successfully, but these errors were encountered: