fftcall.pro - IDL data aquisition procedure for the Leuschner Dish
NOTE:  before executing fftcall, you must type "quadpulsar" in an xterm

fftcall syntax:
fftcall, filename, fsamp, nsamp, window, loops, /nlo, /noiseon


fftcall example:
fftcall, 'data/test',  5000000L,  262144L, 1024, 100

fftcall data file:

For the example above, 'data/test.tar.gz' will be saved.
The file is custom formated and must be read with dataopen.pro, see below


fftcall variables and keywords
fsamp
sampling frequency in Hz, must be a long integer type, 10MHz maximum
nsamp
number of samples = 2L^n, up to 2L^18=262144, must be a long integer type
window
The number of frequency channels to save, typically 1024
loops
The number of times that sampling will be repeated (to reduce noise)
/noiseon
Optional keyword to turn on the calibration noise diode
Default = The noise diode is off
/nlo
Low Voltage setting, use this if the voltage level on the sampler is within +/- 1 V
Default = The Voltage range is +/- 5 Volts

Efficiency of fftcall.pro =  {(loops*nsamp/fsamp)/(time_required)}*100
Efficiency of fftcall.pro
time_required (second)
fsamp (MHz)
nsamp
window
loops
81.5 %
32.2
0.1
262144
1024
10
42.5 %
12.3
0.5
262144 1024
10
30.8 %
8.5
1.0
262144 1024
10
7.8 %
6.7
5
262144 1024
10
4.1 %
6.3
10
262144
1024
10

5.0 %
5.2
5
131072
1024
10
7.8 %
6.7
5
262144
1024
10

7.1 %
7.3
5
262144 512
10
7.8 %
6.7
5
262144 1024
10
5.5 %
9.6
5
262144 2048
10

7.8 %
6.7
5
262144 1024
10
9.5 %
55.4
5
262144 1024
100


datopen.pro - IDL data reading function for data aquired by fftcall.pro

datopen() example:
power=datopen('data/test.tar.gz', /square)
Efficiency - time required for datopen.pro to process a file with (nsamp=218, window=1024, loops=100):
nyles:           6 second
aquarius:    35 second


All programs are in nyles:/home/global/ay121/leuschner/

UGAstro      UC Berkeley Astronomy      UC Berkeley