Si
Directory actions
More options
Directory actions
More options
Si
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
/*******************************************************************************/
/
/ This is the examples of plot-tools.
/
/*******************************************************************************/
This is the simpleset example: Parse PDOS and PBANDs of Silicon(diamond).
NiteL
(1) The input files of this example is chosen from ABACUS/examples/02(c-d). Extra parameter "out_proj_band" for
PBANDS calculation is needed in 02c.
(2) It is recommended that one use a script to parse PDOS and PBANDS, or you can do it by `python band.py` and `python dos.py` directly.
(3) There is a bug when use command-line to parse PBANDS:
```
Traceback (most recent call last):
File "F:\software\Anaconda\Scripts\abacus-plot-script.py", line 33, in <module>
sys.exit(load_entry_point('abacus-plot==1.2.0', 'console_scripts', 'abacus-plot')())
File "F:\software\Anaconda\lib\site-packages\abacus_plot-1.2.0-py3.8.egg\abacus_plot\main.py", line 134, in main
File "F:\software\Anaconda\lib\site-packages\abacus_plot-1.2.0-py3.8.egg\abacus_plot\main.py", line 50, in show_cmdline
File "F:\software\Anaconda\lib\site-packages\abacus_plot-1.2.0-py3.8.egg\abacus_plot\band.py", line 747, in plot
File "F:\software\Anaconda\lib\site-packages\abacus_plot-1.2.0-py3.8.egg\abacus_plot\band.py", line 657, in _plot
File "F:\software\Anaconda\lib\site-packages\abacus_plot-1.2.0-py3.8.egg\abacus_plot\band.py", line 590, in _seg_plot
File "F:\software\Anaconda\lib\site-packages\abacus_plot-1.2.0-py3.8.egg\abacus_plot\band.py", line 276, in _set_figure
IndexError: list index out of range
```
I'm still trying to fix this.