1getpix(1) General Commands Manual getpix(1)
2
3
4
6 getpix -Display FITS or IRAF image values
7
9 setpix [-vn] file.fts [x_range y_range value] [@valuefile] getpix
10 [-vp][-n num][-g val][-l val] file.fits x_range y_range getpix [-vp][-n
11 num][-g val][-l val] file.fits x1 y1 x2 y2 ... xn yn getpix [-vp][-n
12 num][-g val][-val] file.fits @file
13
15 Display the values of list of specified pixels or ranges of pixels in a
16 FITS or IRAF 2-D image. Pixel values from a file of x y pairs may be
17 displayed
18
20 filename
21 Name of IRAF image header file or FITS file. This must be
22 present.
23
24 @coordfile
25 File with x y coordinates as first two tokens on lines
26
27 xrange yrange
28 Image coordinate x and y ranges as x1-x2 y1-y2 or lists of x and
29 y coordinates, where x is the horizontal and y is along the ver‐
30 tical axis starting at 1,1 in the lower left corner of the
31 image. If either range is "0", all of the coordinate values
32 along that axis are displayed.
33
34 -d number
35 Set the number of decimal places in displayed pixel values
36
37 -e pixel value range
38 Print range of pixel values in specified image region
39
40 -f name
41 Write specified region to a FITS file
42
43 -g num Keep pixels with values greater than this
44
45 -h Print file name on line above pixel values
46
47 -i Ignore first token per line of coordinate file
48
49 -l num Keep pixels with values less than this
50
51 -m Print mean of pixel values in specified image region
52
53 -n num Number of pixel values printed per line
54
55 -o format: Output format in C style without leading %
56
57 -p Label pixel rows and columns
58
59 -r num Radius (<0=box) to extract in degrees/arcsec
60
61 -s Print x y value with no punctuation
62
63 -t Separate columns in table with tabs instead of spaces
64
65 -v Verbose header with more about the image and label pixel coordi‐
66 nates from input list
67
68 -y Display x as rows (vertically) and y as columns (horizontally)
69
70
72 Jessica Mink, SAO (jmink@cfa.harvard.edu)
73
74
75
7614 May 2020 WCSTools getpix(1)