seidart.routines.fabricsynth module

class seidart.routines.fabricsynth.Fabric(params, output_filename='euler_angles.txt', plot=False)

Bases: object

Generate synthetic crystallographic fabric orientations.

Fabric builds trend, plunge, orientation, and Euler-angle populations from distribution parameters and can optionally plot the resulting fabric on a stereonet-style density projection.

projection_plot(density_sigma=3, vmin=1, a_axes=False, colorbar_location='bottom')

Create the stereonet plot. The axes and figure inputs are useful when creating subplots since replacing empty axes objects with mplstereonet axes objects is not straightforward.

Parameters:

density_sigma (float) – The bandwidth parameter for the density plot. A larger number uses a broader kernel and will smooth the data. Default is 3.

seidart.routines.fabricsynth.main()

Main function for console entry point. See help with ‘fabricsynth -h’.