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 details)
Built Distribution
File details
Details for the file xfftspy-0.1.3.tar.gz
.
File metadata
- Download URL: xfftspy-0.1.3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7567bc0e6f6d1b80f2f0b8e466c7032e6fa269eed9574408d334b83b121e9652 |
|
MD5 | 017107fb82950d70b93d750276d5e3f9 |
|
BLAKE2b-256 | 84e83ff0a957eb4390ebc526ad5d4a46581ef6545a122c6182e2fb6edbd19888 |
File details
Details for the file xfftspy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: xfftspy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2a3dcb432db6a157d865ce45caf32a5c6494664467e06760c90fc669ae19ec2 |
|
MD5 | c2ad641c24a65fdb501d59bfa0334238 |
|
BLAKE2b-256 | cd5662a6a9085fcbcdccdde5ae4a578245a42248bbc8f7a4c93c36994a4ad5c4 |