Welcome to M-DaC Tutorial(日本語)¶
Welcome to M-DaC Tutorial Page. (in English)
News¶
Quick Start【XPSを事例に】¶
リポジトリをクローンまたはzipでダウンロードします。
git clone https://github.com/nims-dpfc/M-DaC_XPS.git myproject cd myproject
Note
fatal: unable to access ‘https://github.com/…’: Couldn’t resolve host ‘github.com’ のエラーが出た場合はプロキシの設定を行ってください。
プロキシの設定は以下のように行います。
git config --global http.https://github.com/nims-dpfc/M-DaC_XPS.git.proxy http://[proxy]:[port]
[proxy],[port]は使用環境に合わせて設定します。
ツールディレクトリに移動します。
cd PHI_XPS_survey_narrow_tools
コマンドを実行します。
MPExport.exe -Filename:"..\source\XPS_PHI_QUANTERA_survey.spe" -TSV
python txt2csv.py "XPS_PHI_QUANTERA_survey.txt"
python csv2graph.py "XPS_PHI_QUANTERA_survey.csv"
python txt2raw_XPS_survey.py "XPS_PHI_QUANTERA_survey.txt" xps_raw_template.xml raw.xml
python raw2primary_XPS_survey.py raw.xml xps_primary_template.xml primary.xml
カレントディレクトリに各種変換されたファイルが作成されます。
Jupyter Notebook で実行する場合は jupyter notebook を立ち上げます。
jupyter notebook
チュートリアルにある「 Jupyter Notebookでの実行 」を参考に各種コマンドを実行します。
xps_survey.ipynb
を使用すると簡単に実行できます。
XPS_surveyの実行方法についての動画です。
Welcome to M-DaC Tutorial Page. (in English)¶
Welcome to M-DaC Tutorial(日本語)
News¶
Quick Start【Example for XPS case.】¶
Download the repository via git clone or zip.
git clone https://github.com/nims-dpfc/M-DaC_XPS.git myproject
cd myproject
Note
In case an error message ‘fatal: unable to access ‘https://github.com/…’: Couldn’t resolve host ‘github.com’ appears, you need proxy setting.
Proxy setting can be done as follows.
git config --global http.https://github.com/nims-dpfc/M-DaC_XPS.git.proxy http://[proxy]:[port]
You need to configure [proxy],and [port] according to your environment.
Move to tool directory.
cd PHI_XPS_survey_narrow_tools
Execute the commands.
MPExport.exe -Filename:"..\source\XPS_PHI_QUANTERA_survey.spe" -TSV
python txt2csv.py "XPS_PHI_QUANTERA_survey.txt"
python csv2graph.py "XPS_PHI_QUANTERA_survey.csv"
python txt2raw_XPS_survey.py "XPS_PHI_QUANTERA_survey.txt" xps_raw_template.xml raw.xml
python raw2primary_XPS_survey.py raw.xml xps_primary_template.xml primary.xml
Each transformed file is created in the current directory.
In case you use Jupyter Notebook, first launch it as follows.
jupyter notebook
Execute each command refering to tutorial “Jupyter Notebookでの実行” . Or you can use xps_survey.ipynb
from jupyter notebook. This makes it a lot easier to execute these.
This video shows how to execute XPS_survey. (no Eng. captions)
Online documentation (and example of use)¶
Source code repository¶
XPS: https://github.com/nims-dpfc/M-DaC_XPS
Contents¶
License¶
MIT – see the file
LICENSE_MIT.txt
for details.