aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-31Specify dependencies in pyproject.toml.HEADv0.1.0mainArun Isaac
* pyproject.toml (project): Specify numpy as a dependency. (project.optional-dependencies): Specify pytest as an optional dependency.
2021-03-31Add license information to README.Arun Isaac
* README.md (License): New section.
2021-03-31Add citation information to README.Arun Isaac
* README.md (Citing): New section.
2021-03-31Document usage information in README.Arun Isaac
* README.md (Usage): New section.
2021-03-31Add tests.Arun Isaac
* tests/test_sambal.py: New file.
2021-03-26Git ignore __pycache__.Arun Isaac
* .gitignore: Add __pycache__.
2021-03-26Use numpy's random Generator interface.Arun Isaac
* sambal/sambal.py: Import numpy.random.default_rng. Do not import numpy.random.randn, numpy.random.random. (random_on_sphere, random_on_disk, random_on_cap): Accept optional rng argument. Use rng to generate random numbers.
2021-03-26Export all names from package namespace.Arun Isaac
* sambal/__init__.py: Export all names from package namespace.
2021-03-26Simplify directory structure.Arun Isaac
* setup.cfg: Specify the sambal package explicitly. * src/sambal: Move to sambal.
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-26Git ignore all .egg-info files, not just samball.egg-info.Arun Isaac
* .gitignore: Replace samball.egg-info with *.egg-info.
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-25Add gitignore.Arun Isaac
* .gitignore: New file.
2021-03-25Add setup.py.Arun Isaac
* setup.py: New file.
2021-03-25Initial commitArun Isaac