Man page - setpix(1)
Packages contas this manual
- keyhead(1)
- imstack(1)
- getdate(1)
- scat(1)
- imgsc(1)
- fixpix(1)
- imstar(1)
- fileroot(1)
- imua2(1)
- xy2sky(1)
- sp2char(1)
- sumpix(1)
- sethead(1)
- gettab(1)
- imhead(1)
- imsize(1)
- imfill(1)
- isfits(1)
- imusa2(1)
- gethead(1)
- bincat(1)
- subpix(1)
- isnum(1)
- getcol(1)
- i2f(1)
- imwcs(1)
- imresize(1)
- crlf(1)
- htmlsp(1)
- newfits(1)
- delhead(1)
- cphead(1)
- addpix(1)
- skycoor(1)
- wcstools(1)
- edhead(1)
- char2sp(1)
- imrot(1)
- sky2xy(1)
- getpix(1)
- conpix(1)
- wcsremap(1)
- wcshead(1)
- isrange(1)
- sgsc(1)
- simpos(1)
- delwcs(1)
- filext(1)
- getfits(1)
- filename(1)
- imsmooth(1)
- immatch(1)
- susa2(1)
- sua2(1)
- isfile(1)
- imcatalog(1)
- setpix(1)
- imextract(1)
Package: wcstools
apt-get install wcstools
apt-get install wcstools
Manuals in package:
Documentations in package:
Manual
| setpix(1) | General Commands Manual | setpix(1) |
Name
setpix - Set FITS or IRAF image values
Synopsis
setpix [-vn] file.fts [x_range y_range value] [@valuefile]
Description
Set a specified pixel or range of pixels in a FITS or IRAF image to a specified value. More than one range of pixels and values may be specified on one command line. A file of xrange yrange value triplets may be used to set multiple regions at once. The image may be overwritten or a new image created.
Options
- filename
- Name of IRAF image header file or FITS file. This must be present.
- @coordfile
- Name of file containing lines of the format
xrange yrange value where xrange and yrange are of the format n or n-n or n,n,n or n-n,n-n and value my be integer or floating point. value will be converted to the type of the image. If a range is 0, the entire row or column specified by the other non-zero range will be set to the indicated value. If both ranges are zero, the entire image will be set to the specified value. New in version 2.6.4. - xrange yrange value
- Image coordinate x and y ranges and the value to which that region will be set. Either one of these triplets or a file of triplets, specified by @filename, must be present. xrange and yrange are of the format n or n-n or n,n,n or n-n,n-n and value my be integer or floating point. value will be converted to the type of the image. If a range is 0, the entire row or column specified by the other non-zero range will be set to the indicated value. If both ranges are zero, the entire image will be set to the specified value. Ranges new in version 2.6.4.
- -a <number>
- Add constant to pixels
- -d <number>
- Divide pixels by constant
- -i
- List each line which is dropped
- -m <number>
- Multiply pixels by constant
- -n
- Write the output to a new file which is named by inserting an e before the file extension. The new file is always written to the current working directory.
- -s <number>
- Subtract constant from pixels
- -v
- Print more information about the process
Author
Jessica Mink, SAO (jmink@cfa.harvard.edu)
| WCSTools | 6 July 2001 |