structuretoolkit.analyse.neighbors.get_volume_of_n_sphere_in_p_norm

structuretoolkit.analyse.neighbors.get_volume_of_n_sphere_in_p_norm#

structuretoolkit.analyse.neighbors.get_volume_of_n_sphere_in_p_norm(n: int = 3, p: int = 2) float[source]#

Volume of an n-sphere in p-norm. For more info:

https://en.wikipedia.org/wiki/Volume_of_an_n-ball#Balls_in_Lp_norms