cen_xy | R Documentation |
Translate the centre of mass back and forth between polar and cartesian coordinates.
cen2xy(cen)
xy2cen(xy)
cen |
the centre of mass of a wavelet spectrum (rho, phi, z), output of |
xy |
the centre of mass in cartesian coordinates (x, y, z), output of cen2xy |
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.
cen2xy
is not the same thing as cen2uv
!
dt2cen
, cen2uv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.