Skip to content

add WeightedEventTimeBlock - #232

Merged
KrisThielemans merged 1 commit into
mainfrom
WeightedEventTimeBlock
Nov 8, 2026
Merged

KrisThielemans merged 1 commit into
mainfrom
WeightedEventTimeBlock

Conversation

@KrisThielemans

Copy link
Copy Markdown
Contributor

add time block with weights for events, e.g. as used by Monte Carlo.

WARNING: C++ code needs to explicitly set

   header.contains_weighted_event_time_blocks = false

even if weighted events are not used. This is due to default bool values being undefined in C++.

Fixes #224

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in the ETSI software (the Work) under the terms and conditions of the Apache-2.0 License.

add time block with weights for events, e.g. as used by
Monte Carlo.

WARNING: C++ code needs to explicitly set
   header.contains_weighted_event_time_blocks = false
even if weighted events are not used

Fixes #224
@KrisThielemans

Copy link
Copy Markdown
Contributor Author

No time for review now. I'll just merge!

@KrisThielemans
KrisThielemans merged commit a03e218 into main Nov 8, 2026
4 checks passed
@KrisThielemans
KrisThielemans deleted the WeightedEventTimeBlock branch November 8, 2026 00:06

This branch was successfully deployed

1 active deployment
pypi — c882ad3c Deployed Nov 7, 2026 by KrisThielemans via build (17, ubuntu) #576
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.

Storing list-mode data of Monte Carlo simulations with importance sampling etc.?

1 participant