diff options
author | Aaron LI <aly@aaronly.me> | 2018-12-20 23:50:04 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-12-20 23:50:04 +0800 |
commit | 97b8badebfe5067fad1c012d4955b20dcc1ed24b (patch) | |
tree | bfc8e2f0ca886979dc78eecab5a716e9283416b3 /fg21sim/extragalactic/pointsources | |
parent | 76942d3fa965d4b8fd5e9726bd93b54d0c0f5dab (diff) | |
download | fg21sim-97b8badebfe5067fad1c012d4955b20dcc1ed24b.tar.bz2 |
PEP8 fix
Diffstat (limited to 'fg21sim/extragalactic/pointsources')
-rw-r--r-- | fg21sim/extragalactic/pointsources/psparams.py | 4 |
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)) |