Skip to content

Commit

Permalink
remove nsamples hack
Browse files Browse the repository at this point in the history
this follows from HERA-Team/hera_pspec#407
  • Loading branch information
jsdillon committed Sep 25, 2024
1 parent dc93cad commit 4bd133e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions notebooks/single_baseline_postprocessing_and_pspec.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -905,10 +905,7 @@
" if flags is not None:\n",
" flags[ap + (pstokes,)] = combined_flags\n",
" if nsamples is not None:\n",
" nsamples[ap + (pstokes,)] = combined_nsamples * 4.0\n",
" # TODO: This 4.0 is very ad hoc and is put here to fix an issue with error bars that arose in the \n",
" # change of pol_convention from \"avg\" to \"sum\". Once we've tracked down all the appropriate factors\n",
" # of 2, this should not be necessary. See https://github.com/HERA-Team/hera_pspec/issues/406 for details."
" nsamples[ap + (pstokes,)] = combined_nsamples"
]
},
{
Expand Down

0 comments on commit 4bd133e

Please sign in to comment.