summaryrefslogtreecommitdiffstats
path: root/funtools/fitsy/doc/headfile.html
blob: 32c89780c43b6206d72ac2e5a254c77f1075780a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> headfile
</TITLE>
<p>
<!-- pnuts --> <a href="headinit.html">[Previous]</a> <a href="basicval.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
<META NAME="generator" CONTENT="txt2html v1.3">
</HEAD>
<BODY>


<A NAME="section-1.1.1"><H3>NAME</H3></A>

<P>
 ft_headread,ft_headwrite,ft_headseek -Fitsy FITS read and write header routines.

<A NAME="section-1.1.2"><H3>SYNOPSIS</H3></A>

 

<PRE>
FITSHead ft_headread(File file);
int ft_headwrite(File file, FITSHead fits);
int ft_headseek(File file, FITSHead fits);


<P>
</PRE>
<A NAME="section-1.1.3"><H3>PARAMETERS</H3></A>

<UL>
<P>
  <LI> <B>File file</B> - File pointer to read or write a FITS header on.
  <LI> <B>FITSHead fits</B> - Header to write.

</UL>
<A NAME="section-1.1.4"><H3>DESCRIPTION</H3></A>


<A NAME="section-1.1.4.1"><H4>ft_headread</H4></A>

<P>
 Read a FITS header from a file pointer.

<A NAME="section-1.1.4.2"><H4>ft_headwrite</H4></A>

<P>
 Write a FITS header to a file pointer.

<A NAME="section-1.1.4.3"><H4>ft_headseek</H4></A>

<P>
 Seek back to the header part of a FITS HDU. The file handle must be the same
 one from which the FITS header was read and must be seekable.

<A NAME="section-1.1.5"><H3>RETURNS</H3></A>


<A NAME="section-1.1.5.1"><H4>ft_headread</H4></A>

<P>
 The <B>FITSHead</B> read from <B>file.</B>
<p>
<!-- pnuts --> <a href="headinit.html">[Previous]</a> <a href="basicval.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
</BODY>
</HTML>