Commit d29d4ecc authored by Connor Hainje's avatar Connor Hainje
Browse files

Typo fix in README

parent f7391554
......@@ -9,9 +9,9 @@ There are _two_ packages included in this repository: `pidplots` and `pidml`. T
## Weight values
Here are the values of the weights, trained on ParticleGun data from
release-05-02-06 using a pion weight of beta = 0.1. (Note: this is valid
Python, so you can copy-paste this into your notebook, assume `numpy` is
imported as `np`.)
release-05-02-06 using a pion weight of beta = 0.1. (Note: this is valid Python,
so you can copy-paste this into your notebook, assuming `numpy` is imported as
`np`.)
```python
wgt = np.array(
......@@ -42,8 +42,8 @@ likelihoods = np.stack([
for part in particles
], axis=-1)
likelihood_ratios = likelihoods / np.sum(likelihoods, axis=1, keepdims=True)
# likelihood_ratios[0] = e PID,
# likelihood_ratios[1] = mu PID, etc.
# likelihood_ratios[:,0] = e PID for each event,
# likelihood_ratios[:,1] = mu PID, etc.
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment