Page 1 of 1

Colum munipulate with sdds2stream/sddsprintout

Posted: 05 Nov 2024, 01:40
by weijie
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.

Re: Colum munipulate with sdds2stream/sddsprintout

Posted: 12 Nov 2024, 17:09
by michael_borland
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

Re: Colum munipulate with sdds2stream/sddsprintout

Posted: 13 Nov 2024, 06:56
by weijie
Cheers!
Thank you for your help.