# bucketizer.mean.circular

bucketizer

##### See also

The `bucketizer.mean.circular`

function returns the the circular mean of all the values found in the bucket.

The associated location is the centroid of all the encountered locations. The associated elevation is the mean of the encountered elevations.

The `bucketizer.mean.circular`

function can only be applied to values of type **LONG** or **DOUBLE**, when applied to **STRING**
or **BOOLEAN** it does not return any value.

If any tick is undefined, no value will be returned. Use `bucketizer.mean.circular.exclude-nulls`

if your GTS contain nulls.

The `bucketizer.mean.circular`

function expects a positive, finite, numeric period on top of the stack, this period will be
used to determine the span of circular values, use for example 360.0 if you wish to compute the circular mean of degree angles.