not able to plot the files

3 views
Skip to first unread message

NIYAZ AHMAD

unread,
Dec 6, 2023, 9:02:01 PM12/6/23
to BioXTAS RAW
Hi there!
I am trying to plot the SAXS data. But I am not able to plot. The Raw 2.2.1 software is not able to read. I have tried to convert it into .csv file too. Here I am attaching the text file which I was trying to plot. 
If anyone know please do not hesitate to comment.
Best regards,
NIYAZ AHMAD.
Kapton.txt

Jesse Hopkins

unread,
Dec 6, 2023, 9:08:39 PM12/6/23
to bioxt...@googlegroups.com, 199...@pg.du.ac.in
Hi Niyaz,

The problem seems to be in the file format. If you look at the file around line 500 (see attached screenshot) you'll see that the data changes from 2 column to 3 column, and that in the 3 column format the 2nd column is all zeros. RAW defaults to expecting to see 3 columns of data, which would be q, I(q), and uncertainty in columns 1, 2 and 3 respectively. So it's only reading in the 3 column part of your file, and the intensity is all reading in as 0s, which is why when you load it in RAW it doesn't show a scattering profile.

If you fix the format of your data file (e.g. by removing the lines after line 497, or removing the 2nd column in the data after 497, or whatever the appropriate fix is) RAW should be able to read it in.

Let me know if you have questions, or if after you fix the file you still can't read it in.

All the best.

- Jesse

----
Jesse Hopkins, PhD
Deputy Director
BioCAT, Sector 18
Advanced Photon Source


--
You received this message because you are subscribed to the Google Groups "BioXTAS RAW" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bioxtas_raw...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bioxtas_raw/a3af5512-b68e-489f-a4f2-a391dc4f4258n%40googlegroups.com.
Screenshot 2023-12-06 at 9.04.46 PM.png
Reply all
Reply to author
Forward
0 new messages