Git Product home page Git Product logo

lantz's Introduction

Lantz: Simple yet powerful instrumentation in Python

Lantz is an automation and instrumentation toolkit with a clean, well-designed and consistent interface. It provides a core of commonly used functionalities for building applications that communicate with scientific instruments allowing rapid application prototyping, development and testing.

The package is name lantzdev (not lantz) to avoid name collision with previous package.

Installing

You can install the full version very easily:

pip install -U "lantzdev[full]"

All requirements will be automatically installed for you except PyQt.

We suggest that you use Anaconda Python Distribution and use an environment

conda create --name lantz python=3.6 pyqt

conda activate lantz

Having fun

If you do not have the NI-VISA library installed, install the pure python replacement by running the following command in your terminal:

pip install pyvisa-py    

and then tell Lantz to use it:

lantz config core.visa_backend @py

Then start the simulator in one terminal:

lantz sims fungen tcp

and the testpanel in another:

lantz qtdemo testpanel

Installation options

Lantz is organized ina modular way. You can install what you need.

Minimal

If you just want to control instruments, simulate devices and create you own drivers.

pip install -U lantzdev

subpackages used: core, drivers, sims

Arduino

If in aditional to Minimal you want to build arduino drivers.

pip install -U "lantzdev[ino]"
  • subpackages used: core, drivers, sims, ino

  • suggested dependencies: arduino-cli

Qt

If in aditional to Minimal you want to build graphical Qt widgets.

pip install -U "lantzdev[qt]"
  • subpackages used: core, drivers, sims, qt

  • required dependencies: PyQt > 5

Full

pip install -U "lantzdev[full]"
  • subpackages used: core, drivers, sims, ino, qt

  • required dependencies: PyQt > 5

  • suggested dependencies: arduino-cli

Install from git

You can try the latest version by installing from git. On your terminal:

pip install -U https://github.com/lantzproject/lantz-core/zipball/master
pip install -U https://github.com/lantzproject/lantz-drivers/zipball/master
pip install -U https://github.com/lantzproject/lantz-qt/zipball/master
pip install -U https://github.com/lantzproject/lantz-sims/zipball/master
pip install -U https://github.com/lantzproject/lantz-ino/zipball/master
pip install -U https://github.com/lantzproject/lantz/zipball/master

lantz's People

Contributors

hgrecco avatar jondoesntgit avatar onealj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.