Age | Commit message (Collapse) | Author |
|
* pyproject.toml (project): Specify numpy as a dependency.
(project.optional-dependencies): Specify pytest as an optional
dependency.
|
|
* README.md (License): New section.
|
|
* README.md (Citing): New section.
|
|
* README.md (Usage): New section.
|
|
* tests/test_sambal.py: New file.
|
|
* .gitignore: Add __pycache__.
|
|
* 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.
|
|
* sambal/__init__.py: Export all names from package namespace.
|
|
* setup.cfg: Specify the sambal package explicitly.
* src/sambal: Move to sambal.
|
|
* src/sambal/sambal.py (random_planar_angle_pdf): Move function into
random_on_cap.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* .gitignore: Replace samball.egg-info with *.egg-info.
|
|
* 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.
|
|
* .gitignore: New file.
|
|
* setup.py: New file.
|
|
|