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
SDDS Question
Moderators: cyao, michael_borland
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: SDDS Question
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
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