[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


DELTAT Source code in tripp_deltat.pro

DELTAT

Name
                      DELTAT
Purpose
                      function which returns the expected time resolution of a
                      periodogram or similar for a given period as
                      derived from the total length of the
                      observation ("timebase")
Category
                      helpers: estimate for fourier transform
Calling Sequence
                      result = deltat( period_of_interest, total_timebase [,/rel] )
Input Parameters
                      p (period_of_interest): period at which time
                                              resolution of
                                              periodogram is to be
                                              evaluated
                      t (total_timebase):     total length of run
                                              ("timebase")
Optional Input Parameters

Keyword Parameters
                      rel: if set, return relative resolution instead
                           of absolute one
Output Parameters
                      time resolution if periodogram is given over
                      period instead of over frequency (which would
                      be the more natural way)
                      beware that this is NOT the time resolution of
                      the original lightcurve, i.e. the sampling
                      rate (which would give us something like the
                      shortest measurable period), but rather a
                      measure of how exactly you can determine a
                      given period!
Optional Output
                      relative value instead of absolute one if requested
Common Blocks
                      none
Side Effects
                      none that I can think of
Restrictions
                      none that I can think of
Procedure
                      determine frequency resolution from timebase:
                         deltanu = 1/t
                      first point:
                         p = 1 / (1/p) = p
                      second point (separated by what corresponds to
                      deltanu):
                         p-deltat = 1 / (1/p + deltanu)
                                  = 1 / (1/p + 1/t)
                                  = p*t / (t + p)
                      then separation is given by
                           deltat = p - (p-deltat)
                                  = p - p*t / (t + p)
                                  = p * (1-t/(t+p))
Example
                      t=findgen(864000)
                      plot,t/86400.,deltat(12116,t)
           shows how delta t for a period of 12116 sec gets smaller
           the more days the observations has (from 1 to ten days)
           similarly,
                      plot,t/86400.,deltat(12116,t,/rel)
           shows how the relative error decreases (to below 3% after ten days)
Revision History
                      Version 1.0 2001/07/25 Sonja L. Schuh

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

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

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