rms calculation on a profile
Posted: 06 Jul 2016, 16:05
I was wondering is there is a way to compute the statistic (e.g. rms) of one column (a variable) using another column as weight. For instance I generate some profiles I(x) versus x and want to compute <x^2> using sddsrunstat or similar. Right now I use sddsprocess generate the I(x)*x*x, I(x)*x, etc.. columns and then compute manually the quantity I am interested in. There is probably a better way. Thank you, -- Philippe.