summaryrefslogtreecommitdiffstats
path: root/fitsy/doc/dataimage.wu
blob: 67edfe16b4e0216588a9c62b7d81fb0988f72327 (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
Title: dataimage


NAME
====
 ft_dataread,ft_dataswap -Routines to handle FITS image data.

SYNOPSIS
========
 

-
void *ft_dataread(File file, FITSHead fits, void *dataptr, int pixtype);
void *ft_dataswap(void *data, int n, int type);


-
PARAMETERS
==========
  * #"File file" - File pointer to read data from.
  * #"FITSHead fits" - Not Documented.
  * #"void *dataptr" - Pointer to data buffer to store data.
  * #"int pixtype" - Pixtype to convert data to.
  * #"void *data" - Pointer to data to swap.
  * #"int n" - N bytes
  * #"int type" - Swap 2 or swap 4.

DESCRIPTION
===========

 ft_dataread
 -----------
 Read data from a file pointer and convert it to the requested type.

 ft_dataswap
 -----------
 Swap n bytes of data if necessary.