i2f(1)
π« i2f β write FITS files from IRAF image files π«
okay bestie, so you've got a manual page here from the General Commands Manual crew, and it's about a lil tool called i2f. she's part of the WCSTools family, she's an icon, she converts stuff, and honestly? she's about to make your IRAF images glow all the way up into FITS format. let's get into it π«Ά
πΈ NAME πΈ
i2f β write FITS files from IRAF image files
no cap, that's literally it. the whole job. IRAF image goes in, FITS image comes out. manifesting β¨
π SYNOPSIS π
i2f [options] file.imh ...
so you call her with your options, then one or more .imh files, and she handles the rest. the ... at the end is not a typo, bestie, she takes as many files as you want. greedy in the best way π
π¦ DESCRIPTION π¦
i2f is a utility for converting IRAF images to FITS images. that's the whole vibe. that's her purpose. she's booked and busy doing exactly one thing and doing it flawlessly π
now listen, if what you actually want is to change the number of bits per pixel, that is not her department β go use imrot for that. i2f does not do that. do not ask her. she will not. π
here's the tea on what she sets for you: the BITPIX, NAXIS, NAXIS1, NAXIS2, OBJECT, and PIXFILE keywords all get set from the binary portion of the header. so like, she's pulling from the real header data, not vibing off guesses. π
and then there's IMHFILE and PIXFILE, which get set from the actual filenames β that's for internal purposes, iykyk. π§
β¨ OPTIONS β¨
one bullet per flag, every single one, let's go:
-ddirectory β moves the.imhfile to this directory ποΈ-iβ deletes unnecessary IRAF keywords π§Ή-ofilename β output name, for when you've only got one file to handle βοΈ-sβ writes the output to standard output instead of a file π€-vβ verbose listing of processing intermediate results, aka she narrates the whole journey π£οΈ-xβ deletes the IRAF image file after successfully writing the FITS file β οΈ
ok real talk on -x: that flag deletes your IRAF image file once the FITS file has been written successfully. "successfully" is doing a lot of heavy lifting in that sentence, so be sure you actually want that before you type it. protect your files, bestie π
π AUTHOR π
Jessica Mink, SAO (jmink@cfa.harvard.edu) β the queen who made all of this happen π
and that's the whole page, fr fr. this one came out of WCSTools, dated 6 July 2001 β yeah she's vintage but she ate and left no crumbs. go convert something iconic, bestie π β¨πΈ
π¦ 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
- epel 9: wcstools 3.9.7-2.el9 Β· GPLv2+
- fedora 43: wcstools 3.9.7-12.fc43 Β· GPL-2.0-or-later
- fedora 44: wcstools 3.9.7-13.fc44 Β· GPL-2.0-or-later
- 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