sphrs icon indicating copy to clipboard operation
sphrs copied to clipboard

Spherical harmonics and solid harmonics in Rust

Crates.io version Crates.io downloads GitHub Actions workflow status Code coverage License Gitter chat

sphrs

sphrs is a general purpose spherical harmonics and (regular and irregular) solid harmonics library in Rust.

For details on how to use sphrs, please consult the documentation, either for the latest stable release, or for the current main branch.

Acknowledgements

This crate is heavily inspired by Google's spherical-harmonics library and follows the mathematics documented here.

References

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

License: MIT OR Apache-2.0