lamp_mac/ATOMS/
conv_ins.pro
top conv_ins
result = conv_ins(w_in, pc, cutoff, intrange)
******* ******** ** User callable ** function to convolute calculated SQW's with ** energy transfer dependent resolution function ** ------------------------------------------------------ ** convolute with normalised Gaussian resolution function ** of variable width, FWHM=w.sqrt(2ln2) ** y=(1/w.sqrt(pi/2))exp(-2(x-x0)^2/w^2) ** output spectrum in wavenumbers ** ------------------------------------------------------ ** call is w2=conv_ins(w1,0.05, 1.5, 3.0) ** w1 is workspace to be convoluted ** 0.05 is width of Gaussian resolution, a % of energy transfer ** 1.5 is a cutoff to prevent divergence at small E ** intrange is to integrate over the whole Gaussian
Parameters
- w_in
- pc
- cutoff
- intrange
File attributes
Modification date: | Tue Oct 1 14:45:53 2013 |
Lines: | 76 |