As a rule, you will find the eigenvectors of the covariance matrix of a point cloud. Aspect ratio is the ratio of the largest to the smallest number of eigenvalues.
As an example, for a bunch of random points (you would apply the same thing to your convex hull using only vertices):
import matplotlib.pyplot as plt import numpy as np

source share