A toolkit for nuclear data processing and analysis.
Project description
The toolkit nucleardatapy
Purpose:
The purpose of this toolkit is to simply the access to data, that can be theoretical data or experimental ones. All data are provided with their reference, so when using these data in a scientific paper, reference to data should be provided explicitely. The reference to this toolkit could be given, but it should not mask the reference to data.
This python toolkit is designed to provide:
- microscopic calculations in nuclear matter,
- phenomenological predictions in nuclear matter,
- experimental data for finite nuclei.
Installation of the toolkit:
To install the toolkit, launch:
$ bash install.sh
In install.sh, the default directory where the toolkit is installed is mylib in the home directory. There, you have mylib/nucleardatapy folder pointing to the version of the toolkit defined in install.sh (currently VER=0.1). These default options could be changed directly in the header of install.sh.
Create an environement variable that will be used by python:
export NUCLEARDATAPY_TK=/path/to/nucleardatapy
Add this environement variable to the one of python:
export PYTHONPATH=$NUCLEARDATAPY_TK
In this way, your library will be visible everywhere in your computer.
Put these commands in your .profile or .zprofile or .bashrc for instance (depending on your OS).
The first time, you should run again the .zprofile for instance:
$ source .zprofile
Now everything is done about the installation. You can go to the folder mylib in your home directory.
Use nucleardatapy python toolkit
Go to the folder mylib/nucleardatapy/samples/nucleardatapy_samples/ and try that:
$ python3 sample_SetupMicro.py
Test the python toolkit
A set of tests can be easily performed. They are stored in tests/ folder.
Launch:
$ bash run_tests.sh
Get started
How to obtain microscopic results for APR equation of state:
import os
import sys
nuda_tk = os.getenv('NUCLEARDATAPY_TK')
sys.path.insert(0, nuda_tk)
import nucleardatapy as nuda
# Instantiate a microscopic object
mic = nuda.SetMicroMatter( model = '1998-VAR-AM-APR')
# print outputs
mic.print_outputs( )
Contributing
The file how_to_contribute.md details how contributors could join our team or share their results.
License
TBC.
Report issues
For the current version, we report issues chatting among us. Once this toolkit is released, we should setup a way that users could contact us and report issues or difficulties in installing or using the toolkit.
Thanks
A special thanks to all contributors who accepted to share their results in this toolkit.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nucleardatapy-0.2.0.tar.gz.
File metadata
- Download URL: nucleardatapy-0.2.0.tar.gz
- Upload date:
- Size: 15.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bf04151439396bce714366281873cc03347b688712a41a19a1524fbb7c4a819
|
|
| MD5 |
e4b389cc14a5d3bf06d5586685856a29
|
|
| BLAKE2b-256 |
38dab57e8fcc353f90ac76c46bd98490c3c191e49e283893a0d52f20e854250d
|
File details
Details for the file nucleardatapy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nucleardatapy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8446b68e4aa97a0f1a5d372186b01ed45651c8b9054c7a6cc1525f232364c0f3
|
|
| MD5 |
19ab1519629b12264426446d905a0c62
|
|
| BLAKE2b-256 |
b7a3f6195a01636905792e9a2ea45671299f801a4aefea4a56dea6bcd4e91e8a
|