widebnad rcvr with fieldfox

Last modified: Thu Mar 16 13:07:13 2023.


List of Routines


Routine Descriptions

WBFFINPSCAN - INPUT A SCAN OF FIELD FOX DATA

[Next Routine] [List of Routines]
NAME:
wbffinpscan - input a scan of  field fox data
SYNTAX: nrecs=wbffinpscan(fbase,ffAr,npnts=npnts,ntrace=ntrace)
ARGS:
fbase: string  filepat to match.includes dir. don't include the *
KEYWORDS:
 npnts:  long   number of points in spectra. def 8001
 ntrace: long   number of traces. def=1 
RETURNS:
nrecs     : 0 nofiles found
          > 0  number of records  found
DESCRIPTION
	Input  a set of wbff files that contain fbase as the prefix to their 
dir/filename

(See /pkg/rsi/local/libao/phil/wbff/wbffinpscan.pro)


WBFFONOFF - INPUT A ON,OFF POSITION SWITCH

[Previous Routine] [Next Routine] [List of Routines]
NAME:
wbffonoff - input a on,off position switch
SYNTAX: istat=wbffonoff(fbase,spcI,ffon=ffon,ffoff=ffoff,npnts=npnts,ntrace=ntrace)
ARGS:
fbase: string  filebase to match.includes dir and _ before on,or off
KEYWORDS:
 npnts:  long   number of points in spectra. def 8001
 ntrace: long   number of traces. def=1 
RETURNS:
istat     : 1 gotit
          : 0 nofiles
          :-1  some error

(See /pkg/rsi/local/libao/phil/wbff/wbffonoff.pro)


WBFFRMSMASK - COMPUTE MASK FROM RMS

[Previous Routine] [List of Routines]
NAME:
wbffrmsmask - compute mask from rms
SYNTAX: nscans=wbffrmsmas(spcArLin,nrecs,mask,rmsar=rmsar,nsig=nsig)
ARGS:
spcarLin[n]: {}   array of input spectra to use for computing rms, mask
                  should be linear
nrecs: int     number of records in a scan
KEYWORDS:
 nsig   :  float the clipping level in sigmas for bad data. def=3.
RETURNS:
nscans    :  number of scans we processed
            -1 problem. need multiple recs
mask[npnts]: 0 - ok to use
             >0  number of scans that had a bad rms in the channel
rmsAr[npnts,nscans]: computed rmsar

(See /pkg/rsi/local/libao/phil/wbff/wbffrmsmask.pro)