Metadata-Version: 2.1
Name: tekinstr
Version: 1.0.20
Summary: Communication with Tektronix oscilloscopes
Home-page: https://github.com/l-johnston/tekinstr
Author: Lee Johnston
Author-email: lee.johnston.100@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Science/Research
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: sympy
Requires-Dist: matplotlib
Requires-Dist: unyt
Requires-Dist: pyvisa

![Azure](https://img.shields.io/azure-devops/build/l-johnston/6e771e18-5f42-4d10-ad6b-fc4b0e10acef/9)
![PyPI](https://img.shields.io/pypi/v/tekinstr)
# `tekinstr`


## Installation
```cmd
> pip install tekinstr
```  

## Usage

```python
>>> from tekinstr import CommChannel
>>> with CommChannel("<ip address>") as tek:
...     wf = tek.oscilloscope.read("CH1")
>>> import matplotlib.pyplot as plt
>>> plt.plot(*wf.to_xy())
[<matplotlib.lines.Line2D at ...>]
>>> plt.show()
```  

It is possible to save the screen capture to a network or USB drive.
In this example, a USB memory stick is installed and the current
working directory is 'E:/'.
```python
>>> with CommChannel("<ip address>") as tek:
...     tek.save_image("capture.png")
```

## Currently support models
- MDO3000 series
- MSO4000 series
- TDS3000 series

