Struct au::plots::bode::Bode[][src]

pub struct Bode<T: Num, U: Plotter<T>> { /* fields omitted */ }

Struct for the calculation of Bode plots

Implementations

impl<T: Float, U: Plotter<T>> Bode<T, U>[src]

pub fn new(
    tf: U,
    min_freq: RadiansPerSecond<T>,
    max_freq: RadiansPerSecond<T>,
    step: T
) -> Self
[src]

Create a Bode plot struct

Arguments

  • tf - Transfer function to plot
  • min_freq - Minimum angular frequency of the plot
  • max_freq - Maximum angular frequency of the plot
  • step - Step between frequencies

step shall be in logarithmic scale. Use 0.1 to have 10 point per decade

Panics

Panics if the step is not strictly positive and the minimum frequency is not lower than the maximum frequency

impl<T: Float + FloatConst, U: Plotter<T>> Bode<T, U>[src]

pub fn new_discrete(tf: U, min_freq: RadiansPerSecond<T>, step: T) -> Self[src]

Create a Bode plot struct for discrete time systems.

Arguments

  • tf - Transfer function to plot
  • min_freq - Minimum angular frequency of the plot
  • step - Step between frequencies

step shall be in logarithmic scale. Use 0.1 to have 10 point per decade

Panics

Panics if the step is not strictly positive and the minimum frequency is not lower than pi.

Trait Implementations

impl<T: Clone + Num, U: Clone + Plotter<T>> Clone for Bode<T, U>[src]

impl<T: Debug + Num, U: Debug + Plotter<T>> Debug for Bode<T, U>[src]

impl<T: Float + MulAdd<Output = T>, U: Plotter<T>> IntoIterator for Bode<T, U>[src]

type Item = Data<T>

The type of the elements being iterated over.

type IntoIter = IntoIter<T, U>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<T, U> RefUnwindSafe for Bode<T, U> where
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, U> Send for Bode<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for Bode<T, U> where
    T: Sync,
    U: Sync

impl<T, U> Unpin for Bode<T, U> where
    T: Unpin,
    U: Unpin

impl<T, U> UnwindSafe for Bode<T, U> where
    T: UnwindSafe,
    U: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,