During my research on thin films, I performed X-ray diffraction (XRD) analysis and received data in .ras
files. To analyze this data in Origin, I needed to extract the 2theta
and intensity
values. To streamline this process, I created a Jupyter notebook for easy extraction of the required data into a new Excel file.
- Upload
.ras
files directly in the notebook - Extract data starting from the 345th row
- Save the extracted data into new Excel files with columns named
2theta
andintensity
- Python 3.x
- pandas
- openpyxl
- Google Colab (for running the notebook)
- Run the notebook cells to upload your
.ras
files. - The notebook will process each file and save the results as separate Excel/.ras files.