Age | Commit message (Expand) | Author |
2021-03-31 | Specify dependencies in pyproject.toml.•••* pyproject.toml (project): Specify numpy as a dependency.
(project.optional-dependencies): Specify pytest as an optional
dependency.
HEADv0.1.0main | Arun Isaac |
2021-03-31 | Add license information to README.•••* README.md (License): New section.
| Arun Isaac |
2021-03-31 | Add citation information to README.•••* README.md (Citing): New section.
| Arun Isaac |
2021-03-31 | Document usage information in README.•••* README.md (Usage): New section.
| Arun Isaac |
2021-03-31 | Add tests.•••* tests/test_sambal.py: New file.
| Arun Isaac |
2021-03-26 | Git ignore __pycache__.•••* .gitignore: Add __pycache__.
| Arun Isaac |
2021-03-26 | Use numpy's random Generator interface.•••* 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.
| Arun Isaac |
2021-03-26 | Export all names from package namespace.•••* sambal/__init__.py: Export all names from package namespace.
| Arun Isaac |
2021-03-26 | Simplify directory structure.•••* setup.cfg: Specify the sambal package explicitly.
* src/sambal: Move to sambal.
| Arun Isaac |
2021-03-26 | Move planar angle generation into random_on_cap.•••* src/sambal/sambal.py (random_planar_angle_pdf): Move function into
random_on_cap.
| Arun Isaac |
2021-03-26 | Remove inverse transform sampling based functions.•••* 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.
| Arun Isaac |
2021-03-26 | Rename random_vector_on_disk to random_on_disk.•••* 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.
| Arun Isaac |
2021-03-26 | Rename random_vector_on_sphere to random_on_sphere.•••* 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.
| Arun Isaac |
2021-03-26 | Git ignore all .egg-info files, not just samball.egg-info.•••* .gitignore: Replace samball.egg-info with *.egg-info.
| Arun Isaac |
2021-03-26 | Rename to sambal.•••* 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.
| Arun Isaac |
2021-03-25 | Add gitignore.•••* .gitignore: New file.
| Arun Isaac |
2021-03-25 | Add setup.py.•••* setup.py: New file.
| Arun Isaac |
2021-03-25 | Initial commit | Arun Isaac |