aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/pointsources
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic/pointsources')
-rw-r--r--fg21sim/extragalactic/pointsources/psparams.py4
1 files changed, 3 insertions, 1 deletions
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))