<!DOCTYPE html>
<html>
<head>
<title>EasyGDF:load()</title>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" />
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<link rel="stylesheet" href="../../../../../../css/inline_frame.css" type="text/css">
<meta name="description" content="EasyGDFのload()のプログラム例">
</head>
<body>
<?php include "../../../../../../www_func/mk_html.php";?>
<h1>EasyGDF の load() の使い方</h1>
<p>load() の使い方を説明します.gdf ファイルを読み込みとそのデータを表示するプログラムを示します.</p>
<h2>プログラム例</h2>
<p>GPT のユーティリティープログラムである fish2gdf を使うと,SUPERFISH で計算された電磁場を gdf に変換できます.以下のプログラムは,fish2gdf で作成されたデータを load() で読み込み,その内容を表示します.</p>
<pre class="prettyprint linenums my_gcp" style="height:auto; width:500px; line-height:150%"><?php source2html_raw("load.py", 4); ?></pre>
<h2>実行結果</h2>
<p>実行結果は,以下のとおりです.読み込んだ辞書型のデータが理解できるでしょう,</p>
<pre class="terminal_screen mono_space" style="height:300px; width:500px"><span class="promt">><span> <span class="command">python</span> <span class="arg">load.py</span>
<?php source2html_raw("load_output.txt", 4);?></pre>
</body>
</html>