[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


gtimerge Source code in gtimerge.pro

gtimerge

Name
          gtimerge
Purpose
          combine and purify two gti lists
Category
          timing tools
Calling Sequence
          gti=gtimerge,gti1[,gti2]
Input Parameters
          gti1,gti2 : gti lists. Arrays containing goood time
                      intervals with gti[0,*] are the start and
                      gti[1,*] the stop times.
Optional Input Parameters

Keyword Parameters
          joint     : Return gti intervals where gti1 and gti2 are
                      defined (that is the the set AND relation in
                      contrast to the default set OR relation).
Output Parameters
          returns combined gti array with non-overlapping intervals.
Optional Output

Common Blocks
          none
Side Effects
          none
Restrictions
         This procedure is slow. Do not apply for large sets of gti.
Procedures Used
          none
Example
          gti=gtimerge(g1,g2)
Revision History
 $Log: gtimerge.pro,v $
 Revision 1.2  2004/12/27 09:04:04  goehler
 fix: allow more than 2^16-1 gti entries though this might slow down the
 processing drastically
 Revision 1.1  2004/11/24 15:54:41  goehler
 moved function from private folder to timing public folder
 Revision 1.3  2004/09/27 19:56:45  goehler
 minor fix; first tests did not show problems.
 Revision 1.2  2004/09/27 16:44:42  goehler
 untested joint option
 Revision 1.1  2004/09/27 15:25:56  goehler
 procedure to merge and purify gti intervals.

Last modified by pro2html on 2005 January 04 at 16:47 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically