Skip to content

tacaswell/timechart

 
 

Repository files navigation

TimeChart

A Charting Tool based on PyDM

TimeChart is a Python Qt-based graphing application for control systems. It is intended to be the modern, feature-by-feature matching alternative to the Motif EPICS Strip Tool application.

Comparing with Strip Tool, TimeChart possesses the inherent cross-platform, responsive, and regularly maintained and supported advantages offered by Python Display Manager (PyDM). As a Python Qt-based framework, PyDM is also created and maintained by SLAC. Its charting capability is built upon pyqtgraph, and the PyDM's TimePlot is the central widget in TimeChart.

Prerequisites

  • Python 2.7 or 3.5
  • PyDM >= 1.4.0

Python package requirements are listed in the requirements.txt file, which can be used to install all requirements from pip: 'pip install -r requirements.txt'

Installing TimeChart

Using pip

You must first install PyDM as it is the framework TimeChart is built upon. In doing so, you must first satisfy the PyDM prerequisites:

git clone https://github.com/slaclab/pydm.git
cd pydm
pip install .[all]

Next, clone this TimeChart repository:

git clone https://github.com/slaclab/timechart.git
cd timechart
pip install .[all]

Using conda

TimeChart also includes a conda recipe for building an installation package for the conda package management environment.

git clone https://github.com/slaclab/timechart.git
cd timechart
conda build -q conda-recipe --python=3.6 --output-folder bld-dir -c conda-forge -c pydm-tag -c conda-forge

This installation package then is ready to be uploaded to a conda channel for other users, who will only need to issue the command

conda install timechart -c <channel_name>

to install TimeChart in the conda environment.

Running TimeChart

After installing TimeChart, you can start the application:

timechart

For developers, you can install TimeChart in development mode:

git clone https://github.com/slaclab/timechart.git
cd timechart
python setup.py develop
timechart

Acknowledgements

Icons made by monkik from www.flaticon.com is licensed by CC 3.0 BY.

About

A Charting Tool based on PyDM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Other 0.1%