iofits(1)
๐ซ iofits โ the manual, but make it cute ๐ซ
okay bestie, so this is the iofits(1) page from the General Commands Manual โ it's the tool that does FITS data format conversion (pixel depth) โจ pull up a chair, we're doing this together ๐ซถ
๐ธ NAME ๐ธ
iofits โ FITS data format conversion (pixel depth) ๐
โจ SYNOPSIS โจ
iofits [options] <in_fits> <out_fits> <depth>
like. that's it. that's the whole summoning ritual ๐ฎ
๐ฆ DESCRIPTION ๐ฆ
iofits converts FITS files of any pixel depth to another pixel depth (bits per pixel). no cap ๐ฏ
Depth is given as in the FITS norm, and the options are:
- 8 bits per pixel, unsigned.
- 16 bits per pixel, signed
- 32 bits per pixel, signed
- -32 IEEE floating point
- -64 IEEE double precision floating point
that's the whole menu, queen ๐
๐ OPTIONS ๐
-vโ Verbose mode. she talks more. that's it, that's the flag ๐-Mmegs โ Memory handling. To avoid saturate memory for huge cubes, this parameter specifies the maximum amount of memory to use before swapping data to disk. The amount is given in Megabytes. (1Meg = 1,048,576 Bytes) The process time is then considerably slowed down. Default value is 50 megs.
not the1Meg = 1,048,576 Bytesbeing a very specific number ๐ญ it's giving "yes we mean mebibytes, we just refuse to say it". and yeah, when-Mkicks in and data starts swapping to disk, the process time is then considerably slowed down โ so maybe don't set it to something unhinged unless you're built different ๐
๐ง FILES ๐ง
Input/output files shall all comply with FITS format. ๐ฉท
The original FITS header of the input FITS file is conserved along, except for the following keywords: NAXIS, NAXISn, BITPIX, BSCALE, BZERO, which are related to the newly created file. those five get rewritten because they're literally about the new file's shape and scaling, iykyk ๐
HISTORY keywords are appended to the FITS header to indicate the eclipse process modifications, together with the command line which was used to generate the file. so the file keeps receipts of exactly what you did to it ๐ periodt.
โญ SEE ALSO โญ
average, filt, deadpix โ your little FITS friend group ๐ go say hi.
๐ BUGS ๐
In general, decreasing the resolution in number of bits per pixel almost always means loss of precision. No rescaling is done on the data, use this command with care!
bestie. hear me. no rescaling is done on the data. so if you're squishing 32-bit down to 8-bit, all that detail is just gone and nobody's gonna smooth it over for you. this is not a drill, it's a warning label ๐จ handle with care or cry later ๐ญ
this page was born on 25 Feb 1997 (yes, a whole legend, older than most of the apps on your phone ๐) and it lives in section iofits(1). mwah, go convert responsibly ๐
โจ๐ฆ
๐ฆ where this page comes from
- debian bookworm: qfits-tools 6.2.0-8+b2
- debian trixie: qfits-tools 6.2.0-9+b1
- ubuntu jammy: qfits-tools 6.2.0-8ubuntu2
- ubuntu noble: qfits-tools 6.2.0-9ubuntu1
- ubuntu questing: qfits-tools 6.2.0-9ubuntu1
- ubuntu resolute: qfits-tools 6.2.0-9ubuntu2
- ubuntu stonking: qfits-tools 6.2.0-9ubuntu2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms