cen_xy: xy <-> cen

Description Usage Arguments Details Note See Also

Description

Translate the centre of mass back and forth between polar and cartesian coordinates.

Usage

1
2
3
cen2xy(cen)

xy2cen(xy)

Arguments

cen

the centre of mass of a wavelet spectrum (rho, phi, z), output of dt2cen

xy

the centre of mass in cartesian coordinates (x, y, z), output of cen2xy

Details

These functions allow you to translate back and forth between the two coordinate systems. dt2cen represents the sepctrum's centre in cylinder coordinates because that is more intuitive than the x-y-z position within the hexagonal geometry. If you want to compare two spectra, it makes more sense to consider their distance in terms of x1-x2, y1-y2 since the difference in angle is only meaningful for reasonably large radii.

Note

cen2xy is not the same thing as cen2uv !

See Also

dt2cen, cen2uv


dualtrees documentation built on March 13, 2020, 1:42 a.m.

Related to cen_xy in dualtrees...