|
59 | 59 | <li class="toctree-l3"><a class="reference internal" href="#crane-run">crane run</a></li>
|
60 | 60 | <li class="toctree-l3"><a class="reference internal" href="#crane-check-region-overlap">crane check-region-overlap</a></li>
|
61 | 61 | <li class="toctree-l3"><a class="reference internal" href="#crane-compare">crane compare</a></li>
|
62 |
| -<li class="toctree-l3"><a class="reference internal" href="#crane-visualize">crane visualize</a></li> |
63 | 62 | </ul>
|
64 | 63 | </li>
|
65 | 64 | <li class="toctree-l2"><a class="reference internal" href="#interactive-commands">交互式可视化命令行</a><ul>
|
|
120 | 119 | <p>CRANE本质上是一个命令行程序,它通过各种命令行来执行计算、绘制可视化图表等,CRANE的命令行可以分为以下两类:</p>
|
121 | 120 | <ol class="arabic simple">
|
122 | 121 | <li><p>基本命令行,该类命令行形式为 <code class="docutils literal notranslate"><span class="pre">crane</span> <span class="pre">COMMAND</span> <span class="pre">[ARGS]</span></code>,是CRANE最基本的命令行,如 <a class="reference internal" href="#crane-run"><span class="std std-ref">crane run</span></a>、
|
123 |
| -<a class="reference internal" href="#crane-visualize"><span class="std std-ref">crane visualize</span></a>、<a class="reference internal" href="#crane-compare"><span class="std std-ref">crane compare</span></a> 等;</p></li> |
124 |
| -<li><p>交互式命令行,该类命令行必须通过 <a class="reference internal" href="#crane-visualize"><span class="std std-ref">crane visualize</span></a> 进入交互式命令行界面后执行,为模型及结果可视化相关的命令行工具, |
| 122 | +<span class="xref std std-ref">crane_visualize</span>、<a class="reference internal" href="#crane-compare"><span class="std std-ref">crane compare</span></a> 等;</p></li> |
| 123 | +<li><p>交互式命令行,该类命令行必须通过 <span class="xref std std-ref">crane_visualize</span> 进入交互式命令行界面后执行,为模型及结果可视化相关的命令行工具, |
125 | 124 | 如 <a class="reference internal" href="usersguide/visualization.html#plot-model"><span class="std std-ref">模型可视化</span></a>、<a class="reference internal" href="usersguide/visualization.html#plot-power-distribution"><span class="std std-ref">功率分布可视化</span></a> 等。</p></li>
|
126 | 125 | </ol>
|
127 | 126 | <section id="base-commands">
|
|
374 | 373 | <dd><p>Optional argument(s)</p>
|
375 | 374 | </dd></dl>
|
376 | 375 |
|
377 |
| -</section> |
378 |
| -<section id="crane-visualize"> |
379 |
| -<span id="crane-visualize"></span><h3>crane visualize<a class="headerlink" href="#crane-visualize" title="Link to this heading">¶</a></h3> |
380 |
| -<p>Start a interactive command line mode, which contains rich |
381 |
| -visualization functions.</p> |
382 |
| -<p>FILENAME is the name of file with path in which the model defined, both yaml |
383 |
| -and json format are acceptable. Or the name of output file in HDF5 format with path.</p> |
384 |
| -<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>crane<span class="w"> </span>visualize<span class="w"> </span><span class="o">[</span>OPTIONS<span class="o">]</span><span class="w"> </span>FILENAME<span class="w"> </span><span class="o">[</span>REFERENCE_FILE<span class="o">]</span>... |
385 |
| -</pre></div> |
386 |
| -</div> |
387 |
| -<p class="rubric">Arguments</p> |
388 |
| -<dl class="std option"> |
389 |
| -<dt class="sig sig-object std" id="cmdoption-crane-visualize-arg-FILENAME"> |
390 |
| -<span class="sig-name descname"><span class="pre">FILENAME</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-crane-visualize-arg-FILENAME" title="Link to this definition">¶</a></dt> |
391 |
| -<dd><p>Required argument</p> |
392 |
| -</dd></dl> |
393 |
| - |
394 |
| -<dl class="std option"> |
395 |
| -<dt class="sig sig-object std" id="cmdoption-crane-visualize-arg-REFERENCE_FILE"> |
396 |
| -<span class="sig-name descname"><span class="pre">REFERENCE_FILE</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-crane-visualize-arg-REFERENCE_FILE" title="Link to this definition">¶</a></dt> |
397 |
| -<dd><p>Optional argument(s)</p> |
398 |
| -</dd></dl> |
399 |
| - |
400 | 376 | </section>
|
401 | 377 | </section>
|
402 | 378 | <section id="interactive-commands">
|
403 |
| -<span id="crane-to-openmc"></span><span id="id3"></span><h2>交互式可视化命令行<a class="headerlink" href="#interactive-commands" title="Link to this heading">¶</a></h2> |
| 379 | +<span id="id3"></span><h2>交互式可视化命令行<a class="headerlink" href="#interactive-commands" title="Link to this heading">¶</a></h2> |
404 | 380 | <section id="plot-model">
|
405 | 381 | <span id="cli-plot-model"></span><h3>plot-model<a class="headerlink" href="#plot-model" title="Link to this heading">¶</a></h3>
|
406 | 382 | <div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>plot-model<span class="w"> </span><span class="o">[</span>OPTIONS<span class="o">]</span>
|
|
0 commit comments