blob: 9de21fedc805edee7e8b89bd88292f1aa1c8ad46 (
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
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> dataimage
</TITLE>
<p>
<!-- pnuts --> <a href="headdata.html">[Previous]</a> <a href="cardpar.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_dataread,ft_dataswap -Routines to handle FITS image data.
<A NAME="section-1.1.2"><H3>SYNOPSIS</H3></A>
<PRE>
void *ft_dataread(File file, FITSHead fits, void *dataptr, int pixtype);
void *ft_dataswap(void *data, int n, int type);
<P>
</PRE>
<A NAME="section-1.1.3"><H3>PARAMETERS</H3></A>
<UL>
<P>
<LI> <B>File file</B> - File pointer to read data from.
<LI> <B>FITSHead fits</B> - Not Documented.
<LI> <B>void *dataptr</B> - Pointer to data buffer to store data.
<LI> <B>int pixtype</B> - Pixtype to convert data to.
<LI> <B>void *data</B> - Pointer to data to swap.
<LI> <B>int n</B> - N bytes
<LI> <B>int type</B> - Swap 2 or swap 4.
</UL>
<A NAME="section-1.1.4"><H3>DESCRIPTION</H3></A>
<A NAME="section-1.1.4.1"><H4>ft_dataread</H4></A>
<P>
Read data from a file pointer and convert it to the requested type.
<A NAME="section-1.1.4.2"><H4>ft_dataswap</H4></A>
<P>
Swap n bytes of data if necessary.
<p>
<!-- pnuts --> <a href="headdata.html">[Previous]</a> <a href="cardpar.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
</BODY>
</HTML>
|