boreholeStabilityAnalysis Analyze wellbore stresses, capable to run with arbitrary well orientations. This work is based on Peska and Zoback (1995). Calculate Stress along Borehole This is calculated by boreholeStress function in borehole stress.py. The visualize output is shown below.