This Python package is aimed towards the simulation and analysis of irradiation damage with multiple tools.
Project description
Irradiapy
This Python package is aimed towards the simulation and analysis of irradiation damage with multiple tools.
This initial version works and is ready for production, but the code is under revision to improve usability, readability and efficiency. You can find an example under the examples folder. More examples will be provided with the next versions, as well as a documentation page.
If you have any question about the use of irradiapy, feel free to start a discussion. Otherwise, if you find any bug and for feature requests, open an issue.
Functionalities
srimpy
This subpackage runs SRIM from Python with some tweaks for automation . All SRIM outputs are saved into a SQLite database for easy use.
Please note that:
- You must obtain SRIM and make it work on your own before using this functionality. SRIM is not included here.
- SRIM was designed to be run with a GUI. I managed to handle it the best way I could. A SRIM window will open in every run, but it will be minimised.
- I think this can adapted to run in Linux with Wine, but I do not have a Linux system. Someone could help with this.
- Not all target materials have been implemented, only the ones I needed (Fe, W). Feel free to open an issue and I will try to update the code as soon as possible.
With this subpackage, you get the list of PKAs produced by ions, and then you can place molecular dynamics collisional cascades debris accordinly, as described in [to be published]. You can find the database we used in [to be published] in CascadesDefectsDB repository. This is an example about how to use it.
lammpspy
I am also working on a Python workflow that uses the LAMMPS package to generate databases of molecular dynamcis cascades "easily". This is in development and will be publish later.
Installation
Dependencies:
matplotlib>=3.10.1
numpy>=2.2.4
PyGetWindow>=0.0.9
pywinauto>=0.6.8
scikit_learn>=1.6.0
scipy>=1.14.1
mpi4py>=3.0.0
Note that:
mpi4pyis not needed now, but it will be requeried in the following versions. I need to check this, but its version must be < 4 for LAMMPS compatibility.- (For the future) If you do
pip install lammps, you are not installing the right thing. To use your LAMMPS distribution you must build the package from source.
Installation (PyPI link here):
pip install irradiapy
Project details
Release history Release notifications | RSS feed
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 irradiapy-0.2.4.tar.gz.
File metadata
- Download URL: irradiapy-0.2.4.tar.gz
- Upload date:
- Size: 51.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ed23de53fa1b909fe270bbdd1a6584faa2684574b1965c26a8820b794798136
|
|
| MD5 |
f6150015e13d309b202d1f335727af04
|
|
| BLAKE2b-256 |
958dd5071caf4dbd8035fa1a7da6ec29e83778f3216343524d2922abca3a5809
|
File details
Details for the file irradiapy-0.2.4-py3-none-any.whl.
File metadata
- Download URL: irradiapy-0.2.4-py3-none-any.whl
- Upload date:
- Size: 74.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0958d537d5b30fec8cacb8a0bfb42d2b7b0d12e5e755fb280dcce18a8b1be09
|
|
| MD5 |
eda902201ba7ba9e63e589cd5f51a8aa
|
|
| BLAKE2b-256 |
2bd4a74c73e0eed0ed2eb3fc861a24303f954e887469a825e6ff7e16ae75ae98
|