A python script to convert any ase input file to gulp (.gin)
Project description
Gulp input setter
A simple python module for creating gulp input files
Installation
The installation is very simple. Follow the set of instructions
Dependencies
The only dependencies is 'ase'
From pypi
pip install gulp_setup
From git
step 1:
Clone the folowing git repository
https://github.com/bafgreat/gulp_setup.git
step 2:
cd gulp_setup
step 3:
pip install .
The above command will install gulp_setup python package.
USAGE
Create input from folder containing cif
Run the command below to create a gulp input file on a folder containing several cif files. The file created will be moved into a folder containing the prefix of the input file name.
gulp_setup_folder folder
Simply create file
If you do not want to create individual folders for each input file, you can simply run the command below.
gulp_setup_file input.cif
This command will create an input.gin file in the same folder. This is useful when you do not want to create multiple folders for each input file.
Lattice optimization
The above examples only create gulp input files for constant volumes meaning that the lattices are not optimized. If you want to optimize the lattices then add the -op conp
argument after the name of the input file.
e.g.
gulp_setup_file input.cif -op conp
This will trigger the lattice optimization.
Running Gulp
if you have gulp installed. You can simply run it as follows:
gulp < input.gin > input.got
or
~/src/gulp-6.0/Src/gulp < input.gin > input.got
N.B
The latter example will work if your gulp executable are in a folder called $HOME/src
.
If you require more information about installing gulp checkout the following link https://gulp.curtin.edu.au/download.html . You can also email me if you have trouble with your installation. I am not an expert but might have a little knowledge on how to guide you.
!!! Enjoy gulping !!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gulp_setup-0.1.1.tar.gz
.
File metadata
- Download URL: gulp_setup-0.1.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.9 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40711373c54d23806c097a8f4b527d19d90e4b2c0f3003128dae25b9c039b5de |
|
MD5 | a2ed5dc0f44d5bc826fbfd71d38d93f8 |
|
BLAKE2b-256 | f9bdca4dbd63a5df23ca5798e68c2b2805e8a89abb4464fd832bd9edcfdf1e03 |
File details
Details for the file gulp_setup-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: gulp_setup-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.9 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c8070634af8eb9d3ebce65a961fb16fa1b86eaa5fa19b7e4dad3043ff2e8e1f |
|
MD5 | 0939b14fa9c1f16c1cee0729b6f1cb0d |
|
BLAKE2b-256 | f7a0387e1f6607fe8c068ef411f41da98d353e1c0390627e5bbba0d95ede7ff2 |