cristobal-sifon / profiley

Profile calculations for galaxies and clusters
MIT License
5 stars 2 forks source link

Source sigma_crit #36

Closed cristobal-sifon closed 10 months ago

cristobal-sifon commented 1 year ago

currently:

    def sigma_crit(self, z, frame='comoving'):
        assert frame in ('comoving', 'physical','proper')
        A = self._c**2 / (4*np.pi*self._G)
        if frame == 'comoving':
            A = A / (1+z)**2
        return A / (self.angular_diameter_distance(z)*self.beta(z_s=z_s))

so: