.. _English:
Welcome to M-DaC Tutorial Page. (in English)
===============================================
:ref:`Top`
| In NIMS_, we are developing various conversion tools called **M-Dac** (Materials Data Conversion Tools)for material data in cooperation with measurement equipment manufacturers.
| **M-DaC** is releasing these tools under **MIT license**.
| It is possible to run these tools by `Jupyter Notebook`_ .
News
-----
| [2020/04/15] version 1.2 released. Release of 2D-XRD(Rigaku) tools.
| [2020/04/10] version 1.1 released. Release of AES(JEOL,ULVAC PHI) tools.
| [2019/01/30] version 1.0 released. Release of XPS(ULVAC-PHI compliant) and XRD(Rigaku complliant) tools.
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
.. index::
single: proxy(git)
.. 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)
.. raw:: html
Online documentation (and example of use)
=========================================
https://nims-dpfc.github.io/M-DaC_doc/
Source code repository
======================
**XPS:** https://github.com/nims-dpfc/M-DaC_XPS
**XRD:** https://github.com/nims-dpfc/M-DaC_XRD
**AES:** https://github.com/nims-dpfc/M-DaC_AES
Contents
========
.. toctree::
:maxdepth: 3
About
Installation
FAQ
License
Terms of Service
Tutorial
License
=======
MIT -- see the file ``LICENSE_MIT.txt`` for details.
.. _NIMS: https://www.nims.go.jp/
.. _Jupyter Notebook: http://jupyter.org/
.. _Jupyter Notebookでの実行: xps_survey.ipynb
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. |br| raw:: html