This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| To generate 'num' points on a sphere of radius 'r' centred on the origin | |
| - Random placement involves randomly chosen points for 'z' and 'phi' | |
| - Regular placement involves chosing points such that there one point per d_area | |
| References: | |
| Deserno, 2004, How to generate equidistributed points on the surface of a sphere | |
| http://www.cmu.edu/biolphys/deserno/pdf/sphere_equi.pdf | |
| """ |