aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-03-26Move planar angle generation into random_on_cap.Arun Isaac
* src/sambal/sambal.py (random_planar_angle_pdf): Move function into random_on_cap.
2021-03-26Remove inverse transform sampling based functions.Arun Isaac
* src/sambal/sambal.py: Do not import numpy.arcsin, numpy.ones, numpy.where, scipy.special.betainc, scipy.special.betaincinv. (planar_angle2solid_angle_fraction, solid_angle_fraction2planar_angle, random_planar_angle_cdf, random_vector_on_spherical_cap_cdf): Delete functions. (random_vector_on_spherical_cap_pdf): Remove reference to random_vector_on_spherical_cap_cdf in docstring. Rename to random_on_cap.
2021-03-26Rename random_vector_on_disk to random_on_disk.Arun Isaac
* src/sambal/sambal.py (random_vector_on_disk): Rename to random_on_disk. (random_vector_on_spherical_cap_cdf, random_vector_on_spherical_cap_pdf): Call random_on_disk instead of random_vector_on_disk.
2021-03-26Rename random_vector_on_sphere to random_on_sphere.Arun Isaac
* src/sambal/sambal.py (random_vector_on_sphere): Rename to random_on_sphere. (random_vector_on_disk): Call random_on_sphere instead of random_vector_on_sphere.
2021-03-26Rename to sambal.Arun Isaac
* README.md: Rename samball to sambal. * setup.cfg (name): Rename samball to sambal. (description): Update description. (url): Update URL. * src/samball/samball.py: Rename to src/sambal/sambal.py. Replace samball with sambal.
2021-03-25Initial commitArun Isaac