Skip to content

Commit

Permalink
minor updates from cosmo_handling PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nkern committed May 1, 2018
1 parent b59adfe commit 1b3b335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hera_pspec/noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def calc_P_N(scalar, Tsys, t_int, Ncoherent=1, Nincoherent=None, form='Pk', k=No
Parameters
----------
scalar : float, Power spectrum normalization factor: X2Y(z) * Omega_P^2 / Omega_PP
Tsys : float, System temperature in Kelvin
t_int : float, integration time of power spectra in seconds
Expand Down
2 changes: 1 addition & 1 deletion hera_pspec/pspecdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def units(self, little_h=True):

# set pspec norm units
if self.primary_beam is None:
norm_units = "Hz str [beam normalization not specified]".format(self.dsets[0].vis_units)
norm_units = "Hz str [beam normalization not specified]"
else:
if little_h:
h_unit = "h^-3 "
Expand Down

0 comments on commit 1b3b335

Please sign in to comment.