$Id: Readme.txt 2009 2015-03-31 14:17:43Z lendl $

This directory contains various files that demonstrate test cases in the 
area of "resampling" a time series.


Test 001 -- "Large" sine centered around zero
---------------------------------------------

  The input signal is a simulated, semisynthetic recording of a perfect sine.
  The (individual) times at which samples are "recorded" were taken from an 
  existing Cube data file. However, the amplitude of each sample was calculated 
  synthetically.  

  001-input.txt .. A sine function with:   frequency     =  0.5 Hz, 
                                           amplitude     = 5000 counts
                                           y-axis offset =    0 counts
                      
  001-sinc.txt ... The resampled input file using the 'sinc' algorithm (N=25).
  
                   Note: The output file also contains the leading and 
                         trailing transient samples that are computed while 
                         the filter window does not completely cover the 
                         input time series.


Test 002 -- "Small" sine centered around a large amplitude
----------------------------------------------------------
  
  Like 'Test 001', the input signal is a simulated, semisynthetic recording 
  of a perfect sine. The (individual) times at which samples are "recorded" 
  were taken from an existing Cube data file. Also, the amplitude of each 
  sample was calculated synthetically again.
  
  However, this time the amplitude of the sine was chosen to be relatively 
  small and a large offset was added to the "recorded" values. The reason for 
  this is that relatively small amplitude errors introduced during resampling
  become visible. 
  
  Note: This is the test case that triggered a complete rewrite of the 
        'TimeMoment' and 'TimeSpan' classes introducing nanosecond accuracy 
        to the GIPPtools utility collection.
    
    
  002-input.txt .. A sine function with:   frequency     =   0.5 Hz, 
                                           amplitude     =    50 counts
                                           y-axis offset = 62600 counts
                      
  002-sinc.txt ... The resampled input file using the 'sinc' algorithm (N=25).
  
                   Note: The output file also contains the leading and 
                         trailing transient samples that are computed while 
                         the filter window does not completely cover the 
                         input time series.
  
  
        