Skip to main content

DOSMaster

PyPI GitHub

Program Name: DOSMaster
Author: Youngjun Park (yjpark29@postech.ac.kr)
Inspired by: Jaeseon Kim (CNMD)
Tested by: Changhun Kim (CNMD), Suyun Chae (CNMD)
Description: A smart, highly customizable DOS plotting tool designed for terminal environments.

Version 1.8.3 and above will be publicly released to all CNMD members.


Release History

Version Changes
1.1 Improved loading speed on restart (by Jaeseon Kim)
1.2 Added final data file export feature
1.3 Bug fixes
1.4.2 Refactored for PyPI packaging
1.7.13 Full packaging; added DOS_Sum, Average_DOS, Axis_Optimization, and various performance improvements
1.8.1 Fixed label bugs; added settings save/load, DOS plot save/load, shift_x_axis, extended sequential number input, and legend display toggle
1.8.3 Added ISPIN = 1 calculation support; various bug fixes
1.8.4 License update
1.8.5 Fixed f-orbital error
1.8.8 Fixed ylim optimization error when saving plot in current directory
1.8.10 Fixed f-orbital sum error
1.8.12 Fixed import order error
1.8.15 Fixed graph_editor back feature (suggested by Hyeongbin Park, CNMD)
1.8.16 Added Gaussian smearing feature (contributed by Siyeong Park, CNMD)
1.8.22 Added package version check feature
1.8.24 Fixed PROCAR bug; code generator in development
1.8.25 README update
1.9.0 Add divide_by_n_of_atoms & save plot as .ipynb script

Features

  1. Add Atom DOS — Add the DOS of a desired atom to the plot.

  2. DOS Projection — Project a specific DOS onto a desired orbital.

  3. Sum DOS — Sum the contributions of selected DOS entries.

  4. Divide DOS by Number of Atoms — Divide each DOS by the number of atoms that compose it, correctly handling DOS lines made of different numbers of atoms.

  5. Average DOS — Average the contributions of selected DOS entries.

  6. Remove DOS — Remove a specific DOS from the plot.

  7. Plot only Positive/Negative Part — Display only the positive or negative region of the DOS plot.

  8. Edit Graph Style — Customize the graph style to your preference.

    Index Parameter Description
    1 figuresize Overall size of the figure (width × height)
    2 axis_label_fontsize Font size of the x/y axis labels
    3 legend_fontsize Font size of the legend text
    4 ticks_fontsize Font size of the axis tick labels
    5 title_fontsize Font size of the plot title
    6 legend_display Toggle legend visibility on/off
    7 legend_name Default legend label for each DOS entry
    8 legend_name_user User-defined custom legend labels
    9 legend_location Position of the legend within the plot
    10 bbox_to_anchor Fine-tune legend position using anchor coordinates
    11 line_width Line width of the plotted DOS curves
    12 xlim x-axis range (energy range)
    13 ylim y-axis range (DOS intensity range)
    14 positive_plot Toggle display of the positive DOS region
    15 negative_plot Toggle display of the negative DOS region
    16 save_filename Output filename when saving the plot
    17 save_format File format for saving (e.g. png, pdf, svg)
    18 save_dpi Resolution (DPI) of the saved plot
    19 dos_color Color of each DOS curve
    20 ylim_optimization Enable automatic y-axis limit optimization
    21 shift_x_axis Shift the x-axis by a fixed energy offset
    22 smearing Apply Gaussian smearing to smooth the DOS curves
  9. Axis Optimization — Automatically optimize the y-axis limits to fit the current DOS.

  10. Import Global Custom Setting — Load your personal graph settings from the package folder.

  11. Save Global Custom Setting — Save your personal graph settings to the package folder.

  12. Import DOSMaster Plot — Load a previously saved DOSMaster plot from the current directory.

  13. Save DOSMaster Plot — Save the current DOSMaster plot to the current directory.

  14. Save Plot Script — Save the currently drawn DOS as CSV files and generate a Jupyter notebook (.ipynb) that reproduces the exact plot.


Installation

Install via PyPI

  1. Installation
pip install dosmaster
  1. Run DOSMaster
dosmaster

Install from Source

  1. Copy the SSH key from your server:
    cat ~/.ssh/id_rsa.pub
    
  2. Go to your GitHub account → Settings → SSH and GPG Keys → New SSH Key, then paste the copied key.
  3. Clone the repository on your server:
    git clone git@github.com:pyj6767/DOSMaster.git
    
  4. Requirements
pip install matplotlib numpy pandas ase colorama
  1. Set Permissions
chmod 775 dosmaster
  1. Run DOSMaster Navigate to the directory containing your DOS calculation results and run:
cd [your DOS calculation folder]
dosmaster

License

DOSMaster is released under the MIT License.

Metadata

Release files for dosmaster 1.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dosmaster 1.9.0
File Size Uploaded Provenance Actions
dosmaster-1.9.0.tar.gz 30.9 kB Without provenance Details for dosmaster-1.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dosmaster 1.9.0
File Interpreter ABI Platform Actions
dosmaster-1.9.0-py3-none-any.whl Python 3 none any Details for dosmaster-1.9.0-py3-none-any.whl

Total release size: 72.5 kB

Release files / dosmaster-1.9.0.tar.gz

Download URL dosmaster-1.9.0.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f65175dff22f1cc1caead9991bc2ee71639b0ba815650bd53115fdea38927a18
BLAKE2b-256 checksum
How to use checksums
5f6265e0f36ca8b7cb7fe321a0d347fc0e570d0a1f43b1211ea06b5b57e98b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.13

Release files / dosmaster-1.9.0-py3-none-any.whl

Download URL dosmaster-1.9.0-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5eca68e5aef2b273ddc6cabb6847cbb0ad919dd14748bf6ae89b118481cd001
BLAKE2b-256 checksum
How to use checksums
47341b0fa942efd7d7f95548e367b0c4ea5c865b7e6e5d9b220558566240985c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.13

Security for dosmaster 1.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page