Skip to content
Snippets Groups Projects
Unverified Commit 05569a16 authored by Sam Yates's avatar Sam Yates Committed by GitHub
Browse files

Add phase parameter to current clamps. (#1474)

* `i_clamp` constructors take new optional phase argument.
* Pulse or box envelope clamps are now provided by the static method `i_clamp::box`, taking onset, duration, and amplitude parameters.
* Bump pybind11 version so we can have keyword-only arguments in the Python API.
* Make frequency and phase keyword-only arguments to Python `iclamp`.
* Change frequency units for clamps from Hz to kHz for consistency with other interfaces.

Fixes #1454.
parent 00fd01b6
No related branches found
No related tags found
Showing
with 84 additions and 65 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment