diff --git a/csst_ifs_gehong/config.py b/csst_ifs_gehong/config.py index 073224f035aeeb975c3398b9e7892ff0f1f34864..46da374b365c903beca5f2022628add5a5a46541 100644 --- a/csst_ifs_gehong/config.py +++ b/csst_ifs_gehong/config.py @@ -3,7 +3,8 @@ import numpy as np class config(): """ - The configuration of spectral modeling. The default value is used for ETC calculation. + The configuration of spectral modeling. The default value is used for + ETC calculation. Parameters ---------- @@ -22,8 +23,8 @@ class config(): dpix : float, optional Pixel size in the spatial direction, by default 0.2arcsec """ - def __init__(self, wave_min=3500.0, wave_max=10000.0, dlam=2.0, - nx=30, ny=30, dpix=0.2): + def __init__(self, wave_min=3500.0, wave_max=10000.0, dlam=2.0, nx=30, + ny=30, dpix=0.2): self.dlam = dlam self.wave = np.arange(wave_min, wave_max, dlam) self.wave_min = wave_min diff --git a/csst_ifs_gehong/map2d.py b/csst_ifs_gehong/map2d.py index 13e68c5e16cb20377cb9dd93d80cdb775939534b..b5f738797729319b540f08be45b571265cc34f1c 100644 --- a/csst_ifs_gehong/map2d.py +++ b/csst_ifs_gehong/map2d.py @@ -8,7 +8,8 @@ from skimage.transform import resize def Sersic2D(x, y, mag=12.0, r_eff=1.0, n=2.0, ellip=0.5, theta=0.0, x_0=0.0, y_0=0.0, pixelscale=0.01): """ - Sersic2D: Caculate the surface brightness at given spatial position base on the Sersic model. + Sersic2D: Caculate the surface brightness at given spatial position + base on the Sersic model. Parameters ----------