jetperch / pyjoulescope

Joulescope driver and utilities

Home Page:https://www.joulescope.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joulescope

Packaging Docs Status

Welcome to the Joulescopeā„¢ python driver!
Joulescope is an affordable, precision DC energy analyzer that enables you to build better products.

This pyjoulescope python package enables you to automate Joulescope operation and easily measure current, voltage, power and energy within your own Python programs. With the Joulescope driver, controlling your Joulescope is easy. The following example captures 0.1 seconds of data and then prints the average current and voltage:

import joulescope
import numpy as np
with joulescope.scan_require_one(config='auto') as js:
    data = js.read(contiguous_duration=0.1)
current, voltage = np.mean(data, axis=0, dtype=np.float64)
print(f'{current} A, {voltage} V')

This package also installs the "joulescope" command line tool:

joulescope --help

Most Joulescope users will run the graphical user interface which is in the pyjoulescope_ui package and available for download.

Documentation

Visit the documentation for details on installing and using this joulescope package.

License

All pyjoulescope code is released under the permissive Apache 2.0 license. See the License File for details.

About

Joulescope driver and utilities

https://www.joulescope.com

License:Apache License 2.0


Languages

Language:Python 76.9%Language:Cython 14.0%Language:C++ 6.6%Language:C 1.7%Language:HTML 0.8%