index_obs.html 8.88 KB
Newer Older
Wei Chengliang's avatar
Wei Chengliang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>csst_msc_sim_CONF</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f4;
            color: #333;
        }
        h1 {
            text-align: center;
            color: #4CAF50;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .block {
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
            padding: 10px;
            background-color: #fafafa;
        }
        h2 {
            color: #4CAF50;
            font-size: 1.2em;
            margin-bottom: 10px;
        }
        label {
            display: block;
            margin: 5px 0;
        }
        input[type="text"] {
            width: calc(100% - 22px);
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-bottom: 10px;
            transition: border 0.3s;
        }
        input[type="text"]:focus {
            border-color: #4CAF50;
            outline: none;
        }
        input[type="submit"] {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s;
        }
        input[type="submit"]:hover {
            background-color: #45a049;
        }
        table {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 8px; /* 圆角 */
            overflow: hidden; /* 隐藏超出表格的内容 */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 添加阴影 */
        }

        th, td {
            border-bottom: 1px solid #ddd; /* 单元格底部边框 */
            padding: 12px; /* 内边距 */
            text-align: left;
        }
        tr:hover {
            background-color: #ADD8E6; /* 悬停时背景颜色 */
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>配置obs_config_SCI.yaml</h1>
        <p><strong>说明:</strong>
        1,该脚本可用于生成CSST主巡天成像仿真的参数文件,相关参数说明见本页脚注;2,用户必须修改相关路径参数,其他参数可参考默认值
.
        </p>
        <hr style="border: 2px solid green;">
        <form method="POST">
            {{ form_html | safe }}
            <input type="submit" value="保存">
        </form>
    </div>

    <footer class="mt-4">
        <p class="text-center">这是一个有用的网页</p>
        <table>
            <tr>
                <th>KEYS</th>
                <th>VALUES</th>
                <th>COMMENTS</th>
            </tr>
            <tr>
                <th>obs_type</th>
                <td>"SCI", [str]</td>
                <td>仿真图像类型</td>
            </tr>
            <tr>
                <th>obs_type_code</th>
                <td>"101", [str]</td>
                <td>数据系统内部标号</td>
            </tr>
            <tr>
                <th>obs_id</th>
                <td>"00000001", [str]</td>
                <td>this setting will only be used if pointing list file is not given</td>
            </tr>
            <tr>
                <th>run_chips</th>
                <td>[7,8,9], [list]</td>
                <td>Define list of chips</td>
            </tr>
            <tr>
                <th>scie_obs:<span style="font-weight: normal;">shutter_effect</span></th>
                <td>YES, [bool]</td>
                <td>是否应用快门效应</td>
            </tr>
            <tr>
                <th>scie_obs:<span style="font-weight: normal;">flat_fielding</span></th>
                <td>YES, [bool]</td>
                <td>是否应用平场模块</td>
            </tr>
            <tr>
                <th>scie_obs:<span style="font-weight: normal;">field_dist</span></th>
                <td>YES, [bool]</td>
                <td> </td>
            </tr>
            <tr>
                <th>sky_background:<span style="font-weight: normal;">shutter_effect</span></th>
                <td>YES, [bool]</td>
                <td>是否应用快门效应</td>
            </tr>
            <tr>
                <th>sky_background:<span style="font-weight: normal;">flat_fielding</span></th>
                <td>YES, [bool]</td>
                <td>是否应用平场模块</td>
            </tr>
            <tr>
                <th>sky_background:<span style="font-weight: normal;">enable_straylight_model</span></th>
                <td>YES, [bool]</td>
                <td>是否应用杂散光模块</td>
            </tr>
            <tr>
                <th>sky_background:<span style="font-weight: normal;">flat_level</span></th>
                <td>null [null or int]</td>
                <td>set the total skybackground value (e-) in the exptime,if none,set null, or delete the key</td>
            </tr>
            <tr>
                <th>sky_background:<span style="font-weight: normal;">flat_level_filt</span></th>
                <td>null, [str]</td>
                <td>the vale of "flat_level" is in the filter "flat_level_filt", can set NUV, u, g, r, i, z, y, if none,set null,or delete the key</td>
            </tr>
            <tr>
                <th>PRNU_effect<span style="font-weight: normal;"></span></th>
                <td>---</td>
                <td>应用像素间不均匀响应模块;如果需关闭,请在生成的yaml文件中直接注释</td>
            </tr>
            <tr>
                <th>cosmic_rays:<span style="font-weight: normal;">save_cosmic_img</span></th>
                <td>YES, [bool]</td>
                <td>是否保存宇宙线图像</td>
            </tr>
            <tr>
                <th>poisson_and_dark:<span style="font-weight: normal;">add_dark</span></th>
                <td>YES, [bool]</td>
                <td>是否添加暗电流</td>
            </tr>
            <tr>
                <th>bright_fatter<span style="font-weight: normal;"></span></th>
                <td>YES, [bool]</td>
                <td>应用亮胖效应模块;如果需关闭,请在生成的yaml文件中直接注释</td>
            </tr>
            <tr>
                <th>detector_defects:<span style="font-weight: normal;">hot_pixels</span></th>
                <td>YES, [bool]</td>
                <td>是否添加热像元</td>
            </tr>
            <tr>
                <th>detector_defects:<span style="font-weight: normal;">dead_pixels</span></th>
                <td>YES, [bool]</td>
                <td>是否添加坏像元</td>
            </tr>
            <tr>
                <th>detector_defects:<span style="font-weight: normal;">bad_columns</span></th>
                <td>YES, [bool]</td>
                <td>是否添加坏像列</td>
            </tr>
            <tr>
                <th>nonlinearity<span style="font-weight: normal;"></span></th>
                <td>---</td>
                <td>应用非线性响应模块;如果需关闭,请在生成的yaml文件中直接注释</td>
            </tr>
            <tr>
                <th>blooming<span style="font-weight: normal;"></span></th>
                <td>---</td>
                <td>是否应用饱和溢出模块;如果需关闭,请在生成的yaml文件中直接注释</td>
            </tr>
            <tr>
                <th>prescan_overscan:<span style="font-weight: normal;">add_dark</span></th>
                <td>YES, [bool]</td>
                <td> 是否在pre/over-scan区域添加暗电流/</td>
            </tr>
            <tr>
                <th>bias:<span style="font-weight: normal;">bias_16channel</span></th>
                <td>YES, [bool]</td>
                <td>是否添加16通道的偏置电压</td>
            </tr>
            <tr>
                <th>readout_noise<span style="font-weight: normal;"></span></th>
                <td>---</td>
                <td>添加读出噪声;如果需关闭,请在生成的yaml文件中直接注释</td>
            </tr>
            <tr>
                <th>gain:<span style="font-weight: normal;">gain_16channel</span></th>
                <td>YES, [bool]</td>
                <td>是否应用增益</td>
            </tr>
            <tr>
                <th>quantization_and_output:<span style="font-weight: normal;">format_output</span></th>
                <td>YES, [bool]</td>
                <td>是否按0级数据格式定义输出图像</td>
            </tr>



        </table>
    </footer>
</body>
</html>