Skip to content

Commit

Permalink
Update src/cabinetry/model_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Held <45009355+alexander-held@users.noreply.github.com>
  • Loading branch information
ekauffma and alexander-held authored Jun 30, 2023
1 parent 402ab2d commit 0919f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cabinetry/model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def yield_stdev(
# (channel, sample, bin) -> (sample, bin) where "bin" becomes channel sums
up_yields_channel_sum = up_yields_channel_sum.reshape(up_yields_channel_sum.shape[:-1]).T

# concatenate per-channel sum to up_comb
# concatenate per-channel sums to up_comb (along bin axis)
up_yields = np.concatenate((up_comb, up_yields_channel_sum), axis=1)
# indices: variation, sample, bin
up_variations.append(up_yields.tolist())
Expand Down

0 comments on commit 0919f24

Please sign in to comment.