Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to convert XRD results in .txt format to .dat or others?

Tags:
  1. Jun 7, 2017 #1
    I had some precipitate samples analyzed for XRD and the operator sent me the results in .txt format containing the 2θ and intensity data. I want to plug the data to QualX software but apparently it cannot read data in that format. Is there any way to convert the data to compatible formats (e.g., .dat, .xy)?

    Thanks!
     
  2. jcsd
  3. Jun 7, 2017 #2

    Nidum

    User Avatar
    Science Advisor
    Gold Member

    I haven't got a specific answer to your question but on many occasions I have written short pieces of computer code to convert data from one format to another .

    If you have the two relevant data formats available it is not usually difficult to devise a conversion algorithm .
     
  4. Jun 7, 2017 #3

    russ_watters

    User Avatar

    Staff: Mentor

    Are you sure it can't? It looks to me like you can just use the "import" function and that it looks for ASCII format, which is what text files are.
     
  5. Jun 8, 2017 #4
    Sadly, I am not as skilled in programming as I would like to be. But thank you for your suggestion!
     
  6. Jun 8, 2017 #5
    Yes I have tried it already. It still can't see the .txt files in the folder I put them. By the way, I am using the QualX version 2.17.
     
  7. Jun 8, 2017 #6

    russ_watters

    User Avatar

    Staff: Mentor

    Try just changing the file extension to one it accepts.
     
  8. Jun 8, 2017 #7
    Wow. Simple as that. Thank you so much!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: How to convert XRD results in .txt format to .dat or others?
  1. XRD purchase (Replies: 3)

  2. XRD for Burnishing (Replies: 1)

Loading...