getpix(1)
π NAME π
getpix β -Display FITS or IRAF image values
okay so bestie, real talk: this is the tool that pulls actual pixel values out of a FITS or IRAF 2-D image and shows them to you. that's it. that's the whole gig. and it ATE. π
β¨ 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
like, yes, setpix is in there too. no i will not explain. okay i'll explain: it's in the synopsis, it's staying in the synopsis. π«Ά
π DESCRIPTION π
so what this icon actually does: it displays the values of a list of specified pixels, or ranges of pixels, in a FITS or IRAF 2-D image. π
and as a lil bonus, pixel values from a file of x y pairs may be displayed too. so you can absolutely just hand it a whole list and let it cook. β¨
π OPTIONS π
every single one. no skipping. i know her. π
filenameβ the name of the IRAF image header file or the FITS file. and heads up bestie, this one must be present. like it's not optional, it's the main character. no filename, no show. π@coordfileβ a file where the x y coordinates are the first two tokens on each line.xrange yrangeβ image coordinate x and y ranges, written asx1-x2 y1-y2, or just straight up lists of x and y coordinates.xis the horizontal one,yruns along the vertical axis, and it all starts at1,1in the lower left corner of the image. and if either range is"0", then all of the coordinate values along that axis get displayed. zero means everything, periodt.-d numberβ set the number of decimal places in the displayed pixel values.-e pixel value rangeβ print the range of pixel values in the specified image region.-f nameβ write the specified region out to a FITS file.-g numβ keep pixels with values greater than this. (in the synopsis you'll see it hanging out as-g valtoo, same energy.)-hβ print the file name on the line above the pixel values.-iβ ignore the first token on each line of the coordinate file.-l numβ keep pixels with values less than this. (-l valin the synopsis, still her.)-mβ print the mean of the pixel values in the specified image region.-n numβ how many pixel values get printed per line.-o formatβ output format in C style, without the leading%.-pβ label the pixel rows and columns.-r numβ radius (<0=box) to extract, in degrees/arcsec.-sβ print x y value with no punctuation.-tβ separate the columns in the table with tabs instead of spaces.-vβ verbose header with more info about the image, and it labels pixel coordinates from the input list. she's chatty and we love her for it. π¦-yβ display x as rows (vertically) and y as columns (horizontally). yes, the flip. it's giving chaos but it's on purpose. π₯
πΈ AUTHOR πΈ
Jessica Mink, SAO (jmink@cfa.harvard.edu) β the legend herself. bow down. πββοΈπ
okay that's the whole page bestie, go read some pixels π
this was WCSTools, dated 14 May 2020 β getpix(1), slay, goodbye, mwah πβ¨
π¦ where this page comes from
- debian bookworm: wcstools 3.9.7-1 Β· GPL-2.0-only
- debian trixie: wcstools 3.9.7-1.1+b1 Β· GPL-2.0-only
- ubuntu jammy: wcstools 3.9.6-1 Β· GPL-2.0-only
- ubuntu noble: wcstools 3.9.7-1.1build1 Β· GPL-2.0-only
- ubuntu questing: wcstools 3.9.7-2
- ubuntu resolute: wcstools 3.9.7-2build1 Β· GPL-2.0-only
- ubuntu stonking: wcstools 3.9.7-2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms