Visualizing in Orientation Space (-V)#

Note

This tutorial presents the ori value of option -space and options -orimode and -orisym of the Visualization Module (-V). Read first: Visualizing a Tessellation (-V) and Plotting a Pole Figure (-V).

To reproduce exactly the images below, add the following line to your $HOME/.neperrc file (or to a local configuration file to be loaded with --rcfile):

neper -V -imagesize 500:500

Orientations can be visualized directly in orientation space using the Visualization Module (-V), by switching to orientation space, using -space ori. The orientations are represented in the fundamental region of Rodrigues space, for the crystal symmetry of the input. As for pole figures, orientation-space visualization works in the same way as visualization in standard, real space, and a cell orientation is denoted cell, so that options such as -showcell and -datacellcol can be used.

A tessellation with typical rolling orientations is used in the following: n200-psc.tess.

Generating a Symbol Plot#

The orientations can be visualized as follows:

$ neper -V n200-psc.tess -space ori -print img1
../../_images/img117.png

This generates a PNG image named img1.png. By default, each orientation is represented using a symbol, which is colored from the cell id.

Generating a Density Plot#

The distribution of the orientations can be represented as a density field using -orimode density. The scale can be specified using -datacellscale:

$ neper -V n200-psc.tess -space ori -orimode density -datacellscale 0:1:2:3:4:5:6:7:8 -print img2
../../_images/img215.png

The density is expressed in multiples of a random distribution (MRD). By default, it is shown on the surface of the fundamental region (left) and on orthogonal slices (right), and the scale bar is included in the image. The layout can be changed using -orilayout, which can be set to surface or slices.

To focus on the regions of high density, the start of the color map can be faded to white using the fade modifier of -datacellcolscheme (see Color Maps for Real Values). The fading threshold is relative to the color scale, so that, for a scale ranging from 0 to 8, everything below 1 is faded using a threshold of \(1/8=0.125\):

$ neper -V n200-psc.tess -space ori -orimode density -datacellscale 0:1:2:3:4:5:6:7:8 -datacellcolscheme "viridis:fade(0.125)" -print img3
../../_images/img314.png

Enforcing Sample Symmetry#

Orthotropic sample symmetry, as expected for rolling, can be enforced using -orisym orthotropic. Each orientation is then represented together with its 3 images by the rotations of 180 degrees about the sample axes, which have the same color as the orientation:

$ neper -V n200-psc.tess -space ori -orisym orthotropic -print img4
../../_images/img410.png

The symmetry also applies to density plots:

$ neper -V n200-psc.tess -space ori -orimode density -datacellscale 0:1:2:3:4:5:6:7:8 -datacellcolscheme "viridis:fade(0.125)" -orisym orthotropic -print img5
../../_images/img510.png

Note

Option -orisym is the equivalent of -pfsym for pole figures (see Plotting a Pole Figure (-V)).