rms calculation on a profile
Moderators: cyao, michael_borland
-
- Posts: 83
- Joined: 20 Aug 2008, 13:18
- Location: Northern Illinois University & Argonne National Laboratory
- Contact:
rms calculation on a profile
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.
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: rms calculation on a profile
Philippe,
Yes, you can do this using sddsprocess, e.g.,
--Michael
Yes, you can do this using sddsprocess, e.g.,
Code: Select all
sddsprocess ... -process=x,rms,xRms,weightBy=Intensity