The Crystal Configuration Generator is a Python-based tool designed to generate and visualize different configurations of crystal structures. Users can modify the coordination sphere and the number of Bromine (Br) atoms in the script to generate unique configurations. The generator uses symmetry operations to normalize configurations and reduce redundancy.
First, clone the repository to your local machine:
git clone https://github.com/yourusername/crystal-config-generator.git
cd crystal-config-generator
This project uses a Conda environment, so you’ll need to install dependencies from the environment.yml
file. Run the following commands to set up the environment:
conda env create -f environment.yml
conda activate crys_conf
This will create a Conda environment named crys_conf
with all required dependencies.
Once the environment is activated, you can run the script to generate configurations:
python generate_configurations.py
You can also interact with the Crystal Configuration Generator using a Streamlit web app interface.
To run the app, in the scripts
folder, use the following command:
streamlit run CCG.py
The easiest way to run the Crystal Configuration Generator!
https://crystal-configuration-generator-42dau7snrjleakmbof5pxd.streamlit.app/