Skip to main content

A Python Library for Energy Profile Plotting

Project description

Build Status platform platform versions https://img.shields.io/badge/license-MIT-blue.svg

Introduction

CatPlot is a Python Library for Energy Profile and Abstract Grid(2D/3D) plotting.

Installation

  1. Via pip (recommend):

    pip install catplot
  2. From source:

    python setup.py install

Energy Profile Plotting

CatPlot can plot energy profile using interpolation algorithm.

See examples for more details(Continuously updated).

Plot an energy profile for an elementary reaction.

>>> from catplot.ep_components.ep_canvas import EPCanvas
>>> from catplot.ep_components.ep_lines import ElementaryLine

# Create an energy profile canvas.
>>> canvas = EPCanvas()

# Create an energy profile line.
>>> line = ElementaryLine([0.0, 1.2, 0.8])

# Add line to canvas.
>>> canvas.add_line(line)

# Plot it.
>>> canvas.draw()
>>> canvas.figure.show()

Result:

https://github.com/PytLab/catplot/blob/master/pic/energy_profile.png

2D Grid Plotting

You can use CatPlot to plot abstract lattice grid, see example for details.

Result:

https://github.com/PytLab/catplot/blob/master/pic/grid_2d.png

Important update log

Date

Version

Description

2017-04-10

1.1.0

Add 2D grid plotting

2017-04-10

1.0.0

A brand new CatPlot

2015-08-03

0.0.1

Intial Version

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

catplot-1.1.2.zip (855.5 kB view details)

Uploaded Source

Built Distribution

catplot-1.1.2-py2.py3-none-any.whl (23.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file catplot-1.1.2.zip.

File metadata

  • Download URL: catplot-1.1.2.zip
  • Upload date:
  • Size: 855.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for catplot-1.1.2.zip
Algorithm Hash digest
SHA256 16a50d93ac0f10aed6ddc1b057d8268d05756dce8c682d2dc1ae31930497a0cc
MD5 0478317281c77230d0841f202790b615
BLAKE2b-256 1d1592ef7e3348b2b1231f661e4c8eccad5e9cac58a610c6bc3213b040f72388

See more details on using hashes here.

File details

Details for the file catplot-1.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for catplot-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 49611334f3147088fbd3e28d9723ee50ae4e525af52dfeaabd77f14a4eb7db8e
MD5 a9da42d84cc8f8d883fd8c42de9b84a9
BLAKE2b-256 0077e01e49b8a48c82062ae16678982cd9647b9ae7f9a6dc3c4ee7692d34d1fb

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