Page 1 of 1

SDDS Question

Posted: 22 Aug 2012, 07:40
by tennant
Hi,

I have two particle distributions in the form of SDDS files, say A.sdds and B.sdds. I'd like to create an entirely new distribution by combining the transverse coordinates of A.sdds (x,x',y,y') and the longitudinal coordinates of B.sdds (t,p). Is there a straightforward way to do that. I was unable to use sddsxref or sddscombine to achieve this.

Thanks in advance for the help,
chris

Re: SDDS Question

Posted: 29 Aug 2012, 07:54
by michael_borland
Chris,

Here's how you can do this:

sddsconvert A.sdds -pipe=out -delete=col,t,p | sddsxref -pipe=in B.sdds new.sdds -take=t,p

--Michael