Skip to main content

A python package for interfacing with Metrohm Autolab instruments

Project description

PyAutolabNova

PyAutolabNova has progressed to its Alpha stage, marking a significant advancement from the pre-Alpha version. In this release, I've implemented basic functionalities for connecting to and controlling Autolab devices. Users can now set the mode, current range, and bandwidth, as well as toggle the cell on and off. I've also enhanced the error handling and connection process. While I've temporarily removed some non-functioning methods like apply_current and record_signals, the current version allows for basic electrochemistry experiments. As an Alpha release, the software may have limitations, but it's now ready for early adopters to explore. I welcome any feedback as I continue to develop and expand PyAutolabNova's capabilities. For the latest updates and enhancements, please refer to the documentation or repository.

Current version

See changelog for detailed changes for each release

This is a Python package for interfacing with Metrohm Autolab instruments. It provides a high-level API for controlling and data acquisition from Autolab potentiostats.

Installation

You can install PyAutolabNova using pip:

pip install pyautolabnova

Requirements

  • Windows operating system
  • Python 3.7 or higher
  • Metrohm Autolab SDK 2.1 installed

Usage

Please ensure the Autolab software is closed before using this package. Otherwise, you will encounter an 'Access Denied' error because the Autolab software maintains an exclusive lock on the USB device, preventing the Python script from accessing it through the SDK.

Here's a basic example of how to use PyAutolabNova:

from pyautolabnova.base import pyautolabnova as pal

try:
    pal.connect()
    
    # Step 1: Autolab control
    pal.autolab_control(mode='galvanostatic', current_range='1ma', bandwidth='highspeed')
    
    # Step 2: Cell on
    pal.set_cell_on()
    
    
    
    # Last step: Cell off
    pal.set_cell_off()

except Exception as e:
    print(f"An error occurred: {str(e)}")

finally:
    pal.disconnect()

Disclaimer

This package is not officially associated with or endorsed by Metrohm Autolab. Use at your own risk.

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

pyautolabnova-0.1.0a1.tar.gz (8.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyautolabnova-0.1.0a1-py3-none-any.whl (8.7 MB view details)

Uploaded Python 3

File details

Details for the file pyautolabnova-0.1.0a1.tar.gz.

File metadata

  • Download URL: pyautolabnova-0.1.0a1.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for pyautolabnova-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 3affed56a58008b6e2fcd751a205b9a0cd7e04978c92d250a30fe03edda06743
MD5 d2baa17a676ad9613795776929603ee7
BLAKE2b-256 2949e6ddffc7f0d336d0cd0f8a74f508a5c34a50e8150a3c86b2b8e4871787cd

See more details on using hashes here.

File details

Details for the file pyautolabnova-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyautolabnova-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 debe6220f95cf11bd9380b81f30965616dbc7025c8a11294e257c7c03356b17e
MD5 5563b4132395b9755104cc7124ab64be
BLAKE2b-256 69eac35e992cd9fba29d9f34a17e4c6fcbee6613c8dfaf8b1ca7a832c3aefa04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page