Skip to main content

ODAT-SE -- an open framework for data analysis

Open Data Analysis Tool for Science and Engineering (ODAT-SE) is a framework for applying a search algorithm to a direct problem solver to find the optimal solution. It has been developed by the name 2DMAT, and since version 3.0, it is organized as an open platform for data analysis by modularizing direct problem solvers and search algorithms.

As the standard direct problem solver, the experimental data analysis software for two-dimensional material structure analysis is prepared. The direct problem solver gives the deviation between the experimental data and the calculated data obtained under the given parameters such as atomic positions as a loss function used in the inverse problem. The optimal parameters are estimated by minimizing the loss function using a search algorithm. For further use, the original direct problem solver or the search algorithm can be defined by users. ODAT-SE offers wrappers of direct problem solvers for some of quantum beam diffraction experiments such as the total-reflection high-energy positron diffraction (TRHEPD) experiment. As algorithms, it offers some minimizers such as the Nelder-Mead method and some samplers such as the population annealing Monte Carlo method.

In the future, we plan to add other direct problem solvers and search algorithms in ODAT-SE.

Branch Build status Documentation
main (latest, stable) main doc_en doc_ja

odatse

odatse is a python framework library for solving inverse problems. It also offers a driver script to solve the problem with predefined optimization algorithms and direct problem solvers. (odatse also stands for the name of the script.)

Prerequisites

  • Required
    • python >= 3.9
    • numpy >= 1.14
    • matplotlib >= 3
    • tomli >= 1.2 (for Python < 3.11)
  • Optional
    • scipy
      • for minsearch and global_search algorithms
    • mpi4py >= 3.1
      • for MPI-parallel algorithms such as exchange and pamc
    • physbo >= 2.0
      • for bayes algorithm
    • tqdm
      • for progress display

Install

  • From PyPI (Recommended)
    • python3 -m pip install -U ODAT-SE
      • If you install them locally, use --user option like python3 -m pip install -U --user
      • To install all the optional dependencies at once, use python3 -m pip install -U "ODAT-SE[all]"
  • From Source (For developers)
    1. update pip >= 19 by python3 -m pip install -U pip
    2. python3 -m pip install ODAT_SE_ROOT_DIRECTORY to install odatse package and odatse command
      • ODAT_SE_ROOT_DIRECTORY means the directory including this README.md file.

Simple Usage

  • odatse input.toml (use the installed script)
  • python3 src/odatse_main.py input.toml (use the raw script)
  • For details of the input file, see the document.

Files and directories of ODAT-SE

  • src/
    • source codes
  • sample/
    • sample usages
  • doc/
    • source codes of documents (manuals)
  • tests/
    • for automatic test
  • README.md
    • this file
  • pyproject.toml
    • metadata for ODAT-SE

License

This package is distributed under Mozilla Public License v2.0 (MPL-2.0).

We hope that you cite the following references when you publish the results using 2DMAT / ODAT-SE: "Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures", Y. Motoyama, K. Yoshimi, I. Mochizuki, H. Iwamoto, H. Ichinose, and T. Hoshi, Computer Physics Communications 280, 108465 (2022).

Bibtex:

@article{MOTOYAMA2022108465,
  title = {Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures},
  journal = {Computer Physics Communications},
  volume = {280},
  pages = {108465},
  year = {2022},
  issn = {0010-4655},
  doi = {https://doi.org/10.1016/j.cpc.2022.108465},
  url = {https://www.sciencedirect.com/science/article/pii/S0010465522001849},
  author = {Yuichi Motoyama and Kazuyoshi Yoshimi and Izumi Mochizuki and Harumichi Iwamoto and Hayato Ichinose and Takeo Hoshi}
}

© 2020- The University of Tokyo. All rights reserved. This software was developed with the support of "Project for advancement of software usability in materials science" of The Institute for Solid State Physics, The University of Tokyo.

Metadata

Release files for ODAT-SE 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ODAT-SE 4.0.0
File Size Uploaded
odat_se-4.0.0.tar.gz 108.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ODAT-SE 4.0.0
File Interpreter ABI Platform
odat_se-4.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 253.5 kB

Release files / odat_se-4.0.0.tar.gz

Download URL odat_se-4.0.0.tar.gz
Size 108.0 kB
Tags Source
SHA-256 checksum
How to use checksums
93605490661210c93c83e9e163e4dafa2bfa334c66a07275c35bb236dc60d6b7
BLAKE2b-256 checksum
How to use checksums
e07c76f2e020777a9743eb4fdf6f851d39dd9135c1d0e8f5ad0f8fdfecb6e4be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / odat_se-4.0.0-py3-none-any.whl

Download URL odat_se-4.0.0-py3-none-any.whl
Size 145.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
feebd1089b0c0415c5cb4b4e3d2fa47ad721f18b8164671b217f1143a7268a2b
BLAKE2b-256 checksum
How to use checksums
57ddaca75c7769ca9845ec988781b020577d914567f435f4051a765f452e7c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

4.0.1

1 release file

This release

4.0.0 This release

2 release files

3.2.1

1 release file

3.2.0

1 release file

3.1.0

1 release file

3.0.1

1 release file

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page