Trait autd3_core::gain::Gain[][src]

pub trait Gain {
    fn build(&mut self, geometry: &Geometry) -> Result<()>;
fn rebuild(&mut self, geometry: &Geometry) -> Result<()>;
fn data(&self) -> &[GainData]
Notable traits for &'_ mut [u8]
impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
;
fn take(self) -> Vec<GainData>;
fn built(&self) -> bool; }
Expand description

Gain contains amplitude and phase of each transducer in the AUTD. Note that the amplitude means duty ratio of Pulse Width Modulation, respectively.

Required methods

Implementors