Skip to main content

Edit waveforms used in experiment

Project description

waveforms

View build status Coverage Status PyPI version

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

MIT

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

waveforms-2.2.3.tar.gz (42.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

waveforms-2.2.3-cp314-cp314t-win_amd64.whl (194.3 kB view details)

Uploaded CPython 3.14tWindows x86-64

waveforms-2.2.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.34+ x86-64manylinux: glibc 2.5+ x86-64

waveforms-2.2.3-cp314-cp314t-macosx_10_15_universal2.whl (378.5 kB view details)

Uploaded CPython 3.14tmacOS 10.15+ universal2 (ARM64, x86-64)

waveforms-2.2.3-cp314-cp314-win_amd64.whl (161.4 kB view details)

Uploaded CPython 3.14Windows x86-64

waveforms-2.2.3-cp314-cp314-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64manylinux: glibc 2.5+ x86-64

waveforms-2.2.3-cp314-cp314-macosx_10_15_universal2.whl (346.3 kB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

waveforms-2.2.3-cp313-cp313-win_amd64.whl (157.8 kB view details)

Uploaded CPython 3.13Windows x86-64

waveforms-2.2.3-cp313-cp313-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64manylinux: glibc 2.5+ x86-64

waveforms-2.2.3-cp313-cp313-macosx_10_13_universal2.whl (345.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

waveforms-2.2.3-cp312-cp312-win_amd64.whl (156.0 kB view details)

Uploaded CPython 3.12Windows x86-64

waveforms-2.2.3-cp312-cp312-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64manylinux: glibc 2.5+ x86-64

waveforms-2.2.3-cp312-cp312-macosx_10_13_universal2.whl (346.0 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

waveforms-2.2.3-cp311-cp311-win_amd64.whl (168.6 kB view details)

Uploaded CPython 3.11Windows x86-64

waveforms-2.2.3-cp311-cp311-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64manylinux: glibc 2.5+ x86-64

waveforms-2.2.3-cp311-cp311-macosx_10_9_universal2.whl (353.5 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

waveforms-2.2.3-cp310-cp310-win_amd64.whl (168.4 kB view details)

Uploaded CPython 3.10Windows x86-64

waveforms-2.2.3-cp310-cp310-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64manylinux: glibc 2.5+ x86-64

waveforms-2.2.3-cp310-cp310-macosx_10_9_universal2.whl (353.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file waveforms-2.2.3.tar.gz.

File metadata

  • Download URL: waveforms-2.2.3.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for waveforms-2.2.3.tar.gz
Algorithm Hash digest
SHA256 95aea2a22fc5eac222b73435c40102faef50208653ae9b45c468631eaf053ba4
MD5 ce05b0ddc04b7eb59a90a4181f56273a
BLAKE2b-256 c031cf6b61a7a052e03154634616c582531dd2ce76b97282ecb89ee49cb689ff

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: waveforms-2.2.3-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 194.3 kB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for waveforms-2.2.3-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 3664bd96413f0eb8c656246eaeae92c1d5c2552bc398cee6ec2b86703d1dfed1
MD5 c1a5e3293ae8e08cd541f0a85de33b16
BLAKE2b-256 06187ade9188591221aaaed9b86ac3e44ecdd803cc91e1a20bd8955c7838a71d

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 9222612251f9dcc34adb48acab13c01a176a1b366ad0312c075bdd92974ee257
MD5 69b3c34b1e50865d5a9eccf9165a2a7e
BLAKE2b-256 7037ff6a1b93ad6e66cb1c4cd50252dca79a15965fa6a2f87619faea735944c2

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp314-cp314t-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp314-cp314t-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 406196a78fa5c5781ef1a2e0f909e4ef9fda7f4b343e35c3cfbe7fc759759d48
MD5 77f7165f4b8bcce0606ec378904d9022
BLAKE2b-256 81500032ca27a5fff13dbd677092bde8d5287937349e5bf6d247aac937948627

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: waveforms-2.2.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 161.4 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for waveforms-2.2.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a374e12e86fa2617b07af1d25c765d0c7b5e6277f04aa9c6cbd2c02e96c1d75d
MD5 dc925c6e316a34df8be70758542834b7
BLAKE2b-256 f695c5638e1d7e3055492835f5bfef524ce2855f8e9e162646228c6e7f99cd17

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp314-cp314-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp314-cp314-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 866ef821e15b362d09a6f9cff9c6ee5d01cbccce5f08c6e9847ddec1f577d824
MD5 8eca0b1e09344d92e0457c7ad60aa82c
BLAKE2b-256 2f4c57bfc02693263964522c9be6770207e7fb47c28def6cd05fd8842402c5db

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 d0710eff68594f275292b4ad9b0c9c6f9014d76b243686a2f63db5fe1bf5dbda
MD5 de3cb9abd66644eebda299f13792412c
BLAKE2b-256 9093cf1817781e93bf66c53382855db0be9281d2defd5d1a8110ceb4e283cca1

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: waveforms-2.2.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 157.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for waveforms-2.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c38dc47284ece944a4d1a52cc8e63091924e69d387d3a94460d1a8e3e8be3412
MD5 cb952dcb1a18a9a8044381b456c563c5
BLAKE2b-256 9633b52c45345e05e7efe5f394def0cca8d3421b95fdedb0b1f95451bcd1ba4a

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp313-cp313-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp313-cp313-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 2d7d04c8f399bcf865590f3f6c68d6a49ad53b785c8d93664ecac1b1a794dc13
MD5 e8bc85ca4ae2b2ad3fec0c852cd8aafc
BLAKE2b-256 557ce5e289e42ab307e0907394875cc94867d7d0189a732143c91d6d3561bc18

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 f21eb1c5ddc770be60ab151ebd0aeb6db3319ce03166d9f419cabc1bc58c29fd
MD5 36e2afa1fb29e002c7434b6d0f956175
BLAKE2b-256 60c092425b0c2ad1170f5535cfd27cbdfb805c7d7dca047319063aeaec161b52

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: waveforms-2.2.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 156.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for waveforms-2.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 add7420b65b5ba24c1e8f32950a02b797bf38cf581f2b551874b7da577164a33
MD5 50e7bf89d3d959d1d79915f8f6f423f1
BLAKE2b-256 16da5093d4108d03974c1d7b0d9b5fd802b92e74e92f876a0054cb1df08dffd7

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp312-cp312-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp312-cp312-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 aef25ed067e848ae6ed844cbc2dc8e60e1dc23ef2bf0858c11c516595807f60e
MD5 d0c811388ee3d1b762980e57a5f59d13
BLAKE2b-256 33bf8c753f8eba82fa0599842561c184b6df2ce6cc4cef5a57f0ef7882be924e

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 3c66292d4c64f3c57f2438c6b10a887b9e43567a4c2f791a8c21d1d6cf7ee110
MD5 5dfe803ff043997fb3c9fd0bfa671a02
BLAKE2b-256 08c14d91e75fb627d5138abe138363b51f7b20d04cda79546aa50ebd365be827

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: waveforms-2.2.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 168.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for waveforms-2.2.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dd5c20fa4f8bd0c98deae32243c61cb9a63c6ee380cd78bdbbfe7bf5f352aaa9
MD5 be37dfa26be4358493068ef9df7fcafa
BLAKE2b-256 4b56b9e30444c13445090dc33e7d2e990e37e91cb93b87332c806bbcac3dc2f2

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp311-cp311-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp311-cp311-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 9171f9f7522cacec80833bd7b1b0b2970a63e5a8e004e6a2c7d51a57e11ebc45
MD5 2f414eccea5acb6901f53466df54f3a8
BLAKE2b-256 7575ecabadc2f97f25c4fc313bd10e9e0fd4bd101c6e187cb64398be9169bf97

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3db5312a453d4a5d261a69c5a3d8004f43e12b9a1fbf1c0d090a33c59f32d155
MD5 54c60e20061b74db1ae06ad3b0dd266f
BLAKE2b-256 cc7614f71d2d0c97aa74bda644eb5704a5f3c75a4d295937606409ecd8a46888

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: waveforms-2.2.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 168.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for waveforms-2.2.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 02347c523f1481d1417f0d5111bb0f754084133fc3c2a72a3a5d150a8b18905e
MD5 fc4e8b67a41c72b63a2340f999c4fccf
BLAKE2b-256 95cfc246767aac0b5762aae19ce5bd35daf7d495ad60f1f0c5b0515863d19d6f

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp310-cp310-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp310-cp310-manylinux1_x86_64.manylinux_2_34_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 31538ec3817dfb01dc3b36edcf03f263b5c31edc2bb79e6070ae2b7de6f92c3e
MD5 0a93120732663d7045ec18cc5575cb33
BLAKE2b-256 985146cc9dc41d6da3d28c10fb4d96e491c85f717476699c86835d85c8d6044d

See more details on using hashes here.

File details

Details for the file waveforms-2.2.3-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for waveforms-2.2.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 df88389bb30f90eb5a2935aa38e47d4feaf73c30ddc8e5bbff3c7dc0dc799d65
MD5 caca7d832f03dbe66c6db9ac5db2da82
BLAKE2b-256 fd473715df12f3735f7887bc20589165ad73f73e1efc25d7d7fc0193b661bc21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page