@@ -204,8 +204,8 @@ def colossus_mf(redshift, model, mdef, m_min, m_max, sky_area, cosmology,
204
204
205
205
return z , m
206
206
207
- def concentration (mass , mdef , redshift , model , cosmology , sigma8 , ns )
208
- """ Halo concentration calculator.
207
+ def concentration (mass , mdef , redshift , model , cosmology , sigma8 , ns ):
208
+ r''' Halo concentration calculator.
209
209
210
210
This function calculates halo concentration(s) using the model of c-M relation
211
211
available in colossus.
@@ -234,7 +234,7 @@ def concentration(mass, mdef, redshift, model, cosmology, sigma8, ns)
234
234
concentration : float or array_like
235
235
Halo concentration(s); has the same dimensions as mass.
236
236
237
- """
237
+ '''
238
238
from colossus .cosmology .cosmology import fromAstropy
239
239
from colossus .halo import concentration
240
240
@@ -244,8 +244,8 @@ def concentration(mass, mdef, redshift, model, cosmology, sigma8, ns)
244
244
245
245
return c
246
246
247
- def radius (mass , concentration , redshift , mdef , Delta , cosmology , sigma8 , ns )
248
- """ Calculate the scale radius and the spherical overdensity radius of halo by assuming
247
+ def radius (mass , concentration , redshift , mdef , Delta , cosmology , sigma8 , ns ):
248
+ r''' Calculate the scale radius and the spherical overdensity radius of halo by assuming
249
249
the NFW model.
250
250
251
251
This function calculates the scale radius and any spherical overdensity radius
@@ -279,7 +279,7 @@ def radius(mass, concentration, redshift, mdef, Delta, cosmology, sigma8, ns)
279
279
RDelta : float
280
280
Spherical overdensity radius of a given mass definition Delta.
281
281
282
- """
282
+ '''
283
283
from colossus .cosmology .cosmology import fromAstropy
284
284
from colossus .halo import profile_nfw
285
285
@@ -293,7 +293,7 @@ def radius(mass, concentration, redshift, mdef, Delta, cosmology, sigma8, ns)
293
293
294
294
295
295
def Delta_Sigma (mass , concentration , redshift , mdef , radius , cosmology , sigma8 , ns ):
296
- """ The excess surface density at given radius by assuming the NFW model.
296
+ r''' The excess surface density at given radius by assuming the NFW model.
297
297
298
298
This function uses Colossus routines to compute the excess surface density profile,
299
299
which is defined as Delta_Sigma(R) = Sigma(<R) − Sigma(R).
@@ -324,7 +324,8 @@ def Delta_Sigma(mass, concentration, redshift, mdef, radius, cosmology, sigma8,
324
324
DeltaSigma: float or array_like
325
325
The excess surface density at the given radius, in units of h physical Msun/kpc^2;
326
326
has the same dimensions as radius.
327
- """
327
+
328
+ '''
328
329
from colossus .cosmology .cosmology import fromAstropy
329
330
from colossus .halo import profile_nfw
330
331
0 commit comments