telescope-0.1.0: Astronomical Observations (FITS, ASDF, WCS, etc)
Safe HaskellSafe-Inferred
LanguageGHC2021

Telescope.Fits.Types

Synopsis

Documentation

data Fits Source #

Constructors

Fits 

data PrimaryHDU Source #

Constructors

PrimaryHDU 

data ImageHDU Source #

Constructors

ImageHDU 

data DataArray Source #

Constructors

DataArray 

Instances

Instances details
Show DataArray Source # 
Instance details

Defined in Telescope.Fits.Types

data Extension Source #

Constructors

Image ImageHDU 

type Axis = Int Source #

newtype Axes a Source #

Constructors

Axes 

Fields

Instances

Instances details
Show (Axes a) Source # 
Instance details

Defined in Telescope.Fits.Types

Methods

showsPrec :: Int -> Axes a -> ShowS #

show :: Axes a -> String #

showList :: [Axes a] -> ShowS #

Eq (Axes a) Source # 
Instance details

Defined in Telescope.Fits.Types

Methods

(==) :: Axes a -> Axes a -> Bool #

(/=) :: Axes a -> Axes a -> Bool #

data Row Source #

data BitPix Source #

Instances

Instances details
Show BitPix Source # 
Instance details

Defined in Telescope.Fits.Types

Eq BitPix Source # 
Instance details

Defined in Telescope.Fits.Types

Methods

(==) :: BitPix -> BitPix -> Bool #

(/=) :: BitPix -> BitPix -> Bool #

newtype Header #

The header part of the HDU is vital carrying not only authorship metadata, but also specifying how to make sense of the binary payload that starts 2,880 bytes after the start of the HeaderData.

Constructors

Header 

Fields

Instances

Instances details
Monoid Header 
Instance details

Defined in Data.Fits

Semigroup Header 
Instance details

Defined in Data.Fits

Show Header 
Instance details

Defined in Data.Fits

Eq Header 
Instance details

Defined in Data.Fits

Methods

(==) :: Header -> Header -> Bool #

(/=) :: Header -> Header -> Bool #

getKeywords :: Header -> [KeywordRecord] #

Return all KeywordRecords from the header, filtering out full-line comments and blanks

data HeaderRecord #

Instances

Instances details
Show HeaderRecord 
Instance details

Defined in Data.Fits

Eq HeaderRecord 
Instance details

Defined in Data.Fits

data KeywordRecord #

Constructors

KeywordRecord 

Instances

Instances details
Show KeywordRecord 
Instance details

Defined in Data.Fits

Eq KeywordRecord 
Instance details

Defined in Data.Fits

data Value #

Value datatype for discriminating valid FITS KEYWORD=VALUE types in an HDU.

Instances

Instances details
Show Value 
Instance details

Defined in Data.Fits

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

Eq Value 
Instance details

Defined in Data.Fits

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

data LogicalConstant #

Direct encoding of a Bool for parsing Value

Constructors

T 
F 

Instances

Instances details
Show LogicalConstant 
Instance details

Defined in Data.Fits

Eq LogicalConstant 
Instance details

Defined in Data.Fits

hduBlockSize :: Int #

The size of an HDU block is fixed at thirty-six eighty byte words. In other words 2,880 bytes. These blocks are padded with zeros to this boundary.