SimCC is a Python package for simulating charge-state changes in materials.
You can try this package at https://simcc-web.streamlit.app/ .
Required:
- pycatima
- numpy
- scipy
Optional:
- jupyter
- streamlit
- matplotlib
- plotly
- Calculate charge-changing cross-sections and mean free paths
- Simulate charge-state changes in materials using the Monte Carlo method
- Calculate energy loss in materials
Follow these steps to install SimCC:
- Create and activate a virtual environment:
sudo apt update sudo apt install python3-venv python3-dev cd ~/venv python3 -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
- Install
build-essentialandcmake:sudo apt install build-essential cmake
- Clone the repository:
cd ~ git clone https://github.com/yoshimotomasahir/simcc.git
- Navigate to the project directory:
cd simcc - Install using pip:
pip install .
Example files for Jupyter and Streamlit are available in the examples directory.
To run Streamlit, execute the following commands:
streamlit run ./examples/app.pyNote that this simulation does not consider transitions of two-electrons capture and two-electrons removal.
Note that the cross sections does not match perfectly with the GLOBAL ones, see the cross section data.