Skip to main content

A terminal-based GROMACS EDR data plotting tool

Project description

edterm

edterm is a command-line interface (CLI) tool designed for plotting GROMACS EDR data directly in the terminal. This tool enables users to visualize data trends from simulation outputs without leaving the command line environment, providing a quick and interactive way to analyze simulation results.

Features

  • Terminal-based Plotting: Utilizes the terminal to plot data directly, making it accessible on systems without a graphical user interface or when forwarding X11 is impractical.
  • Themes: Offers three themes—transparent, dark, and light—to accommodate different viewing preferences and terminal settings.
  • Interactive Navigation: Users can navigate through different data contained in the EDR file using keyboard inputs.
  • Dynamic Time Window Adjustment: Offers the ability to focus on specific time windows by entering desired time ranges.
  • Resizable Interface: Automatically adjusts the plot and interface when the terminal size changes.
  • Stride for Data Reduction: Introduces a stride option to reduce the amount of data processed, enhancing performance for large datasets.
  • Expanding Average Plot: Plots the expanding average to provide additional analytical insight.
  • Keyboard Controls: Simple keyboard controls for navigating and interacting with the data.
  • Configurable Logging Level: Users can set the logging level through command-line options to tailor logging verbosity.

Installation

To install edterm, run the following command:

pip install edterm

This command will download and install edterm along with its necessary dependencies.

Usage

Once installed, you can run edterm using the following command:

edterm <path_to_your_edr_file.edr> [--stride <stride_value>] [--theme {transparent,dark,light}] [--logging-level {debug,info,warning,error,critical}]

Replace <path_to_your_edr_file.edr> with the actual path to your GROMACS EDR file.

Keyboard Commands

  • UP/DOWN Arrows: Navigate through the list of available data columns.
  • 'r' Key: Press 'r' to enter a range selection mode, where you can specify xmin and xmax for the x-axis. This allows you to zoom into specific time windows.
    • After pressing 'r', you will be prompted to enter the range in the format: x_min x_max. Input the values and press Enter to apply the range.
  • 'q' Key: Quit the application.

Configuration

The plot and interaction settings are configured to work out of the box, but they can be adjusted by modifying the source code to better fit different terminal sizes or user preferences.

Development

This tool is open for further development and contributions. Developers interested in contributing can clone the repository and submit pull requests.

License

edterm is released under the MIT license. For more details, see the LICENSE file in the repository.

Contact

For support or to report bugs, please visit the GitHub repository issue tracker.

Acknowledgements

This tool was developed to assist researchers and engineers in analyzing molecular dynamics simulations. Thanks to all contributors and users for their feedback and suggestions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edterm-0.1.5.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

edterm-0.1.5-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file edterm-0.1.5.tar.gz.

File metadata

  • Download URL: edterm-0.1.5.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for edterm-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4f48db511d85a5079fc30994bc75bdbd3af5ac9dd2b1fc75221a434da522dc16
MD5 0ffef90ae8b3503eb684d9e080b12e58
BLAKE2b-256 581b7944a6e618caeba3db8983f4261750b8331e67933f517d8e736df9a6d3e5

See more details on using hashes here.

File details

Details for the file edterm-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: edterm-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for edterm-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 91c3a8efb8c1a78a420abaf7f07399e808e930d58b4aacc08bb3591ddb6314ec
MD5 37e5ad589c9fa168c7fcbf0bac7c1532
BLAKE2b-256 ce6ac656311849dcf7a76f8577f4592652c922192f165f2c11343be035cf519f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page