Skip to content

Cathode crosser PR: Bug fixes for cdist and already matched particles#3

Open
bear-is-asleep wants to merge 51 commits intobear-is-asleep:feature/cathode_crosserfrom
francois-drielsma:develop
Open

Cathode crosser PR: Bug fixes for cdist and already matched particles#3
bear-is-asleep wants to merge 51 commits intobear-is-asleep:feature/cathode_crosserfrom
francois-drielsma:develop

Conversation

@bear-is-asleep
Copy link
Owner

spine cdist does not work in 2D. Also, already matched particles complain when attempting to merge. So go ahead and unmatch them first. This only applies on existing h5 files where match has been ran.

Bear Carlson and others added 30 commits April 8, 2025 15:02
…d interaction. Also stores original flashes, with option to overwrite them if one wants to store new flashes.
Fix multi argument return
std(x) has a prefactor of 1/N, whereas cov(x,y) has a prefactor of 1/N-1. So we should use the covariance[0,0] to get the variance of x directly.

```
cov[0,1]/cov[0,0],cov[0,1]/np.std(df['seg_rrs'][ind])**2
>>> (np.float64(0.018677554097208945), np.float64(0.020375516343523768))
```
Flash merging code for SBND's flash matching
Add track de/dx and ability to fill them
Add end point local dE/dx support for tracks
Use average charge as fallback in the collection-only method
Cathode crosser PR: Bug fixes for cdist and already matched particles
Fixes bug for computing gradient
Update optical display to show PD ID
Optical detector drawer now shows PD ID and PE value
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