File: fitsimage.html

package info (click to toggle)
funtools 1.4.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,004 kB
  • sloc: ansic: 89,502; sh: 10,714; lex: 4,613; asm: 3,281; ada: 1,681; makefile: 1,468; pascal: 1,089; cpp: 1,001; cs: 879; perl: 161; python: 119; yacc: 64; sed: 38; csh: 10; tcl: 9
file content (72 lines) | stat: -rw-r--r-- 2,068 bytes parent folder | download | duplicates (10)
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
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> fitsimage
</TITLE>
<p>
<!-- pnuts --> <a href="fitsy.html">[Previous]</a> <a href="headinit.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_simpleimageread,ft_simpleimagewrite,ft_imageread,ft_imagewrite -Fitsy FITS
 routines to read and write FITS images.

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

 

<PRE>
int ft_simpleimageread(char *filename, FITSHead *headptr, void **dataptr, void ***data2dptr, int pixtype);
int ft_simpleimagewrite(char *filename, FITSHead fits, float *data, int pixtype);
int ft_imageread(File file, FITSHead *headptr, void **dataptr, void ***data2dptr, int pixtype);
int ft_imagewrite(File file, FITSHead fits, float *data, int pixtype);


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

<UL>
<P>
  <LI> <B>char *filename</B> - FITS image file name.
  <LI> <B>FITSHead *headptr</B> - Returned pointer to FITS header
  <LI> <B>void **dataptr</B> - Returned pointer to FITS data.
  <LI> <B>void ***data2dptr</B> - Returned edge vector to data.
  <LI> <B>int pixtype</B> - pixtype to convert data to.
  <LI> <B>FITSHead fits</B> - FITS header to write.
  <LI> <B>float *data</B> - Data to write into FITS file.
  <LI> <B>File file</B> - File pointer to read header and data from.

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


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

<P>
 Read a FITS image from the named file.

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

<P>
 Write a FITS image to a named file.

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

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

<A NAME="section-1.1.4.4"><H4>ft_imagewrite</H4></A>

<P>
 Write a FITS image to a file.

<p>
<!-- pnuts --> <a href="fitsy.html">[Previous]</a> <a href="headinit.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
</BODY>
</HTML>