Acoular 23.11 documentation

Sector

«  MergeGrid   ::   grids   ::   SingleSector  »

Sector

class acoular.grids.Sector

Bases: traits.has_traits.HasPrivateTraits

Base class for all sector types.

Defines the common interface for all tbdsector classes. This class may be used as a base for diverse sector implementaions. If used directly, it implements a sector encompassing the whole grid.

contains(pos)

Queries whether the coordinates in a given array lie within the defined sector. For this sector type, any position is valid.

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 given sector

«  MergeGrid   ::   grids   ::   SingleSector  »