acdecom.WaveGuide.read_microphonefile¶
-
WaveGuide.
read_microphonefile
(filename, cylindrical_coordinates=False, **kwargs)¶ Reads a file that contains the microphone position. The dimensions are [m] or [deg]. The file must have the following structure:
For Circular duct:
z1
r1
\(\Phi\) 1
z2
r2
\(\Phi\) 2
…
…
…
zm
rm
\(\Phi\) m
- For other ducts:
z1
x1
\(y\) m
z2
x2
\(y\) m
…
…
…
zm
xm
\(y\) m
- Parameters
filename (str) – Full Path to the file that contains the microphone data.
cylindrical_coordinates (bool, optional) – If True the circumferential position is converted from deg. to radians.
kwargs (additional parameters) – Will be passed to numpy.loadtxt. Please refer to the numpy documentation for information.