Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Feb 4, 2024
1 parent 2d76bf0 commit 43a934c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/single_baseline_postprocessing_and_pspec.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -870,10 +870,10 @@
" flags[antpair + ('pI',)] = flags[antpair + ('ee',)] | flags[antpair + ('nn',)]\n",
" flags[antpair + ('pQ',)] = flags[antpair + ('ee',)] | flags[antpair + ('nn',)]\n",
"\n",
" # nsamples are summed\n",
" # nsamples are combined to produce the correct variance for pI and pQ. \n",
" # In the limit where the two pols have the same nsamples, it's just the sum.\n",
" if nsamples is not None:\n",
" for antpair in nsamples.antpairs():\n",
" # This produces the correct variance for pI and pQ. In the limit where the two pols have the same nsamples, it's just the sum\n",
" nsamples[antpair + ('pI',)] = 4 * (nsamples[antpair + ('ee',)]**-1 + nsamples[antpair + ('nn',)]**-1)**-1\n",
" nsamples[antpair + ('pQ',)] = 4 * (nsamples[antpair + ('ee',)]**-1 + nsamples[antpair + ('nn',)]**-1)**-1"
]
Expand Down

0 comments on commit 43a934c

Please sign in to comment.