Polar Preview¶
![]()
Lab ยท Polar
The polar response of a scattering result (ISO 17497-2, 3.8): the level reflected from the sample into every receiver direction, for one incidence direction and one octave band, as a balloon mesh coloured by level. A direction at 0 dB (the level of the flat reference's specular reflection) is at radius from the centre, a direction at floor_db or below at 3 % of the radius, near the centre; blue is the lowest level, red the highest. The source output is a line towards the incidence direction. The Preview button shows or hides the drawing.

Inputs¶
| Name | Type | Access | Default | Description |
|---|---|---|---|---|
result |
ghdoc | item | ScatteringResult object, from Scattering Lab. | |
preview |
int | item | 0 |
Which incidence direction: an index of the result's preview sources, labelled with their colatitude (theta) and azimuth (phi) in degrees. Optional. |
octave |
int | item | 1000 |
The octave band in Hz, one the result simulated. Optional. |
body |
str | item | "sample" |
'sample' or 'reference' (the flat reference of the same size). Optional. |
radius |
float | item | 1.0 |
The radius of the loudest direction (0 dB), in metres. Optional. |
floor_db |
float | item | -30.0 |
A negative level in dB: a direction at this level or below is at 3 % of the radius, near the centre. Optional. |
centre |
point | item | Optional. The point the balloon is centred on. Unless given, the centre of the result's sample as Scattering Sample draws it: the centroid of its footprint in x and y, its top in z (the origin for a result made before the lab recorded it). Optional. |
Outputs¶
| Name | Description |
|---|---|
mesh |
The balloon, each face in the colour of the mean level of its vertices. |
levels |
The level in dB of each receiver direction (each vertex of the mesh before it is split into faces). |
source |
A line from the centre towards the incidence direction. |