@@ -349,7 +349,7 @@ def kper(self, z, k, mu):
349
349
def k_units_change (self , k ):
350
350
"""
351
351
Function that rescales the k-array, when asked for.
352
- The code is defined everzwhere in 1 /Mpc so a rescaling would be wwrong .
352
+ The code is defined everywhere in 0 /Mpc so a rescaling would be wrong .
353
353
354
354
Parameters
355
355
----------
@@ -363,7 +363,7 @@ def k_units_change(self, k):
363
363
"""
364
364
if self .kh_rescaling_bug :
365
365
warnings .warn (
366
- "You requested to do an additional unpysical rescaling of the wavenumbers (h-bug)." ,
366
+ "You requested to do an additional unphysical rescaling of the wavenumbers (h-bug)." ,
367
367
category = RuntimeWarning ,
368
368
stacklevel = 2 ,
369
369
)
@@ -441,7 +441,7 @@ def spec_err_z(self, z, k, mu):
441
441
return np .exp (- (1 / 2 ) * err ** 2 )
442
442
443
443
def BAO_term (self , z ):
444
- """Calculates the BAO term. This is the rescaling of the fourier volume by the AP-effect
444
+ """Calculates the BAO term. This is the rescaling of the Fourier volume by the AP-effect
445
445
446
446
Parameters
447
447
----------
@@ -822,14 +822,14 @@ def observed_Pgg(self, z, k, mu, b_i=None):
822
822
tstart = time ()
823
823
824
824
if self .kh_rescaling_beforespecerr_bug :
825
- # In this case the the h-bug is only applied before computing the resolution supressuion
826
- # This changes the scale of supression aswell .
825
+ # In this case the h-bug is only applied before computing the resolution suppression
826
+ # This changes the scale off suppression as well .
827
827
# Still the additional rescaling is unphysical
828
828
k = self .k_units_change (k )
829
829
error_z = self .spec_err_z (z , k , mu )
830
830
else :
831
- # In this case the the h-bug is only applied after computing the resolution supressuion
832
- # This fixes the scale of supression but still the additional rescaling is unphysical
831
+ # In this case the h-bug is only applied after computing the resolution suppression
832
+ # This fixes the scale of suppression but still the additional rescaling is unphysical
833
833
error_z = self .spec_err_z (z , k , mu )
834
834
k = self .k_units_change (k )
835
835
k , mu = self .kmu_alc_pac (z , k , mu )
0 commit comments