Skip to content
Snippets Groups Projects
  • Sam Yates's avatar
    Add phase parameter to current clamps. (#1474) · 05569a16
    Sam Yates authored
    * `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.
    Unverified
    05569a16