https://github.com/beykyle/exfor_tools

Some lightweight tools to grab data from the EXFOR database using the x4i3 library, and organize it for use in uncertainty-quantification and model calibration

https://github.com/beykyle/exfor_tools

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Some lightweight tools to grab data from the EXFOR database using the x4i3 library, and organize it for use in uncertainty-quantification and model calibration

Basic Info
  • Host: GitHub
  • Owner: beykyle
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 11.3 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 7
  • Releases: 6
Created almost 2 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

Python package PyPI publisher

exfor-tools

Some lightweight tools to grab data from the EXFOR database using the x4i3 library, and organize it for visualization and use in model calibration and uncertainty quantification.

use case

You have a reaction model $f(x,\alpha)$ and you would like to find some data $y(x)$ to constrain the $\alpha$. Here $x$ can be energy, angle, type of reaction, projectile and target, etc. You would like to do this in a statistically rigorous way, in which you take into account various types of uncertainties, including systematic uncertainties that introduce correlations between $y(xi)$ and $y(xj)$. You would also like to do this with large data sets comprised of many different experiments. In other words, you would like to curate a data set $y$ -- composed of reaction observables like differential cross sections -- and have the information required to construct a covariance matrix for it. And you would like it to be sorted into computationally convenient data structures that you can use for visualization, or comparison to your model. You've come to the right place.

scope

Currently, exfor_tools supports most reactions in EXFOR, but only a small subset of the observables/quantities. Feel free to contribute! If it doesn't meet your needs check out the project it's built on, which is far more complete: x4i3.

quick start

pip install exfor-tools

Package hosted at pypi.org/project/exfor-tools/. Otherwise, for development, simply clone the repo and install locally:

git clone git@github.com:beykyle/exfor_tools.git --recurse-submodules pip instal exfor_tools -e

examples and tutorials

Check out the tutorials: - examples/introductory_tutorial.ipynb - examples/datacurationtutorial.ipynb

These demonstrate how to query for and parse exfor entries, and curate and plot data sets. In the first one, you will produce this figure:

updating the EXFOR data base

First, download your desired version <exfor-YYYY.zip> from here: https://nds.iaea.org/nrdc/exfor-master/list.html. The latest is recomended. Then:

sh bash update_database.sh </path/to/exfor-XXXX.zip> --db-dir </path/where/db/should/go/>

This will extract and process the data to </path/where/db/should/go/unpack_exfor-YYYY/X4-YYYY-12-31>, setting the environment variable $X43I_DATAPATH accordingly. x4i3 uses this environment variable to find the database on import, so you should add this to your environment setup. If you use bash, this will look something like this:

sh echo export X43I_DATAPATH=$X43I_DATAPATH >> ~/.bashrc

This functionality for modifying the database used by x4i3 is provided in x4i3_tools, which is included as a submodule.

Owner

  • Name: Kyle Beyer
  • Login: beykyle
  • Kind: user
  • Company: University of Michigan

PhD candidate at the University of Michigan studying nuclear fission and nuclear reaction phenomenology away from stability

GitHub Events

Total
  • Create event: 3
  • Release event: 3
  • Issues event: 5
  • Watch event: 1
  • Push event: 81
Last Year
  • Create event: 3
  • Release event: 3
  • Issues event: 5
  • Watch event: 1
  • Push event: 81

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 4
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • beykyle (5)
Pull Request Authors
  • beykyle (6)
Top Labels
Issue Labels
Pull Request Labels