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
Metadata
Release files for waveforms 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| waveforms-2.3.0.tar.gz | 43.3 kB | Details |
Built distributions (wheels)
Total release size: 11.7 MB
Release files / waveforms-2.3.0.tar.gz
| Download URL | waveforms-2.3.0.tar.gz |
|---|---|
| Size | 43.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2b1046356fc636027f12a89b3d95dbe7ff207ecaa4775b7121c3a11340cea44
|
|
BLAKE2b-256 checksum How to use checksums |
c811dbdd55be8f69a0764276ed881b437bf4865494d9e1163029bb8a08b0fe31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / waveforms-2.3.0-cp314-cp314t-win_amd64.whl
| Download URL | waveforms-2.3.0-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 189.0 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
76482d67902efd0486831444b35afd1726bceedfba091e0b3532f13874e2a407
|
|
BLAKE2b-256 checksum How to use checksums |
8df1c53ac86f1232b2df6cceb2f89975208f85cb7f61ca4c236c569a42e2bd5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / waveforms-2.3.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
| Download URL | waveforms-2.3.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.34+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
fe415a990429560d152c3db65c43ae26e6b40029e9d35f183f57c61883509866
|
|
BLAKE2b-256 checksum How to use checksums |
6e197f1810639b65ba66171d72db104303928223b8ee9d66ae81ea70b31f8cd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / waveforms-2.3.0-cp314-cp314t-macosx_10_15_universal2.whl
| Download URL | waveforms-2.3.0-cp314-cp314t-macosx_10_15_universal2.whl |
|---|---|
| Size | 419.5 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
2d1638a8eecd05b5aef558a3d0c1af8a83e942c772c0bbbe00f8f0b366a90896
|
|
BLAKE2b-256 checksum How to use checksums |
f62cc1ed569b74c062f7d8cac1f911d78d43597d676b8bf15adfd5f748cad6d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / waveforms-2.3.0-cp314-cp314-win_amd64.whl
| Download URL | waveforms-2.3.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 175.2 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2279a31052936988f228e29a6dba54abc978631d6fc79eee474eecb0ea838259
|
|
BLAKE2b-256 checksum How to use checksums |
ba71c49a66cd29e3ab25c64555a0f884d091384ae7eac6ce34b44ef308810a6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / waveforms-2.3.0-cp314-cp314-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
| Download URL | waveforms-2.3.0-cp314-cp314-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e37c2f67fe703a8768889d92f74466c9c7d1e9bfffb213646265e34af295012a
|
|
BLAKE2b-256 checksum How to use checksums |
49824b074be578841c523fd9af3e41562e972e0b45a43ab70b26acfeda515a87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / waveforms-2.3.0-cp314-cp314-macosx_10_15_universal2.whl
| Download URL | waveforms-2.3.0-cp314-cp314-macosx_10_15_universal2.whl |
|---|---|
| Size | 400.2 kB |
| Tags | CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
964206bbded3e72c2f617479955cecf9b0035eac718bd4271e6482aee85673f5
|
|
BLAKE2b-256 checksum How to use checksums |
4e4e711f7dd38d226ce78ff22600757ca119df203c6bd62c4670b0806b6b614f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / waveforms-2.3.0-cp313-cp313-win_amd64.whl
| Download URL | waveforms-2.3.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 172.0 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7904fa090dd26c11dabcfc184ae6d2b63b1f3491a36e9c60604ac309d4474a0c
|
|
BLAKE2b-256 checksum How to use checksums |
5eac09a7d13e4b88bc25dbc8eacc3a84a9284d9780501bc68e96a66e474491fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / waveforms-2.3.0-cp313-cp313-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
| Download URL | waveforms-2.3.0-cp313-cp313-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
42a4d4f03f485f57e4a434d4542f1a5f673e778b53aed15608296e90fcdf0505
|
|
BLAKE2b-256 checksum How to use checksums |
86f16bc7bcce4ba6d99b15950e5ae76f7fd4f67eea966e9022c49149996d6a56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / waveforms-2.3.0-cp313-cp313-macosx_10_13_universal2.whl
| Download URL | waveforms-2.3.0-cp313-cp313-macosx_10_13_universal2.whl |
|---|---|
| Size | 398.4 kB |
| Tags | CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
0f71570f840246a3e789849c1ae5abf73a275c84d827940a4f16e81728f79dbb
|
|
BLAKE2b-256 checksum How to use checksums |
599e256e6341c1904e9250ce11a8c3336ff6c9ca3c94ed15b389b1cf75d04865
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / waveforms-2.3.0-cp312-cp312-win_amd64.whl
| Download URL | waveforms-2.3.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 172.8 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a875ad24d2da4bce99f3634d28ce74d7f9edff788030bd3f28c1b6cb68ac48d2
|
|
BLAKE2b-256 checksum How to use checksums |
a5bcb2473eb61b1747caeec875e82339626ae100fe0f17adb010aa4a9c1577ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / waveforms-2.3.0-cp312-cp312-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
| Download URL | waveforms-2.3.0-cp312-cp312-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f9e2280a343740283e9af647d748b1450efe9009614287b23b5d491867d8bec
|
|
BLAKE2b-256 checksum How to use checksums |
d8e82c45885b3e58a672ba40ee43cfb172db1f748878a7a544433389ab17efad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / waveforms-2.3.0-cp312-cp312-macosx_10_13_universal2.whl
| Download URL | waveforms-2.3.0-cp312-cp312-macosx_10_13_universal2.whl |
|---|---|
| Size | 397.5 kB |
| Tags | CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
229ec894b3fdf5dc39f9ed187cdd2afcd1673853f57fb4a17e6b7850e8e32efc
|
|
BLAKE2b-256 checksum How to use checksums |
1bef1fc3bb832740141381faeaa5a68b2dc4ca4a95498e7e75188c0fcf1f5c92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / waveforms-2.3.0-cp311-cp311-win_amd64.whl
| Download URL | waveforms-2.3.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 190.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8fe01430f380debe81011794a3e2ceefdbb9968f87fe5c331d0e925557ecca00
|
|
BLAKE2b-256 checksum How to use checksums |
704277eb15b20a5bf627e65594695af946fd4659dcdef638ea61c136b62545df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / waveforms-2.3.0-cp311-cp311-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
| Download URL | waveforms-2.3.0-cp311-cp311-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
5350540f7c142c2d96a4af4b71b8ff5958a687bcde50f3c492ff643ad400d0e4
|
|
BLAKE2b-256 checksum How to use checksums |
3467427b7c4871d15f608aed5c080c05244b23d87a8649c97af7e3e4867145a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / waveforms-2.3.0-cp311-cp311-macosx_10_9_universal2.whl
| Download URL | waveforms-2.3.0-cp311-cp311-macosx_10_9_universal2.whl |
|---|---|
| Size | 385.9 kB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
ed30c34ede72bd4e7079cb36c4e27e6f8b98118f91508c9fe277fd3f90b2b4bb
|
|
BLAKE2b-256 checksum How to use checksums |
1dfc43d85d956f82347763e12687b6370508e2b1329ec7db7c773828b319f1bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / waveforms-2.3.0-cp310-cp310-win_amd64.whl
| Download URL | waveforms-2.3.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 191.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a9a935bfa6e055d59cc7b2c8a383dbecddd19c94c38f2061557a7fe6d68c8bcd
|
|
BLAKE2b-256 checksum How to use checksums |
b5132e4f4f037dc37d64669ba4aacf53ecdf541e6bb82ab8e66bbb4268695192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Release files / waveforms-2.3.0-cp310-cp310-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
| Download URL | waveforms-2.3.0-cp310-cp310-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
746d5f877d9465f739a119fd585668a042688aa6ae443c27188bbaa9c8261a82
|
|
BLAKE2b-256 checksum How to use checksums |
1b8f7067a95032d1d0dc4036ad89df3db6b7b4c1044d551484f973cc02d84933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / waveforms-2.3.0-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | waveforms-2.3.0-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 387.2 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
889a0a5d2899be8e2a1c836e738763fc8fa40023956fffdd10108adcbb05c1ab
|
|
BLAKE2b-256 checksum How to use checksums |
b73ef9882423aa68d72ec9b9ed5f51df907c703153703ebb80542a74ed5acce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|