In file No file:

int rand_filter (randBlock *rb, int type, int order, double f1, double f2)

Sets the filter coefficients for a random number generator

Documentation

Sets the filter coefficients for a random number generator. Currently supported filter types/orders:
    type order      Description
     0    -         no filter
     1    2,4,6,8   Butterworth bandpass, lowpass, highpass
    
Corner frequencies are specified in units of the sampling frequency, i.e., values are between 0 and 0.5. Filters are selected as follows:
    0 < f1 < f2 < 0.45           bandpass
    f1 = 0 && 0 < f2 < 0.45      lowpass
    0 < f1 < 0.45 && f2 >= 0.45  highpass
    

Returns:
0 if successful, <0 otherwise.
Parameters:
rb - pointer to random block
m - mean of normal distribution
s - standrad deviation of normal distribution
f1 - lower frequency corner of band-pass
f2 - upper frequency corner of band-pass
Author:
DS, Sep. 2000

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++