Scroll to navigation

WARP(1) User Commands WARP(1)

NAME

Warp - warp (transform) input dataset

SYNOPSIS

astwarp [OPTION...] ASTRdata

DESCRIPTION

Warp is part of GNU Astronomy Utilities 0.22. Warp will resample the pixel grid of an input image. By default (if no special linear warping is requested), it will align the image to the WCS coordinates in anyand remove any possible distortion. Linear warping (like '--rotate' or '--scale') should be explicitly requested with the options under the "Linear warps" group below.

For more information, please run any of the following commands. In particular the second contains a very comprehensive explanation of Warp's invocation: expected input(s), output(s), and a full description of all the options.

$ astwarp -P
$ info astwarp
$ info Warp
$ info gnuastro

If you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. For more information, please run:

$ info help-gnuastro

Warp options:

Input:
Header keyword number to end reading WCS.
Header keyword number to start reading WCS.
Extension name or number of input data.
Output:
Acceptable fraction of output pixel covered.
Don't delete output if it exists.
Do not apply warp to input's WCS
Keep input directory for automatic output.
No Git commit in 0-th HDU of output FITS.
No metadata in 0-th HDU of output FITS.
No 'DATE' in 0-th HDU of output FITS.
No versions in 0-th HDU of output FITS.
Output file name.
Type of output: e.g., int16, float32, etc...
WCS linear matrix of output ('pc' or 'cd').
Align with WCS coordinates (correcting distortion, default mode)
Moire pattern: Max.frac. input pixels on output.
FITS standard CTYPE value (e.g., 'RA---TAN').
Center coordinate of the output image in RA,DEC.
Number of extra samplings in pixel sides.
File to use for output grid.
HDU/extension to use for output grid.

--widthinpix --width is in pixels, not in WCS coordinates.

Output image size in both dimensions.
Pixel scale of output (usually degrees/pixel).
Linear warps (must be called explicitly on command-line)
Center of coordinates on first pixel corner.
Shear along the given axis(es).
Flip along the given axis(es).
Raw transformation matrix, highest priority.
Project along the given axis(es).
Rotate by the given angle in degrees.
Scale along the given axis(es).
Translate along the given axis(es).
Operating modes:
-?, --help
give this help list
List all config files and variables read.
BibTeX citation for this program.
Read configuration file STR immediately.
Custom prefix of option names config files.
Do not parse any more configuration files.
Information about output(s) in a log file.
Min. bytes to avoid RAM automatically.
Number of CPU threads to use.
Only run if the program version is STR.
Print parameter values to be used and abort.
Don't print mmap'd file's name and size.
Only report errors, remain quiet about steps.
Set default values for this directory and abort.
give a short usage message
Set default values for this user and abort.
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/

REPORTING BUGS

Report bugs to bug-gnuastro@gnu.org.

COPYRIGHT

Copyright © 2015-2024 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written/developed by Mohammad Akhlaghi and Pedram Ashofteh-Ardakani

SEE ALSO

The full documentation for Warp is maintained as a Texinfo manual. If the info and Warp programs are properly installed at your site, the command

info Warp

should give you access to the complete manual.

February 2024 GNU Astronomy Utilities 0.22