summaryrefslogtreecommitdiffstats
path: root/fitsy/doc/cardins.html
diff options
context:
space:
mode:
Diffstat (limited to 'fitsy/doc/cardins.html')
-rw-r--r--fitsy/doc/cardins.html99
1 files changed, 99 insertions, 0 deletions
diff --git a/fitsy/doc/cardins.html b/fitsy/doc/cardins.html
new file mode 100644
index 0000000..26c9acc
--- /dev/null
+++ b/fitsy/doc/cardins.html
@@ -0,0 +1,99 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE> cardins
+</TITLE>
+<p>
+<!-- pnuts --> <a href="cardfind.html">[Previous]</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_cardins,ft_cardapp,ft_carddel -Fitsy FITS card insert and delete routines.
+
+<A NAME="section-1.1.2"><H3>SYNOPSIS</H3></A>
+
+
+
+<PRE>
+FITSCard ft_cardins(FITSHead fits, FITSCard card, FITSCard here);
+FITSCard ft_cardapp(FITSHead fits, FITSCard card);
+FITSCard ft_carddel(FITSHead fits, FITSCard card);
+
+
+<P>
+</PRE>
+<A NAME="section-1.1.3"><H3>PARAMETERS</H3></A>
+
+<UL>
+<P>
+ <LI> <B>FITSHead fits</B> - FITS header.
+ <LI> <B>FITSCard card</B> - FITS card to insert, append or
+ delete.
+ <LI> <B>FITSCard here</B> - Insert <B>card</B> after <B>here</B>
+
+</UL>
+<A NAME="section-1.1.4"><H3>DESCRIPTION</H3></A>
+
+
+<A NAME="section-1.1.4.1"><H4>ft_cardins</H4></A>
+
+<P>
+ Insert a <B>card</B> into a FITS header after <B>here.</B>
+
+<P>
+ If <B>here</B> is NULL <B>card</B> is inserted before the END card.
+
+<P>
+ Returns <B>card</B>;
+
+<A NAME="section-1.1.4.2"><H4>ft_cardapp</H4></A>
+
+<P>
+ Append a card to the end of the FITS header.
+
+<P>
+ Retuns <B>card.</B>
+
+<A NAME="section-1.1.4.3"><H4>ft_carddel</H4></A>
+
+<P>
+ Delete a card from a FITS header.
+
+<P>
+ Returns <B>card</B> which now points the the card after
+ the one deleted
+
+<A NAME="section-1.1.5"><H3>EXAMPLES</H3></A>
+
+
+<PRE>
+ FITSCard here;
+ FITSBuff card;
+
+ <B>ft_cardkey</B>(&amp;card, "Keyword", 0);
+ <B>ft_cardseti</B>(&amp;card, 4, NULL);
+
+ /* Insert a new card "Keyword" after the 4th card.
+ */
+ here = <B>ft_cardins</B>(fits, &amp;card, <B>ft_cardnth</B>(4));
+
+ /* Append the same card to the header
+ */
+ card = <B>ft_cardapp</B>(fits, &amp;card);
+
+ /* Delete the first card.
+ */
+ <B>ft_carddel</B>(fits, here);
+
+<P>
+</PRE>
+
+<p>
+<!-- pnuts --> <a href="cardfind.html">[Previous]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
+</BODY>
+</HTML>