-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a67c0c9
commit 01fc6e1
Showing
330 changed files
with
4,559 additions
and
8,945 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,79 @@ | ||
# pjvasp_package | ||
|
||
Package for DFT calculations | ||
A package designed for modeling and postprocessing metal systems, with a special focus on thin film applications. | ||
|
||
# Install this package: | ||
|
||
## --user for all virtual environment | ||
## Install this package: | ||
|
||
```shell | ||
pip3 install --upgrade --user git+https://github.com/ShengLin1001/pjvasp_package.git | ||
pip install -r requirements.txt | ||
pip install git+https://github.com/BinglunYin/myalloy_package.git | ||
########### | ||
pip install git+https://github.com/ShengLin1001/pjvasp_package.git | ||
# or, download the repository. | ||
pip install -e . | ||
########### | ||
pip uninstall mymetal-pkg | ||
``` | ||
|
||
## Recommended | ||
Firstly, you need to download .zip and unzip it (Insteading, just cloning using desktop GitHub!) | ||
|
||
Secondly, enter the family directory, and run the following bash command | ||
|
||
```shell | ||
pip3 install --user -e . | ||
``` | ||
## Structure: The documentation is currently under construction using sphinx. | ||
|
||
## Uninstall | ||
```shell | ||
pip3 uninstall mymetal-pkg | ||
./mymetal/ | ||
├── calculate | ||
│ ├── calenergy | ||
│ ├── calmath | ||
│ ├── calmechanics | ||
│ ├── calmismatch | ||
│ └── calqm | ||
├── example | ||
│ ├── test-cut | ||
│ ├── test-generate-bulk | ||
│ ├── test-hetbuilder-fixatom | ||
│ ├── test-hydroxylated | ||
│ ├── test-hydroxylated-custom | ||
│ ├── test-post | ||
│ ├── test-stack | ||
│ └── test-stretch | ||
├── io | ||
│ ├── post | ||
│ └── vasp.py | ||
├── ml | ||
│ ├── confusionmatrix.py | ||
│ ├── dataset.py | ||
│ ├── model.py | ||
│ └── plot.py | ||
├── post | ||
│ ├── newmain.py | ||
│ └── oldmain.py | ||
└── universial | ||
├── atom | ||
├── check | ||
├── data | ||
├── index | ||
├── matrix | ||
├── plot | ||
└── search | ||
|
||
29 directories, 7 files | ||
``` | ||
|
||
# some fixed problems | ||
Each module and function includes a docstring. If you have any questions, please refer to the source code or use the help() function. | ||
|
||
## when i run the test-post/*.py, i found the output file has been generated in the root directory of pjvasp_package | ||
I am working on generating the documentation directly from the docstrings. The /mymetal/example/ directory contains all the special functions I have developed. | ||
|
||
we should add fllowing python commands | ||
## Additional requirements for ml, heterostructure. | ||
|
||
```shell | ||
import os | ||
# get the path of those script | ||
script_dir = os.path.dirname(__file__) | ||
# set the working path | ||
os.chdir(script_dir) | ||
``` | ||
|
||
# some fixing problems | ||
|
||
# unfilled code | ||
############## jupyter | ||
# iprPy | ||
|
||
root/create_package.py generate the structure of package | ||
############## ml package | ||
# torch | ||
# torchvision | ||
# scikit-learn | ||
|
||
build/extrfilm.py | ||
|
||
universal/printafter.py | ||
############## find heterostructure | ||
# hetbuilder | ||
``` | ||
|
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.