This project utilizes a simple 3D-CNN for accurate morphology detection of self-assembling amphiphilic molecules formed in molecular simulations. First, Point clouds generated from simulation frames are voxelized into occupancy grids. Then discrete Fourier transformation (DFT) is implemented on the voxels using FFT algorithm to obtain input data. FTCNN is advantageous over the PointNet implementation from the earlier paper "Development of a PointNet for Detecting Morphologies of Self-Assembled Block Oligomers in Atomistic Simulations" in three ways:
- Much simpler model architecture, and much less parameters
- Translational invariance is built in by definition of Fourier transform
- Not restricted by the system size (number of points per point cloud) and characteristic dimension of the morphology (domain spacing / box dimension)
Representative x-, y-, z- projections of the Fourier-transformed occupancy grids for different morphologies
Available soon.
Install packages:
pip install -r requirements.txt
To preprocess:
python preprocess.py --raw_path /path/to/raw/data --proc_path data/dataset_name.h5 -r resolution
To train:
python train.py --proc_path data/dataset_name.h5 --save_path cls/model_state_name.pth -n num_epochs -b batch_size
@article{shen2022stabilizing,
author={Shen, Z. and Luo, K. and Park, S. J. and Li, D. and Mahanthappa, M. K. and Bates, F. S. and Dorfman, K. D. and Lodge, T. P. and Siepmann, J. I.},
title={Stabilizing a double gyroid network phase with 2 nm feature size by blending of lamellar and cylindrical forming block oligomers},
journal={JACS Au},
year={2022},
volume={2},
number={6},
pages={1405-1416},
doi={10.1021/jacsau.2c00101}
}