Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TOFITS(1)			 User Commands			     TOFITS(1)

NAME
       tofits -	Turn a list of keyrecords to a valid FITS file

DESCRIPTION
       tofits  turns  a	 list  of FITS header keyrecords, one per line,	into a
       proper FITS header by padding them with blanks  to  80  characters  and
       stripping  out newline characters.  It also pads	the header to an inte-
       gral number of 2880- byte blocks	if necessary.

       The input byte stream is	assumed	to be ASCII-encoded.  Characters  out-
       side  the  set  of text characters allowed by FITS (ASCII 0x20 to 0x7E)
       are ignored with	the  sole  exception  that  a  byte  with  value  0xA0
       (non-breaking  space  in	all variants of	ISO/IEC	8859) is translated to
       an ordinary space (0x20).  Thus input encoded in	ISO/IEC	8859 or	 UTF-8
       should  be  interpreted	correctly, with	any illegal characters in key-
       comments	simply being ignored.

       tofits has no options and operates as a filter, reading from stdin  and
       writing to stdout, e.g.

	      tofits < infile >	outfile

       Input lines beginning with '#' are treated as comments.

tofits 8.4			 October 2024			     TOFITS(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tofits&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help