Skip to main content

No project description provided

Project description

xfftspy

Installation

pip install xfftspy

Usage

>>> import xfftspy

# initialize XFFTS boards
>>> cmd = xfftspy.udp_client(host='localhost')
>>> cmd.stop()
>>> cmd.set_synctime(100000)          # synctime : 100 ms
>>> cmd.set_usedsections([1])         # use board : 1
>>> cmd.set_board_bandwidth(1, 2500)  # bandwidth : 2500 MHz
>>> cmd.configure()                   # apply settings
>>> cmd.caladc()                      # calibrate ADCs
>>> cmd.start()                       # start measurement

# receive spectra
>>> rcv = xfftspy.data_consumer(host='localhost')
>>> rcv.clear_buffer()
>>> rcv.receive_once()

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

xfftspy-0.1.3.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

xfftspy-0.1.3-py3-none-any.whl (7.3 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