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.5.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.5-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pymupump-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1f14853cfa8f90c4b74f8987a2d14b91a27d245356df0732dd385456482cc65f
MD5 75dab6c5d1f0a2c5e3abf0ba21097821
BLAKE2b-256 c3f7e1fefd115350dcde58136b7393e0624c4427a2b3fdd51497a46660d2fdcc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymupump-0.1.5-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.12.4

File hashes

Hashes for pymupump-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c109b074d525f17e62478e152d1efc8d23b615e3488e50c950cdb042f3562ca
MD5 3b311d80fcfea3098d2383792c4f3b24
BLAKE2b-256 565dc31f8cb165f7c7a065b35ce8717eee48654fb377b7cdd8b837e5e44dc09c

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