Skip to main content

Device drivers for MugalTech products

Project description

mugal_driver

Device drivers for MugalTech products.

build add publish to PyPI

Including:

  1. LNR signal generator
  2. ...

Low noise reference signal generator

A low noise reference signal generator can operate in segments of mode, each with a duration of about 655ms. Each segment can be a single point mode or frequency sweep mode.

  • mode : 0 for single frequency, 1 for frequency sweep
  • duration: min 10us, max 655.35ms with step 10us
  • freq_start, df : 0-120MHz, with step about 1E-6Hz
  • dt 3.33ns to about 14.3s

How to use low_noise_reference module

import LNR module

from mugal_driver import low_noise_reference as lnr

create LNR object and a few segments

lnr1 = lnr.LNR('COM1')
seg1 = lnr.LNR_Segment(mode=0,freq_start=80E6,duration=0.0)
seg2 = lnr.LNR_Segment(mode=1,freq_start=80E6,df=1.0E4,dt=1E-3,duration=2E-3)
lnr1.segs = [seg1, seg2]

send command

lnr1.send()

close device after use

lnr1.close()

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

mugal_driver-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

mugal_driver-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file mugal_driver-0.1.0.tar.gz.

File metadata

  • Download URL: mugal_driver-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mugal_driver-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec4fe80e2fdd1154e268c382e63644a8301cf6c89a9ebf787dc999243925cf3a
MD5 a9a662b34a2092fca733d3528b13255c
BLAKE2b-256 446a2baaf34d748c37ba388234ce427f8dbb4408d03f64eec08b3b46f75a3d36

See more details on using hashes here.

File details

Details for the file mugal_driver-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mugal_driver-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for mugal_driver-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4854fe30449c8a772a98726847a22e12b8d736cc4b17c9cd93b3af1a550083de
MD5 5ffce65cfbdff61ac03cb75637ed9f09
BLAKE2b-256 f6dc8ca557817c4e75c61a80ccf33474c2d62fb17378166ad886b533f305f172

See more details on using hashes here.

Supported by

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