Skip to content

Commit

Permalink
Merge pull request #196 from HERA-Team/little_h_fix
Browse files Browse the repository at this point in the history
fix for PSpecData.pspec to pass the little_h option when calculating norm scalar
  • Loading branch information
philbull committed Apr 10, 2019
2 parents 0de985e + 6cdbd8f commit f48ae94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hera_pspec/pspecdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -2114,10 +2114,10 @@ def pspec(self, bls1, bls2, dsets, pols, n_dlys=None,
# If using decorrelation, the H^-1 normalization
# already deals with the taper, so we need to override
# the taper when computing the scalar
scalar = self.scalar(p, little_h=True,
scalar = self.scalar(p, little_h=little_h,
taper_override='none')
else:
scalar = self.scalar(p, little_h=True)
scalar = self.scalar(p, little_h=little_h)
else:
raise_warning("Warning: self.primary_beam is not defined, "
"so pspectra are not properly normalized",
Expand Down

0 comments on commit f48ae94

Please sign in to comment.