Edit waveforms used in experiment
Project description
waveforms
Form waveforms used in experiment.
Installation
We encourage installing waveforms via the pip tool (a python package manager):
python -m pip install waveforms
To install from the latest source, you need to clone the GitHub repository on your machine.
git clone https://github.com/feihoo87/waveforms.git
Then dependencies and waveforms can be installed in this way:
cd waveforms
python -m pip install numpy
python -m pip install -e .
Usage
import numpy as np
import matplotlib.pyplot as plt
from waveforms import *
pulse = cosPulse(20e-9)
x_wav = zero()
y_wav = zero()
I, Q = mixing(0.5*pulse, freq=-20e6, DRAGScaling=0.2)
x_wav += I
y_wav += Q
I, Q = mixing(pulse >> 1e-6, freq=-20e6, phase=np.pi/2, DRAGScaling=0.2)
x_wav += I
y_wav += Q
I, Q = mixing((0.5 * pulse) >> 2e-6, freq=-20e6, DRAGScaling=0.2)
x_wav += I
y_wav += Q
t = np.linspace(-1e-6, 9e-6, 10001)
plt.plot(t, x_wav(t))
plt.plot(t, y_wav(t))
plt.show()
Reporting Issues
Please report all issues on github.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waveforms-1.7.7.tar.gz.
File metadata
- Download URL: waveforms-1.7.7.tar.gz
- Upload date:
- Size: 250.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d707053187a4c16f0971c38f7b09019eb1893d957de7bf63caf729d3513fcd36
|
|
| MD5 |
ea738ecf51ff54379af69aa4f5db4946
|
|
| BLAKE2b-256 |
1505afb75eedf4dbef865c4bbbdf9a58f9cdff36811f3b03674bdc3f27cff53b
|
File details
Details for the file waveforms-1.7.7-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 310.5 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a43d9d8807ebbab9632665a18aeb34540c704516b01001e4e77a111514a20af2
|
|
| MD5 |
ad0ce55e33c08f190afbe96fd2809e34
|
|
| BLAKE2b-256 |
abd50b72661a3dcf63f53236afaede9047107afd026fcaef8a6b6add7e4b8e3e
|
File details
Details for the file waveforms-1.7.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 351.4 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
190291a1c17d8e4e176e5099a070691a0fcd8f9bc62d699e7248a94cc8913354
|
|
| MD5 |
48ee3f5f31536b55645697aaf4828d87
|
|
| BLAKE2b-256 |
1a5de965c39bd95de1871489d1da60719fd173d12107d809aed367c9e6375b9e
|
File details
Details for the file waveforms-1.7.7-cp312-cp312-macosx_10_9_universal2.whl.
File metadata
- Download URL: waveforms-1.7.7-cp312-cp312-macosx_10_9_universal2.whl
- Upload date:
- Size: 315.0 kB
- Tags: CPython 3.12, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90316b5d160213b5d83b706b8e7cfab432c22fc2cca3b80361b6456a6d58e2b4
|
|
| MD5 |
be985dd0c28144e631b49b788b8ecf05
|
|
| BLAKE2b-256 |
fc2ded5ad5ac1b59808e55da80597511e2b674be72c3b4c1535f6057e5947203
|
File details
Details for the file waveforms-1.7.7-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 310.5 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebac3f4471ed6d5ed4d3e3664e737527fcb04929d978d7fb9d4592903904a46d
|
|
| MD5 |
be21ab3ab86d6781dc6931d0c227a417
|
|
| BLAKE2b-256 |
0ea5aeb029c5e5e7ebefbba6820e087d235d61757380450f77bdbce21da18250
|
File details
Details for the file waveforms-1.7.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 350.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
621e2f1cf2d527a47cff011dc6c0b0a22405dddbd1044a30d7afc93b1ceca3c6
|
|
| MD5 |
9d80eb4dff5f584fbfde05ae04328dfd
|
|
| BLAKE2b-256 |
374f7ee9bcf487ca127a0c3b8391c610caf1e4f5d01cd06c0183aca61986ad87
|
File details
Details for the file waveforms-1.7.7-cp311-cp311-macosx_10_9_universal2.whl.
File metadata
- Download URL: waveforms-1.7.7-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 314.9 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5cc95c9cde7268ec168ba97b1a9e891e64384a0aa3b4eed15c9f557af559891
|
|
| MD5 |
a9dedca2eda4c0486af6fe9ca0ffc2cb
|
|
| BLAKE2b-256 |
2b85896616bb29863264c23689575860a97bb36acf38ecd4fb1729b750005774
|
File details
Details for the file waveforms-1.7.7-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 310.5 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8bd9a69914e3ced846ba0c4d018b855c9e67b8060ca3bd0ee281a745c3cf14
|
|
| MD5 |
298eb16f6f8021587e9a5839eca4f9b5
|
|
| BLAKE2b-256 |
1b333b823aed3d37a8e634dd899f95a41d9c579dcfb5538ef8e584281312a470
|
File details
Details for the file waveforms-1.7.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 350.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49ec4642ecb046858b2441d9e5cb1f0320fdb8030f495b18ff613363c2eb613f
|
|
| MD5 |
6c4c958557d5dc204526bfbd3ef93bb9
|
|
| BLAKE2b-256 |
5e7bf64c64ed905d582496db65047f4b9e07e419429d169ae6dbb38d0009d9ef
|
File details
Details for the file waveforms-1.7.7-cp310-cp310-macosx_11_0_x86_64.whl.
File metadata
- Download URL: waveforms-1.7.7-cp310-cp310-macosx_11_0_x86_64.whl
- Upload date:
- Size: 300.3 kB
- Tags: CPython 3.10, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9388b49f8e0589efd65c154713ff91d39c391b4ed7b02c9dbc7972621deabce6
|
|
| MD5 |
a5c1d99b4b69d9ff15642fe74fcd5237
|
|
| BLAKE2b-256 |
dcebb751b8746614afa0b8d2cacfea9ff412df6910e870ebf6cb55b7fb2d1b5d
|