Skip to content

Commit

Permalink
Merge pull request #207 from LSSTDESC/u/yymao/DeltaSigmaTest-bug-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yymao committed May 19, 2022
2 parents c0f7b35 + 1f609e9 commit 194883e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion descqa/DeltaSigmaTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_on_single_catalog(self, catalog_instance, catalog_name, output_dir):
cosmo = WMAP7

# Create interpolation tables for efficient computation of sigma crit
z = np.linspace(0, self.zmax, int(self.zmax)*100)
z = np.linspace(0, self.zmax, int(self.zmax * 100) + 1)
d1 = cosmo.angular_diameter_distance(z) # in Mpc
angular_diameter_distance = interp1d(z, d1, kind='quadratic')
d2 = cosmo.comoving_transverse_distance(z) # in Mpc
Expand Down

0 comments on commit 194883e

Please sign in to comment.