Colum munipulate with sdds2stream/sddsprintout

Moderators: cyao, michael_borland

Post Reply
weijie
Posts: 13
Joined: 20 May 2020, 11:46

Colum munipulate with sdds2stream/sddsprintout

Post by weijie » 05 Nov 2024, 01:40

Hi Micheal:

I tried to use sdds2stream/sddsprintout to get the data of a branch of watch files named 'run-*.w1'. I want to know how I can get the selected column Sdelta, for example, into one file. Should I use sddscombine or another command? Thank you for your help.

michael_borland
Posts: 2006
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Colum munipulate with sdds2stream/sddsprintout

Post by michael_borland » 12 Nov 2024, 17:09

Assuming your SDDS file is data.sdds, you could use

Code: Select all

sdds2stream -column=Sdelta data.sdds > data.txt
to put Sdelta only into a text file.

There's also sdds2spreadsheet, which will make an EXCEL file or other spreadsheet-friendly file.

If you are reading the data into MATLAB or python, we have extensions for doing that directly. See the software distribution page.

--Michael

weijie
Posts: 13
Joined: 20 May 2020, 11:46

Re: Colum munipulate with sdds2stream/sddsprintout

Post by weijie » 13 Nov 2024, 06:56

Cheers!
Thank you for your help.

Post Reply