View source: R/get.transducerRadius2.TSD.R

Calculates the radii of circular transducer elements based on -3 dB beam angles.

1 |

`beamwidth` |
is a vector of -3 dB beamwidths for the beams given in radians (the angle between the directions in which the acoustic intensity is half of the maximum acoustic intensity). |

`beampattern` |
is the beam pattern function having angle in radians as its first argument and the product of wave number and transducer element radius as its second argument, e. g. circularPiston(ang,kb). |

`wavenumber` |
is a vector of wave numbers for the beams. |

`max.radius` |
is an expected maximum radius which should be low enough to avoid exhaustive or inaccurate calculations. |

`twoway` |
is TRUE if the beampattern is to be squared, corresponding to a two way beam forming. I.e., if the beam widths are given as two-way angles bwtl=4 degrees, the one way beam width is actually 4*sqrt(2)=5.656854, and twoway should be TRUE to account for this. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.