Hello all,
I have a sdds file with multiple columns.
Is there any standard way in sddsprocess to create a column with averaged values of these columns in rows?
So far I used the simplest way to add up all values and divide by the number of columns, but the problem is the number of columns may vary and I would like this to be accounted for automatically (if possible).
Thank you.
sddsprocess multiple columns averaging
Moderators: cyao, michael_borland
-
- Posts: 36
- Joined: 18 Jul 2014, 12:44
Re: sddsprocess multiple columns averaging
The question comes from the following. Initially I have a set of SDDS files with similar distributions and I would like to average these files to end up with one single "reweighed" distribution.
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sddsprocess multiple columns averaging
You can use the program sddsrowstats to perform statistics across rows. It accepts wildcards for the columns on which to operate, so it will handle varying numbers of columns provided they are matched by the same wildcard sequence.
--Michael
--Michael