Commit a21fb694 authored by Shuai Feng's avatar Shuai Feng
Browse files

update2412

parent e7048f6f
Loading
Loading
Loading
Loading
Loading
+64 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −3
Original line number Diff line number Diff line
@@ -23,14 +23,15 @@ 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, inst_fwhm=0.1,
                 nx=30, ny=30, dpix=0.2):
        self.dlam = dlam
        self.wave = np.arange(wave_min, wave_max, dlam)
        self.wave_min = wave_min
        self.inst_fwhm = inst_fwhm
        self.nx = nx
        self.ny = ny
        self.dpix = dpix
        self.fov_x = nx * dpix
        self.fov_y = ny * dpix
        self.inst_fwhm = 2.5