Random Sampling edit page

Assume an arbitrary ODF either from texture modelling or recovered from XRD pole figure measurements a common problem is the simulation of random individual orientations that are distributed according the given ODF. This is helpful crucial in many application, e.g., for running plastic deformation models like VPSC or verifying the accuracy density estimation methods. Here we start with a trigonal alpha-fibre ODF which we define by

## Computing Random Orientations

In order to compute $$50000$$ random orientation from the ODF fibre_odf we use the command discreteSample.

From the above plot it is very hard to judge whether the orientations are indeed distributed according to the given ODF. The reason for this is the not volume preserving projection of the Bunge sections. A better ODF representation for this purpose are sigma sections

## ODF Estimation from Random Orientations

From the last plot we clearly see that the orientations are more dense close to the alpha fibre. In order more quantitative meaure for how well do the orientations approximate the ODF we may use the orientations to estimate a new ODF and compare the fit of this estimate ODF with the initial ODF.

We may now compare the original model ODF fibre_odf with the reconstructed ODF odf_rec.

## Exporting Random Orientations

In order to make use of the sampled orientations you probably want to export them as Euler angles into a text files. This can be done using the commands export and export_VPSC.