Skip to content

A repository collecting scripts to search and visualize all possible configurations of particular perovskite crystals at different Br/I ratio

Notifications You must be signed in to change notification settings

marcellocostamagna/Crystal-Configuration-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crystal Configuration Generator

Overview

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.


Installation

1. Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/yourusername/crystal-config-generator.git
cd crystal-config-generator

2. Set up the Conda Environment

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.

Running the Script

Once the environment is activated, you can run the script to generate configurations:

python generate_configurations.py

Run with Streamlit

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

Run online

The easiest way to run the Crystal Configuration Generator!

https://crystal-configuration-generator-42dau7snrjleakmbof5pxd.streamlit.app/

About

A repository collecting scripts to search and visualize all possible configurations of particular perovskite crystals at different Br/I ratio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages