An error occurred while loading the file. Please try again.
index_overall.html 9.75 KiB
<!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>配置config_overall.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>work_dir</th> <td>/localpath, [str]</td> <td>工作目录-仿真输出的文件路径</td> </tr> <tr> <th>run_name</th> <td>testRun, [str]</td> <td>当前仿真目录</td> </tr> <tr> <th>project_cycle</th> <td>10, [int]</td> <td>CSST数据系统开发阶段-C10</td> </tr> <tr> <th>project_cycle</th> <td>0, [int]</td> <td>仿真次数标号-0</td> </tr> <tr> <th>run_option:<span style="font-weight: normal;">out_cat_only</span></th> <td>NO, [bool]</td> <td>是否仅输出星表-YES,不产生开展成像仿真,直接输出星表文件;NO,开展成像仿真</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">input_path</span></th> <td>/localpath, [str]</td> <td>"cat_dir": 输入星表路径, "star_cat": 恒星星表目录, "galaxy_cat": 星系星表目录</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">SED_templates_path</span></th> <td>/localpath, [str]</td>
<td>"star_SED": 恒星SED路径,"galaxy_SED": 星系SED路径,"AGN_SED": 类星体SED路径</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">star_only</span></th> <td>NO, [bool]</td> <td>YES,只对恒星成像;NO,包含其他天体成像</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">galaxy_only</span></th> <td>NO, [bool]</td> <td>YES,只对星系成像;NO,包含其他天体成像</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">rotateEll</span></th> <td>0.0, [float]</td> <td>旋转星系指向(度)</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">enable_mw_ext_gal</span></th> <td>NO, [bool]</td> <td>是否应用银河系消光</td> </tr> <tr> <th>catalog_options:<span style="font-weight: normal;">planck_ebv_map</span></th> <td>/localpath, [str]</td> <td>消光模型</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">pointing_file</span></th> <td>/localpath, [str]</td> <td>曝光指向文件路径</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">obs_config_file</span></th> <td>/localpath, [str]</td> <td>观测配置文件路径</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">run_pointings</span></th> <td>[0], [int]</td> <td>give a list of indexes of pointings</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">enable_astrometric_model</span></th> <td>YES, [bool]</td> <td>是否应用天测模块</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">cut_in_band</span></th> <td>"z", [str]</td> <td>Cut by saturation magnitude in which band</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">mag_sat_margin</span></th> <td>-2.5, [float]</td> <td>saturation magnitude margin</td> </tr> <tr> <th>obs_setting:<span style="font-weight: normal;">mag_lim_margin</span></th> <td>+1.0, [float]</td> <td>limiting magnitude margin</td> </tr> <tr> <th>psf_setting:<span style="font-weight: normal;">psf_model</span></th> <td>"Interp", [str]</td> <td>Interp-Interpolated PSF from sampled ray-tracing data; Gauss-simple gaussian profile</td> </tr> <tr> <th>psf_setting:<span style="font-weight: normal;">psf_pho_dir</span></th> <td>/localpath, [str]</td>
<td>多色成像PSF数据库路径</td> </tr> <tr> <th>psf_setting:<span style="font-weight: normal;">psf_sls_dir</span></th> <td>/localpath, [str]</td> <td>无缝光谱PSF数据库路径</td> </tr> <tr> <th>shear_setting:<span style="font-weight: normal;">shear_type</span></th> <td>constant, [str]</td> <td>constant-all galaxies are assigned a constant reduced shear; catalog-get shear values from catalog</td> </tr> <tr> <th>shear_setting:<span style="font-weight: normal;">reduced_g1</span></th> <td>0.0, [float]</td> <td>weak lensing shear, gamma_1</td> </tr> <tr> <th>shear_setting:<span style="font-weight: normal;"></span>reduced_g1</th> <td>0.0, [float]</td> <td>weak lensing shear, gamma_2</td> </tr> <tr> <th>output_setting:<span style="font-weight: normal;">output_format</span></th> <td>channels, [str]</td> <td>Whether to export as 16 channels (subimages) with pre- and over-scan (\"image\"/\"channels\")</td> </tr> <tr> <th>output_setting:<span style="font-weight: normal;">shutter_output</span></th> <td>NO, [bool]</td> <td>Whether to export shutter effect 16-bit image</td> </tr> <tr> <th>output_setting:<span style="font-weight: normal;">prnu_output</span></th> <td>NO, [bool]</td> <td>Whether to export the PRNU (pixel-to-pixel flat-fielding) files</td> </tr> <tr> <th>random_seeds</th> <td>[int]</td> <td>设置随机数种子</td> </tr> </table> </footer> </body> </html>