MicGeom¶
- class acoular.microphones.MicGeom¶
Bases:
HasPrivateTraits
Provides the geometric arrangement of microphones in the array.
The geometric arrangement of microphones is read in from an xml-source with element tag names pos and attributes Name, x, y and z. Can also be used with programmatically generated arrangements.
- from_file = File(filter=['*.xml'], …¶
Name of the .xml-file from wich to read the data.
- validate_file = Bool(True, …¶
Validate mic geom from file
- basename = Property( depends_on = 'from_file', …¶
Basename of the .xml-file, without the extension; is set automatically / readonly.
- invalid_channels = ListInt( …¶
List that gives the indices of channels that should not be considered. Defaults to a blank list.
- num_mics = Property( depends_on = ['mpos', ], …¶
Number of microphones in the array; readonly.
- center = Property( depends_on = ['mpos', ], …¶
Center of the array (arithmetic mean of all used array positions); readonly.
- aperture = Property( depends_on = ['mpos', ], …¶
Aperture of the array (greatest extent between two microphones); readonly.
- mpos_tot = CArray(dtype=float, …¶
Positions as (3,
num_mics
) array of floats, may include also invalid microphones (if any). Set either automatically on change of thefrom_file
argument or explicitely by assigning an array of floats.