Skip to main content

A "simple" python interface to the EXFOR library

Project description

x4i - The EXFOR Interface

Date: 20 May 2022

Author: David Brown

Description: x4i provides a python interface to the EXFOR library, allowing users to search for and then translate EXFOR files into an easy to understand (and then plot) form.

Detailed instructions are provided in https://github.com/brown170/x4i/blob/main/doc/x4i/user-guide/x4i.pdf

Easiest installation: using pip & git

  1. Install the package:

    pip install git+https://github.com/brown170/x4i -v
    
  2. Acquire, install and index the EXFOR file

    install-exfor-db
    

This version of the installation process automatically installs the 2021-03-08 version of the EXFOR database.
As x4i must rebuild the database, installation may take some time. install-exfor-db has other options that may be accessed with the built-in help (install-exfor-db -h).

Installation from a tarball distribution (not recommended)

  1. Unpack the distribution

  2. Installation options:

    • Installation with pip (You can delete the x4i project once this is complete)

      pip install path/to/x4i/pyproject.toml/directory
      
    • Editable pip installation (Don't delete the x4i project folder as this is continued to be used as code source)

      pip install -e path/to/x4i/pyproject.toml/directory
      

Source installation from git (only needed when working on development versions)

This assumes that you will be editing the project in some fashion. This installation does not automatically include the IAEA data files. You will need to download them yourself as described in step 3. below.

  1. Clone the project

    git clone https://github.com/brown170/x4i.git
    
  2. Installation options:

    • Editable installation using pip:

      pip install -e path/to/x4i/pyproject.toml/directory
      
  3. Acquire, install and index the EXFOR file

    install-exfor-db
    

This version of the installation process automatically installs the 2021-03-08 version of the EXFOR database.
As x4i must rebuild the database, installation may take some time. install-exfor-db has other options that may be accessed with the built-in help (install-exfor-db -h).

How do I import new EXFOR data?

The IAEA distributes the EXFOR files in a variety of ways as of the time of writing.
At this time, all have equivalent content, but different arrangements of data:

The repo at https://github.com/IAEA-NDS/exfor_master.git is our default scheme, as encoded via setup-exfor-db-index. Other options have not been fully implemented.

Note, the previous distribution of the EXFOR x4toc4 master has apparently been discontinued.

Changes since LLNL release (x4i-1.0)

  1. Update installation instructions (David Brown <dbrown@bnl.gov>, 2021-06-16T12:22:06)
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

x4i-1.0.5.dev0.tar.gz (571.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

x4i-1.0.5.dev0-py3-none-any.whl (568.2 kB view details)

Uploaded Python 3

File details

Details for the file x4i-1.0.5.dev0.tar.gz.

File metadata

  • Download URL: x4i-1.0.5.dev0.tar.gz
  • Upload date:
  • Size: 571.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for x4i-1.0.5.dev0.tar.gz
Algorithm Hash digest
SHA256 ef8d45294f71c8d711acbf1f2cfa1dd6497e1c9d5cb55a654fed8dc724386cf9
MD5 2ecaa1c835d31f2abae5e2f1c9fe8ce9
BLAKE2b-256 9ae1f7df8354439711dbfe81315f407853639029c8329870a070bdd0e7f546f2

See more details on using hashes here.

File details

Details for the file x4i-1.0.5.dev0-py3-none-any.whl.

File metadata

  • Download URL: x4i-1.0.5.dev0-py3-none-any.whl
  • Upload date:
  • Size: 568.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.8

File hashes

Hashes for x4i-1.0.5.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b3e12a9b79aa5647b50358d42c6d7c74b5a22ef07bd2dea0b482c91b9369fb5
MD5 da4ce5d00768be66e77f66bea1605789
BLAKE2b-256 157f75c111695678b9b4778bd831ae00edd3e18299d5654d5dd3fdce1f12aa3b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page