k-kemna / XRD23D

Standalone scripts to combine files from XRD measurements with a given location to plot in 3D
GNU General Public License v3.0
1 stars 0 forks source link

CSV Format #1

Open Ainslie01 opened 2 years ago

Ainslie01 commented 2 years ago

xrd23d_log.txt What is the exact suggested format of the CSV headers, e.g. Angle;Intensity;X_Coord;Y_Coord;ID? Where the ID of each sample (and all the angles and intensities) are the same as the file name e.g. 2123AAF = 2123AFF.csv What 'Location' format should be used?

k-kemna commented 1 year ago

Hi Ruan,

excuse my late response.

What is the exact suggested format of the CSV headers, e.g. Angle;Intensity;X_Coord;Y_Coord;ID?

It depends how you want to process the data afterwards, therefore every headers would work here as long as the headers are consistent between the different files.

What 'Location' format should be used?

The location file would need ID;Location header, where the ID corresponds to the XRD measurement file. As you write: The location with ID = 2123AAF would then use 2123AFF.csv for the measurements

From you log file you would need something like

ID;Location
200048_KAM002;12
200048_KAM003;24

Does that help?

Best, Kilian