#include <memory_resource>#include <nk/value/value.hpp>Go to the source code of this file.
Functions | |
| Value | nk::signal::statelevels (const Value &x, std::pmr::memory_resource *mr=nullptr) |
| Estimate the [low, high] state levels of a step-shaped signal. | |
| Value | nk::signal::midcross (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Mid-state crossing times. | |
| Value | nk::signal::risetime (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Rise time of positive-going transitions. | |
| Value | nk::signal::falltime (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Fall time of negative-going transitions (90% → 10%). | |
| Value | nk::signal::slewrate (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Slew rate of each transition. | |
| Value | nk::signal::overshoot (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Percent overshoot above the upper state. | |
| Value | nk::signal::undershoot (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Percent undershoot below the lower state level. | |
| Value | nk::signal::settlingtime (const Value &x, const Value &fs=Value::Empty, double tol=0.02, std::pmr::memory_resource *mr=nullptr) |
| Settling time of each transition. | |
| Value | nk::signal::pulsewidth (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Duration each pulse stays above the mid-state. | |
| Value | nk::signal::pulseperiod (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Period between consecutive same-direction mid-state crossings. | |
| Value | nk::signal::pulsesep (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Separation between consecutive pulses (time below mid-state). | |
| Value | nk::signal::dutycycle (const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr) |
| Duty cycle: fraction of each pulse period spent above the mid-state. | |