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]ⓘ;
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.