km3modules.hits
¶
Functions and modules to work with hits.
Module Contents¶
Functions¶
|
Calculate an array of multiplicities and corresponding coincidence IDs |
Attributes¶
- km3modules.hits.count_multiplicities(times, tmax=20)[source]¶
Calculate an array of multiplicities and corresponding coincidence IDs
Note that this algorithm does not take care about DOM IDs, so it has to be fed with DOM hits.
- Parameters:
- times: array[float], shape=(n,)
Hit times for n hits
- dt: int [default: 20]
Time window of a coincidence
- Returns:
- (array[int]), array[int]), shape=(n,)