Acoular 24.07 documentation


«  RectSector3D   ::   grids   ::   PolySector  »


class acoular.grids.CircSector

Bases: SingleSector

Class for defining a circular sector.

Can be used for 2D Grids for definining a circular sector or for 3D grids for a cylindrical sector parallel to the z-axis.

x = Float(0.0, desc='x position of the circle center')

x position of the circle center

y = Float(0.0, desc='y position of the circle center')

y position of the circle center

r = Float(1.0, desc='radius of the circle')

radius of the circle


Queries whether the coordinates in a given array lie within the circular sector. If no coordinate is inside, the nearest one outside is returned if default_nearest is True.

posarray of floats

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

array of bools with as many entries as columns in pos

Array indicating which of the given positions lie within the given sector

«  RectSector3D   ::   grids   ::   PolySector  »