load pole figure data from (theta,rho,intensity) files
Description
loadPoleFigure_generic is a generic function that reads any txt files of diffraction intensities that are of the following format
theta_1 rho_1 intensity_1 theta_2 rho_2 intensity_2 theta_3 rho_3 intensity_3 . . . . . . . . . theta_M rho_M intensity_M
The actual order of the columns in the file can be specified by the options ColumnNames
and Columns
. Furthermore, the files can be contain any number of header lines to be ignored using the option HEADER
.
Syntax
Input
fname | file name (text files only) |
Options
ColumnNames | content of the columns to be imported |
Columns | positions of the columns to be imported |
RADIANS | treat input in radians |
DELIMITER | delimiter between numbers |
HEADER | number of header lines |