Skip to main content

Python interface for controlling Harvard Apparatus Microliter OEM Syringe Pump

Project description

pymupump

Python interface for controlling Harvard Apparatus Microliter OEM Syringe Pump

Derived from now inactive library pumpy, thanks to tomwphillips.

Installation

pip install pymupump

Usage

import pymupump as pmp

chain = pmp.Chain('COM1') # your port
pump = pmp.Microliter(chain) 
# if using multiple pumps on the same port
# you might want to specify another adress and name
pump2 = pmp.Microliter(chain, 1, "Pump2")

pump.setdiameter(2) # diameter of syringe in mm, range is 0.1 - 4.61
pump.setflowrate(3) # set flowrte in ul/min

pump.settargetvolume(2) # set infuse or withdraw target volume in ul

pump.infuse()
# or
pump.withdraw()

pump.waituntiltarget() # block until pump finishes

pump.stop() # stop pump

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

pymupump-0.1.6.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

pymupump-0.1.6-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pymupump-0.1.6.tar.gz.

File metadata

  • Download URL: pymupump-0.1.6.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pymupump-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6dcdc078678b11ecaa846cac2be3c1e1d2474c34d55f43c9ea8c2a81b3796724
MD5 e016ec4825a3f97ff8a56bee71b7da30
BLAKE2b-256 d20fde350bfb137dd61ede6d1702d18121f204b70a6f2da9fc4d208b28877d43

See more details on using hashes here.

File details

Details for the file pymupump-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pymupump-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pymupump-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3c41549ad691c3ba46ce751f9eed56982f0de941a33e19fe1f12081691325fb2
MD5 29c09961b0170e08eb453fe1531893be
BLAKE2b-256 21430d4d16e3a629c71d1d8b55e1fb7d6564e1cc05fe15548181a634fa251484

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