I think that the documentation for PDL::Transform::Cartography wrongly
implies
that the rho,phi coordinates should be in radians. They should be in
degrees.
For example, if you have PGPLOT installed, try:
use PDL::Transform::Cartography;
$w=pgwin(xw,size=>[12,5],nx=>2);
$e = earth_image();
$w->fits_imag($e);
$w->fits_imag($e->map(t_aitoff,[500,500]));
That will show you the Earth image in both Plate Caree coordinates (in
degrees)
and Aitoff transformed coordinates (in radians).
Cheers,
Craig
On Feb 2, 2009, at 12:53 PM, David Whysong wrote:
> The documentation says that t_aitoff / t_hammer should transform a
> sphere into an ellipse. However, the attached script (which loads a
> processed version of the NVSS source catalog with $rho,$phi in
> radians, then makes an image of the radio sky) produces an image that
> is not elliptical.
>
> Am I doing something wrong?
>
> David Whysong
> <
> radio
> .jpg
> ><nvssfieldsearch.pl>_______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl