Trait autd::gain::Gain [−][src]
Gain contains amplitude and phase of each transducer in the AUTD. Note that the amplitude and phase mean duty ratio and shift duration of Pulse Width Modulation, respectively.
Required methods
fn build(&mut self, geometry: &Geometry)
[src]
Calculate amplitude and phase of each transducers.
fn get_data(&self) -> &[DataArray]
[src]
Get amplitude and phase data of all transducers. The data must be [0-th transducer’s phase, 0-th transducer’s amplitude, 1-th transducer’s phase, …].