Skip to content

Commit

Permalink
modified: hera_pspec/uvpspec.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nkern committed May 27, 2019
1 parent 643cc07 commit d4e7a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera_pspec/uvpspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ def generate_noise_spectra(self, spw, polpair, Tsys, blpairs=None,
for i, blp in enumerate(blpairs):
# get indices
inds = self.blpair_to_indices(blp)

assert isinstance(Tsys[blp], (float, np.float, int, np.int)) or Tsys[blp].shape[0] == self.Ntimes, "Tsys must be a float or an ndarray with shape[0] == Ntimes"
P_blp = []
# iterate over time axis
for j, ind in enumerate(inds):
Expand Down

0 comments on commit d4e7a64

Please sign in to comment.