FITS

Last updated
FITS
Filename extension .fits, .fit, .fts
Internet media type
image/fits
application/fits [1]
Developed byIAU FITS Working Group [2]
Initial release1981;43 years ago (1981)
Latest release
4.0
July 2016;7 years ago (2016-07)
Type of format image format, structured data
Website fits.gsfc.nasa.gov

Flexible Image Transport System (FITS) is an open standard defining a digital file format useful for storage, transmission and processing of data: formatted as multi-dimensional arrays (for example a 2D image), or tables. [3] FITS is the most commonly used digital file format in astronomy. The FITS standard was designed specifically for astronomical data, and includes provisions such as describing photometric and spatial calibration information, together with image origin metadata.

Contents

The FITS format was first standardized in 1981; [4] it has evolved gradually since then, and the most recent version (4.0) was standardized in 2016. FITS was designed with an eye towards long-term archival storage, and the maxim once FITS, always FITS represents the requirement that developments to the format must be backward compatible.

Image metadata is stored in a human-readable ASCII header. The information in this header is designed to calculate the byte offset of some information in the subsequent data unit to support direct access to the data cells. Each FITS file consists of one or more headers containing ASCII card images (80 character fixed-length strings) that carry keyword/value pairs, interleaved between data blocks. The keyword/value pairs provide information such as size, origin, coordinates, binary data format, free-form comments, history of the data, and anything else the creator desires: while many keywords are reserved for FITS use, the standard allows arbitrary use of the rest of the name-space.

FITS is also often used to store non-image data, such as spectra, photon lists, data cubes, or structured data such as multi-table databases. A FITS file may contain several extensions, and each of these may contain a data object. For example, it is possible to store x-ray and infrared exposures in the same file.

Composition

The earliest and still most commonly used type of FITS data is an image header/data block.[ citation needed ] The term 'image' is somewhat loosely applied, as the format supports data arrays of arbitrary dimension—normal image data are usually 2-D or 3-D, with the third dimension representing for example time or the color plane. The data themselves may be in one of several integer and floating-point formats, specified in the header.

FITS image headers can contain information about one or more scientific coordinate systems that are overlaid on the image itself. Images contain an implicit Cartesian coordinate system that describes the location of each pixel in the image, but scientific uses usually require working in 'world' coordinates, for example the celestial coordinate system. As FITS has been generalized from its original form, the world coordinate system (WCS) specifications have become more and more sophisticated: early FITS images allowed a simple scaling factor to represent the size of the pixels; but recent versions of the standard permit multiple nonlinear coordinate systems, representing arbitrary distortions of the image. The WCS standard includes many different spherical projections, including, for example, the HEALPix spherical projection widely used in observing the cosmic microwave background radiation. [5]

FITS also supports tabular data with named columns and multidimensional rows. Both binary and ASCII table formats have been specified. The data in each column of the table can be in a different format from the others. Together with the ability to string multiple header/data blocks together, this allows FITS files to represent entire relational databases.

Adoption

SAOImage DS9 in FVWM2 SAOImage-DS9.png
SAOImage DS9 in FVWM2

FITS support is available in a variety of programming languages that are used for scientific work, including C, [6] C++, C#, Fortran, [6] IGOR Pro, IDL, Java, Julia, [7] LabVIEW, Mathematica, MATLAB, Perl, Perl Data Language (PDL), Python, R, and Tcl. The FITS Support Office at NASA/GSFC maintains a list of libraries and platforms that currently support FITS. [8]

Image processing programs such as ImageJ, GIMP, Photoshop, Chasys Draw IES, XnView and IrfanView can generally read simple FITS images, but frequently cannot interpret more complex tables and databases. Scientific teams frequently write their own code to interact with their FITS data, using the tools available in their language of choice. The FITS Liberator software is used by imaging scientists at the European Space Agency, the European Southern Observatory and NASA. [9] The SAOImage DS9 Astronomical Data Visualization Application [10] is available for many OSs, and handles images and headers. [11]

Many scientific computing environments make use of the coordinate system data in the FITS header to display, compare, rectify, or otherwise manipulate FITS images. Examples are the coordinate transform library included with PDL, the PLOT MAP library in the Solarsoft solar-physics-related software tree, the Starlink Project AST library in C, and the PyFITS package in Python, now merged into the Astropy library. [12]

Current status

The FITS standard version 4.0 was officially approved by the IAU FITS Working Group in July 2016. [13] [14]

Release history
FITS versionSupport levelRelease dateNotes
4.0Current standardJuly 2016 [15] Final 'language-edited' version formally approved on 13 August 2018 [16]
3.0Old standard; still supportedJuly 2008 [15] -
2.1bOld standard; still supportedDecember 2005 [15] Added support for 64-bit integer primary arrays and image extensions
NOST 100-2.0Old standard; still supportedMarch 1999 [15] -
NOST 100-1.0Old standard; still supportedJune 1993 [15] -

See also

Related Research Articles

Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email messages to support text in character sets other than ASCII, as well as attachments of audio, video, images, and application programs. Message bodies may consist of multiple parts, and header information may be specified in non-ASCII character sets. Email messages with MIME formatting are typically transmitted with standard protocols, such as the Simple Mail Transfer Protocol (SMTP), the Post Office Protocol (POP), and the Internet Message Access Protocol (IMAP).

<span class="mw-page-title-main">PDF</span> Portable Document Format, a digital file format

Portable Document Format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems. Based on the PostScript language, each PDF file encapsulates a complete description of a fixed-layout flat document, including the text, fonts, vector graphics, raster images and other information needed to display it. PDF has its roots in "The Camelot Project" initiated by Adobe co-founder John Warnock in 1991. PDF was standardized as ISO 32000 in 2008. The last edition as ISO 32000-2:2020 was published in December 2020.

<span class="mw-page-title-main">Exif</span> Metadata standard in digital images

Exchangeable image file format is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras, scanners and other systems handling image and sound files recorded by digital cameras. The specification uses the following existing encoding formats with the addition of specific metadata tags: JPEG lossy coding for compressed image files, TIFF Rev. 6.0 for uncompressed image files, and RIFF WAV for audio files. It does not support JPEG 2000 or GIF encoded images.

<span class="mw-page-title-main">Comma-separated values</span> File format used to store data

Comma-separated values (CSV) is a text file format that uses commas to separate values, and newlines to separate records. A CSV file stores tabular data in plain text, where each line of the file typically represents one data record. Each record consists of the same number of fields, and these are separated by commas in the CSV file. If the field delimiter itself may appear within a field, fields can be surrounded with quotation marks.

IDL, short for Interactive Data Language, is a programming language used for data analysis. It is popular in particular areas of science, such as astronomy, atmospheric physics and medical imaging. IDL shares a common syntax with PV-Wave and originated from the same codebase, though the languages have subsequently diverged in detail. There are also free or costless implementations, such as GNU Data Language (GDL) and Fawlty Language (FL).

<span class="mw-page-title-main">Hierarchical Data Format</span> Set of file formats

Hierarchical Data Format (HDF) is a set of file formats designed to store and organize large amounts of data. Originally developed at the U.S. National Center for Supercomputing Applications, it is supported by The HDF Group, a non-profit corporation whose mission is to ensure continued development of HDF5 technologies and the continued accessibility of data stored in HDF.

Common Data Format (CDF) is a library and toolkit that was developed by the National Space Science Data Center (NSSDC) at NASA started in 1985. The software is an interface for the storage and manipulation of multi-dimensional data sets.

<span class="mw-page-title-main">Binary file</span> Non-human-readable computer file encoded in binary form

A binary file is a computer file that is not a text file. The term "binary file" is often used as a term meaning "non-text file". Many binary file formats contain parts that can be interpreted as text; for example, some computer document files containing formatted text, such as older Microsoft Word document files, contain the text of the document but also contain formatting information in binary form.

Netpbm is an open-source package of graphics programs and a programming library. It is used mainly in the Unix world, where one can find it included in all major open-source operating system distributions, but also works on Microsoft Windows, macOS, and other operating systems.

A container format or metafile is a file format that allows multiple data streams to be embedded into a single file, usually along with metadata for identifying and further detailing those streams. Notable examples of container formats include archive files and formats used for multimedia playback. Among the earliest cross-platform container formats were Distinguished Encoding Rules and the 1985 Interchange File Format.

<span class="mw-page-title-main">STL (file format)</span> File format for stereolithography applications

STL is a file format native to the stereolithography CAD software created by 3D Systems. Chuck Hull, the inventor of stereolithography and 3D Systems’ founder, reports that the file extension is an abbreviation for stereolithography.

<span class="mw-page-title-main">Shapefile</span> Geospatial vector data format

The shapefile format is a geospatial vector data format for geographic information system (GIS) software. It is developed and regulated by Esri as a mostly open specification for data interoperability among Esri and other GIS software products. The shapefile format can spatially describe vector features: points, lines, and polygons, representing, for example, water wells, rivers, and lakes. Each item usually has attributes that describe it, such as name or temperature.

Data Interchange Format (.dif) is a text file format used to import/export single spreadsheets between spreadsheet programs.

<span class="mw-page-title-main">FITS Liberator</span> Software program

The ESA/ESO/NASA FITS Liberator is a free software program for processing and editing astronomical data in the FITS format to reproduce images of the universe. Version 3 and later are standalone programs; earlier versions were plugins for Adobe Photoshop. FITS Liberator is free software released under the BSD-3 license. The engine behind the FITS Liberator is NASA's CFITSIO library.

PLY is a computer file format known as the Polygon File Format or the Stanford Triangle Format. It was principally designed to store three-dimensional data from 3D scanners. The data storage format supports a relatively simple description of a single object as a list of nominally flat polygons. A variety of properties can be stored, including color and transparency, surface normals, texture coordinates and data confidence values. The format permits one to have different properties for the front and back of a polygon.

<span class="mw-page-title-main">EAS3</span>

EAS3 is a software toolkit for reading and writing structured binary data with geometry information and for postprocessing of these data. It is meant to exchange floating-point data according to IEEE standard between different computers, to modify them or to convert them into other file formats. It can be used for all kinds of structured data sets. It is mainly used in the field of direct numerical simulations.

A file format is a standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free.

NetCDF is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data. The project homepage is hosted by the Unidata program at the University Corporation for Atmospheric Research (UCAR). They are also the chief source of netCDF software, standards development, updates, etc. The format is an open standard. NetCDF Classic and 64-bit Offset Format are an international standard of the Open Geospatial Consortium.

<span class="mw-page-title-main">Astropy</span> Python language software

Astropy is a collection of software packages written in the Python programming language and designed for use in astronomy. The software is a single, free, core package for astronomical utilities due to the increasingly widespread usage of Python by astronomers, and to foster interoperability between various extant Python astronomy packages. Astropy is included in several large Python distributions; it is part of package managers for Linux and macOS, the Anaconda Python Distribution, Enthought Canopy and Ureka.

<span class="mw-page-title-main">Advanced Scientific Data Format</span>

Advanced Scientific Data Format (ASDF) is a proposed replacement to the FITS standard for astronomical images and other scientific data. The metadata is contained in a YAML header followed by binary or ASCII data.

References

  1. MIME Sub-type Registrations for Flexible Image Transport System (FITS), rfc4047.txt
  2. "IAU FITS Working Group". NASA.
  3. "Flexible Image Transport System: a new standard file format for long-term preservation projects?" (PDF). Vatican City. 2012-07-05. Archived from the original (PDF) on 2013-05-30. Retrieved 2013-03-06.
  4. Wells, D. C.; Greisen, E. W.; Harten, R. H. (June 1981). "FITS: A Flexible Image Transport System". Astronomy and Astrophysics Supplement Series. 44: 363–370. Bibcode:1981A&AS...44..363W.
  5. Greisen, E. W.; Calabretta, M. R. (December 2002). "Representations of world coordinates in FITS". Astronomy and Astrophysics. 395 (3): 1061–1075. arXiv: astro-ph/0207407 . Bibcode:2002A&A...395.1061G. doi:10.1051/0004-6361:20021326. S2CID   3248582.
  6. 1 2 "HEASARC Software". NASA Goddard Space Flight Center.
  7. "FITSIO.jl". GitHub . 15 February 2022.
  8. "FITS I/O Libraries". NASA Goddard Space Flight Center . Retrieved 2011-09-29.
  9. "The ESA/ESO/NASA FITS Liberator 3". ESA.
  10. "SAOImageDS9".
  11. "SAOImage DS9: Astronomical Data Visualization Application". Harvard–Smithsonian Center for Astrophysics.
  12. "PyFITS". Space Telescope Science Institute. Archived from the original on 2015-07-26. Retrieved 2013-11-04.
  13. FITS Working Group (2016-07-22). "Definition of the Flexible Image Transport System (FITS)" (PDF). Retrieved 2018-03-05.
  14. "Recent FITS Activities and Issues". 2016-07-22. Retrieved 2018-03-05.
  15. 1 2 3 4 5 FITS Standard Document, FITS Documentation Page, High Energy Astrophysics Science Archive Research Center
  16. "Definition of the Flexible Image Transport System (FITS)" (PDF). NASA . 2018-08-13. Retrieved 2024-02-26.