Acoular 24.07 documentation


«  RectSector   ::   grids   ::   CircSector  »


class acoular.grids.RectSector3D

Bases: RectSector

Class for defining a cuboid sector.

Can be used for 3D Grids for definining a cuboid sector.

z_min = Float(-1.0, desc='minimum z position of the cuboid')

The lower z position of the cuboid

z_max = Float(1.0, desc='maximum z position of the cuboid')

The upper z position of the cuboid


Queries whether the coordinates in a given array lie within the rectangular sector. If no coordinate is inside, the nearest one to the rectangle center 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

«  RectSector   ::   grids   ::   CircSector  »