Acoular 20.10 documentation

MultiSector

«  ConvexSector   ::   grids   ::   microphones  »

MultiSector

class acoular.grids.MultiSector

Bases: acoular.grids.Sector

Class for defining a sector consisting of multiple sectors.

Can be used to sum over different sectors. Takes a list of sectors and returns the points contained in each sector.

sectors = List(Instance(Sector))

List of acoular.grids.Sector objects to be mixed.

contains(pos)

Queries whether the coordinates in a given array lie within any of the sub-sectors.

Parameters
posarray of floats

Array with the shape 3x[number of gridpoints] containing the grid positions

Returns
array of bools with as many entries as columns in pos

Array indicating which of the given positions lie within the sectors

«  ConvexSector   ::   grids   ::   microphones  »