aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r--fg21sim/extragalactic/clusters/solver.py4
-rw-r--r--fg21sim/extragalactic/pointsources/psparams.py4
2 files changed, 5 insertions, 3 deletions
diff --git a/fg21sim/extragalactic/clusters/solver.py b/fg21sim/extragalactic/clusters/solver.py
index ad5c320..10fd8e4 100644
--- a/fg21sim/extragalactic/clusters/solver.py
+++ b/fg21sim/extragalactic/clusters/solver.py
@@ -77,9 +77,9 @@ class FokkerPlanckSolver:
"""
Solve the Fokker-Planck equation:
- ∂u(x,t) ∂ / ∂u(x) \ u(x,t)
+ ∂u(x,t) ∂ [ ∂u(x) ] u(x,t)
------- = -- | B(x)u(x) + C(x)----- | + Q(x,t) - ------
- ∂t ∂x \ ∂x / T(x,t)
+ ∂t ∂x [ ∂x ] T(x,t)
u(x,t) : distribution/spectrum w.r.t. x at different times
B(x,t) : advection coefficient
diff --git a/fg21sim/extragalactic/pointsources/psparams.py b/fg21sim/extragalactic/pointsources/psparams.py
index 7c3a93a..823af72 100644
--- a/fg21sim/extragalactic/pointsources/psparams.py
+++ b/fg21sim/extragalactic/pointsources/psparams.py
@@ -19,6 +19,7 @@ from astropy.cosmology import FlatLambdaCDM
class PixelParams():
"""
A class to transform cosmology distance to angles or pixels.
+
Parameters
------------
H0: float
@@ -28,11 +29,12 @@ class PixelParams():
ang_res: float
Angular resolution, i.e. degree per pixel. (May be useless)
ang_total: list
- Total angles of the simulated sky region,whose unit is degree (\deg)
+ Total angles of the simulated sky region, whose unit is degree
z : float
Redshift
scale: float
The real object scale.
+
Example
------------
>>> PixelParams = PixelParams(img_size=(1024,1024),ang_total=(5,5))