cen2uv: centre to vector

View source: R/spectra.R

cen2uvR Documentation

centre to vector

Description

transforms the angle and radius component of the spectral centre into vector components for visualization

Usage

cen2uv(cen)

Arguments

cen

an nx x ny x 3 array, the output of dt2cen

Details

The resulting vector field represents the degree of anisotropy and the dominant direction, averaged over all scales.

Value

an nx x ny x 2 array, the two matrices representing the u- and v-component of the vector field.

See Also

dt2cen, uvplot

Examples

dt <- fld2dt(blossom)
ce <- dt2cen(dt)
uv <- cen2uv(ce)
uvplot( uv, z=blossom )

dualtrees documentation built on Oct. 4, 2023, 5:10 p.m.