This release is a pre-release and may not be stable for production use.
Biosspheres
A Python-based solver for Laplace and Helmholtz scattering by multiple disjoint spheres, utilizing spherical harmonic decomposition and local multiple trace formulations.
Its main routines are for:
- Computing boundary integral operators evaluated and tested against spherical harmonics.
- Building Calderón operators.
- Solving transmission problems using the multiple trace formulation.
Tested with python 3.9
Installation
We recommend to install the package in its own python environment.
Via pip
The package is available in TestPyPi.
For the minimum installation:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ biosspheres
For the installation including the dependencies necessary for running jupyter notebooks:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ biosspheres[all]
Docker
The biosspheres-notebook Docker image is configured to run biosspheres with Python 3.10. This can be done running:
docker run -v $(pwd):/root/shared -w "/root/shared" -p 8888:8888 pescapil/biosspheres-notebook
Additional comments
The file requirements.txt has the list of required package for biosspheres to work,
they can be installed using pip install -r requirements.txt
How to use
See the Jupyter notebook examples in the folder "notebooks" to see how biosspheres can be used.
Contributing
Read the file CONTRIBUTING.md and also see the Jupyter notebooks.
Acknowledgments
External packages used in biosspheres
numpy
Library for arrays, vectors and matrices in dense format, along with routines of linear algebra, norm computation, dot product, among others. It also computes functions like sine, cosine, exponential, etc.
scipy
scipy.special
Library for special functions, as the spherical Bessel and spherical Hankel functions.
scipy.sparse
Library for sparse arrays.
pyshtools
All Legendre's functions are computed using the package pyshtools (documentation of pyshtools).
matplotlib
Library used in the examples for plotting.
Metadata
Release files for biosspheres 0.1.1a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biosspheres-0.1.1a1.tar.gz | 128.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biosspheres-0.1.1a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 192.1 kB
Release files / biosspheres-0.1.1a1.tar.gz
| Download URL | biosspheres-0.1.1a1.tar.gz |
|---|---|
| Size | 128.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1df5e0dd8c78b73fd6b27602a260dd18f651d53bf5f948d33be840bf8e095bb
|
|
BLAKE2b-256 checksum How to use checksums |
8ea2a5e37ceedbaeeed8072b2929a0b106ac758de5c78a4f562c32772c5ee5c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Windows/11
|
Release files / biosspheres-0.1.1a1-py3-none-any.whl
| Download URL | biosspheres-0.1.1a1-py3-none-any.whl |
|---|---|
| Size | 64.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03b24aa25d71f0a40a046accb4764c4a4d1eb0071287dc43dbffa6902309b693
|
|
BLAKE2b-256 checksum How to use checksums |
8a19bffbc3ddaf92c4d1b94ebd6349c02ffb93a85ed5dde1246cc9454cb2ee3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Windows/11
|