Skip to content

Commit

Permalink
fix(analysis.beam.CorrectDecorrelation): Access local array.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristpinsm committed May 18, 2022
1 parent f6ecb7f commit 0024d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch_pipeline/analysis/decorrelation.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def process(self, tstream, inputmap):
)

# weights are inverse variance
weight = np.sqrt(invert_no_zero(tstream.weight[:]))
weight = np.sqrt(invert_no_zero(tstream.weight[:].local_array))
weight = tools.decorrelation(
weight,
times=tstream.time,
Expand Down

0 comments on commit 0024d1b

Please sign in to comment.