Skip to content

Chemwzd/COFBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


COFBuilder

Build possible COF structures from the given unitcell parameters, node and linker.


1.Installation

git clone https://github.com/Chemwzd/COFBuilder.git
cd COFBuilder
pip install -r requirements.txt

2.How to Build a COF Structure

Terminal

Note: Modify the paths and PSO parameters in RunConstruction.py (the paper uses popsize=1000, iter=100, which will take about 24 hours). For testing purposes, the popsize can be set to 10-100.

cd ./COFBuilder/examples
python RunConstruction.py

All structures generated during the PSO optimization will be saved in basedir, and the best structure from each run will be saved in best_struc_dir.

3.How to Plot the Fitness Values

Terminal

cd ./COFBuilder/examples
python PlotPSOFitness.py

The fitness values from n independent runs will be saved to an image.

Authors

Maintainer

Code Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published