logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

getpix -Display FITS or IRAF image values

Author

       Jessica Mink, SAO (jmink@cfa.harvard.edu)

14 May 2020                                         WCSTools                                           getpix(1)

Description

       Display the values of list of specified pixels or ranges of pixels in a FITS or  IRAF  2-D  image.  Pixel
       values from a file of x y pairs may be displayed

Name

       getpix -Display FITS or IRAF image values

Options

filename
              Name of IRAF image header file or FITS file. This must be present.

       @coordfile
              File with x y coordinates as first two tokens on lines

       xrangeyrange
              Image  coordinate  x  and  y ranges as x1-x2 y1-y2 or lists of x and y coordinates, where x is the
              horizontal and y is along the vertical axis starting at 1,1 in the lower left corner of the image.
              If either range is "0", all of the coordinate values along that axis are displayed.

       -dnumber
              Set the number of decimal places in displayed pixel values

       -epixelvaluerange
              Print range of pixel values in specified image region

       -fname
              Write specified region to a FITS file

       -gnum Keep pixels with values greater than this

       -h     Print file name on line above pixel values

       -i     Ignore first token per line of coordinate file

       -lnum Keep pixels with values less than this

       -m     Print mean of pixel values in specified image region

       -nnum Number of pixel values printed per line

       -oformat:OutputformatinCstylewithoutleading%-p     Label pixel rows and columns

       -rnum Radius (<0=box) to extract in degrees/arcsec

       -s     Print x y value with no punctuation

       -t     Separate columns in table with tabs instead of spaces

       -v     Verbose header with more about the image and label pixel coordinates from input list

       -y     Display x as rows (vertically) and y as columns (horizontally)

Synopsis

       setpix [-vn] file.fts [x_range y_range value] [@valuefile] getpix [-vp][-n num][-g val][-l val] file.fits
       x_range  y_range  getpix  [-vp][-n  num][-g  val][-l val] file.fits x1 y1 x2 y2 ... xn yn getpix [-vp][-n
       num][-g val][-l val] file.fits @file

See Also