RadiationPressure

RadiationPressure is a Modulation that applies modulation to radiation pressure (proportional to the square of sound pressure) instead of sound pressure.

For example, when RadiationPressure is applied to a Sine modulation, the radiation pressure of the sound pressure amplitude will be as follows, and the envelope of the radiation pressure will follow a sine wave.

use autd3::prelude::*;
use autd3::modulation::RadiationPressure;
 
fn main() {
let _ = 
RadiationPressure {
    target: Sine {
        freq: 150 * Hz,
        option: Default::default(),
    },
};
}
#include<autd3.hpp>
#include <autd3/modulation/radiation_pressure.hpp>

int main() {
using namespace autd3;
modulation::RadiationPressure(Sine(150 * Hz, SineOption{}));
return 0; }
using AUTD3Sharp.Modulation;
using static AUTD3Sharp.Units;

new RadiationPressure(target: new Sine(freq: 150u * Hz, option: new SineOption()));
from pyautd3 import Hz, Sine, SineOption
from pyautd3.modulation import RadiationPressure

RadiationPressure(target=Sine(freq=150 * Hz, option=SineOption()))