|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox estboxres.pro
estboxres |
Estimate the new frequency_resolution after boxcar smoothing something with a known old frequency_resolution.
This estimates the new frequency_resolution by assuming that the frequeny_resolution is the FWHM of a gaussian response function and that the ratio of the widths is equal to the inverse ratio of the heights of the response functions before and after the smoothing. Since a boxcar function isn't a Gaussian, this will be inaccurate to some degree. The initial response function may also not be Gaussian. Tests against a full convolution as well as tests involving noise from real GBT data indicate that this estimate is accurate to within a few percent.
The boxcar procedure uses this function to adjust the frequency_resolution of the data container.
; what would the new resolution be of the PDC after boxcar ; smoothing with a width of 5 channels. print, esthanres(5,!g.s[0].frequency_resolution/abs(!g.s[0].frequency_interval))
Parameters | |
width |
The width of the boxcar. |
oldres |
The frequency_resolution in channels before boxcar smoothing. |