Stereo Projection Schmid Factor Extraction Code (.m file) (Minimum usage example)
In order to use any of the code provided here, you will need the MTEX toolbox.