Skip to content

Pulse building library interfaceable with Tektronix AWG's 5014, 5208 and 70000A

License

Notifications You must be signed in to change notification settings

QCoDeS/broadbean

Folders and files

NameName
Last commit message
Last commit date
Oct 27, 2020
Jan 15, 2021
Jan 15, 2021
Sep 19, 2018
May 17, 2017
Apr 6, 2018
Feb 21, 2017
Sep 23, 2020
Feb 27, 2018
Apr 26, 2017
May 18, 2017
Sep 19, 2018
Feb 26, 2018

Repository files navigation

QCoDeS Pulsebuilder aka broadbean

Documentation Status

A library for making pulses. Supposed to be used with QCoDeS (in particular its Tektronix AWG 5014 driver), but works as standalone.

The usage is documented in the jupyter notebooks found in the docs folder.

Short description: The broadbean module lets the user compose and manipulate pulse sequences. The aim of the module is to reduce pulse building to the logical minimum of specifications so that building and manipulation become as easy as saying "Gimme a square wave, then a ramp, then a sine, and then wait for 10 ms" and, in particular, "Do the same thing again, but now with the sine having twice the frequency it had before".

The little extra module called ripasso performs frequency filtering and frequency filter compensation. It could be useful in a general setting and is therefore factored out to its own module.

The name: The broad bean is one of my favourite pulses.

Formal requirements

The broadbean package only works with python 3.6+

Installation

On a good day, installation is as easy as

$ git clone https://github.com/QCoDeS/broadbean.git bbdir
$ cd bbdir
$ pip install .

behind the scenes, numpy, matplotlib, and PyQt5 are installed if not found. If pip failed you, you may need to run it as root. But a better idea is to use a virtual enviroment.

You can now fire up a python 3 interpreter and go

>>> import broadbean as bb
>>> from broadbean import ripasso as rp

Documentation

Apart from the example notebooks, auto-generated documentation is available. As for now, the user must built it herself, but that is luckily easy.

In the bbdir folder, do:

$ pip install -r docs_requirements.txt
$ cd docs
$ make html

then ignore all warnings and just have a look at the file bbdir/docs/build/html/index.html.