To plot Partial and Total Density of States (PDOS/TDOS) from VASP outputs with spin filtering and d-band center option.
- Optional d-band center vertical line (user input, can be skipped)
- PDOS plotting with spin filter (spin up/down)
- Clean plots without Fermi level line
- Customizable color schemes and interactive color picker
- Bandgap detection and reporting
vaspkit(required for generating PDOS/TDOS files if not present)- Python & Python packages:
matplotlib,numpy,pyyaml
- Install
PyQt5for enhanced Matplotlib interactivity and more plotting options:
- Run the script with:
python DOS_plotter.py - use
helpcommand for detailed instructions on plotting options
Ref: https://github.com/nishantaMishra/ OR https://github.com/nishantaMishra/BatteryInformatics/tree/main/DOS-plots/PDOS
Automated VASP job submission script with file upload verification.
- Waits for a specified initial duration before starting file checks
- Monitors a target file (e.g., WAVECAR) and waits until it reaches the expected size
- Checks file size at regular intervals, configurable by the user
- Submits the VASP job automatically via
sbatchwhen the file is ready - Can bypass interactive submission wrappers by providing automated answers ('y', 'n') to prompts
Set the variables at the top of the script:
FILE: The file to monitor (default: WAVECAR)EXPECTED_SIZE: The expected size of the file in bytesWAIT_INITIAL: Initial wait time before starting checks (e.g.,1m,30m,1h)WAIT_LOOP: Time to wait between checks in seconds (e.g.,60for 1 minute)
Run the script with: bash wait_run.sh