From 97b8badebfe5067fad1c012d4955b20dcc1ed24b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 20 Dec 2018 23:50:04 +0800 Subject: PEP8 fix --- fg21sim/extragalactic/pointsources/psparams.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fg21sim/extragalactic/pointsources') 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)) -- cgit v1.2.2