WARP(1)
β¨ WARP(1) β¨
okay bestie, welcome to the User Commands section, this is WARP(1) and she is ICONIC π
πΈ NAME πΈ
Warp β warp (transform) input dataset π«
π¦ SYNOPSIS π¦
astwarp [OPTION...] ASTRdata
π DESCRIPTION π
Warp is part of GNU Astronomy Utilities 0.24, and her whole thing is resampling the pixel grid of an input image. Like, she takes your pixels and she re-places them. π
By default β meaning if you don't ask for any special linear warping β she'll align the image to the WCS coordinates and remove any possible distortion. That's just the vibe she wakes up in. Linear warping (think --rotate or --scale) has to be explicitly requested with the options under the "Linear warps" group down below, no cap. π«Ά
Want more info? Run any of these, and bestie, the second one is the whole entire lore β expected input(s), output(s), and a full description of all the options:
All options and their values:
$ astwarp -P
Inputs/Outputs and options:
$ info astwarp
Full section in manual/book:
$ info Warp
Full Gnuastro manual/book:
$ info gnuastro
And if the manual still left you in the group chat with no reply π you can get direct help from experienced Gnuastro users and developers. For more information, run:
$ info help-gnuastro
π OPTIONS π
Warp options, let's get into it:
π Input:
--hendwcs=INTβ Header keyword number to end reading WCS.--hstartwcs=INTβ Header keyword number to start reading WCS.-h,--hdu=STR/INTβ Extension name or number of input data. tell her where the data lives π
π Output:
-C,--coveredfrac=FLTβ Acceptable fraction of output pixel covered.-D,--dontdeleteβ Don't delete output if it exists.-k,--keepwcsβ Do not apply warp to input's WCS.-K,--keepinputdirβ Keep input directory for automatic output.--outfitsnocommitβ No Git commit in 0-th HDU of output FITS.--outfitsnoconfigβ No metadata in 0-th HDU of output FITS.--outfitsnodateβ No'DATE'in 0-th HDU of output FITS.--outfitsnoversionsβ No versions in 0-th HDU of output FITS.-o,--output=STRβ Output file name.-T,--type=STRβ Type of output: e.g.,int16,float32, etc...--wcslinearmatrix=STRβ WCS linear matrix of output ('pc'or'cd').
π« Align with WCS coordinates (correcting distortion, default mode)
--checkmaxfracβ Moire pattern: Max.frac. input pixels on output.--ctype=STR[,STR]β FITS standard CTYPE value (e.g.,'RA---TAN').-c,--center=FLT,FLTβ Center coordinate of the output image in RA,DEC.--edgesampling=INTβ Number of extra samplings in pixel sides.-G,--gridfile=FITSβ File to use for output grid.-H,--gridhdu=STRβ HDU/extension to use for output grid.--widthinpixβ--widthis in pixels, not in WCS coordinates.-w,--width=INT,INTβ Output image size in both dimensions.-x,--cdelt=FLT[,FLT]β Pixel scale of output (usually degrees/pixel).
π₯ Linear warps (must be called explicitly on command-line)
bestie these do NOT happen on their own, you have to actually ask for them, fr fr
--centeroncornerβ Center of coordinates on first pixel corner.-e,--shear=FLT[,FLT]β Shear along the given axis(es).-f,--flip=INT[,INT]β Flip along the given axis(es).-m,--matrix=STRβ Raw transformation matrix, highest priority. π-p,--project=FLT[,FLT]β Project along the given axis(es).-r,--rotate=FLTβ Rotate by the given angle in degrees.-s,--scale=FLT[,FLT]β Scale along the given axis(es).-t,--translate=FLT[,FLT]β Translate along the given axis(es).
π§ Operating modes:
-?,--helpβ give this help list--checkconfigβ List all config files and variables read.--citeβ BibTeX citation for this program.--config=STRβ Read configuration file STR immediately.--config-prefix=STRβ Custom prefix of option names config files.--lastconfigβ Do not parse any more configuration files.--logβ Information about output(s) in a log file.--minmapsize=INTβ Min. bytes to avoid RAM automatically.-N,--numthreads=INTβ Number of CPU threads to use.--onlyversion=STRβ Only run if the program version is STR.-P,--printparamsβ Print parameter values to be used and abort.--quietmmapβ Don't print mmap'd file's name and size.-q,--quietβ Only report errors, remain quiet about steps.-S,--setdirconfβ Set default values for this directory and abort.--usageβ give a short usage message-U,--setusrconfβ Set default values for this user and abort.-V,--versionβ print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. like, the vibes transfer, iykyk. π
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
π REPORTING BUGS π
Found a bug? Not her fault but she wants to know π Report bugs to bug-gnuastro@gnu.org.
π COPYRIGHT π
Copyright Β© 2015-2025 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. β¨
okay that's the whole page bestie, go warp something gorgeous π GNU Astronomy Utilities 0.24, November 2025 β mwah, slay, periodt πππ¦
π¦ where this page comes from
- epel 10: gnuastro 0.24-1.el10_3 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- epel 9: gnuastro 0.24-1.el9 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- nixos 26.05: gnuastro 0.24
- nixpkgs unstable: gnuastro 0.24
- ubuntu resolute: gnuastro 0.24-1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuastro 0.24-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms