PDL::Graphics::X::Fits - OO X Windows fits image display


PDL-Graphics-X-Fits documentation  | view source Contained in the PDL-Graphics-X-Fits distribution.

Index


NAME

Top

PDL::Graphics::X::Fits - OO X Windows fits image display

SYNOPSIS

Top

  use PDL;
  use PDL::Graphics::LUT;
  use PDL::Graphics::X::Fits;

  my $fits = rfits("PDL-2.4.1/m51.fits");
  my $win1 = PDL::Graphics::X::Fits->new($fits, {WIN_TITLE => "In Color", CTAB => cat(lut_data("idl5"))});
  my ($x, $y) = $win1->cursor();

DESCRIPTION

Top

A OO X Windows fits image display module built on PDL::Graphics::X. This module draws fits image with appropriately labeled axises & tick marks, similar to those drawn by PGPLOT. Once the image has been displayed, the cursor method will return the location of the next mouse click in image coordinates.

Options recognized

       CTAB - color table to use when displaying the image (greyscale is default)
        MIN - minimum value to display (image minimum is default)
        MAX - maximum value to display (image maximum is default)
        RGB - set to 1 to display a RGB fits (expects the image to be in the form (x, y, RGB))
  WIN_TITLE - a title for the window (default is "X::FITS")

EXPORT

None by default.

SEE ALSO

Top

PDL::Graphics::X

KNOWN ISSUES

Top

Since PDL::Graphics::X doesn't handle rotated text very well, the y-axis label looks pretty ugly.

BUGS

Top

...

AUTHOR

Top

Hazen Babcock, hbabcockos1 at mac.com

COPYRIGHT AND LICENSE

Top


PDL-Graphics-X-Fits documentation  | view source Contained in the PDL-Graphics-X-Fits distribution.