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

update2412

parent e7048f6f
Pipeline #7699 failed with stage
in 0 seconds
This diff is collapsed.
...@@ -23,14 +23,15 @@ class config(): ...@@ -23,14 +23,15 @@ class config():
dpix : float, optional dpix : float, optional
Pixel size in the spatial direction, by default 0.2arcsec 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, def __init__(self, wave_min=3500.0, wave_max=10000.0,
ny=30, dpix=0.2): dlam=2.0, inst_fwhm=0.1,
nx=30, ny=30, dpix=0.2):
self.dlam = dlam self.dlam = dlam
self.wave = np.arange(wave_min, wave_max, dlam) self.wave = np.arange(wave_min, wave_max, dlam)
self.wave_min = wave_min self.wave_min = wave_min
self.inst_fwhm = inst_fwhm
self.nx = nx self.nx = nx
self.ny = ny self.ny = ny
self.dpix = dpix self.dpix = dpix
self.fov_x = nx * dpix self.fov_x = nx * dpix
self.fov_y = ny * dpix self.fov_y = ny * dpix
self.inst_fwhm = 2.5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment