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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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