Giter Site home page Giter Site logo

sphrs's People

Contributors

ahmadhuran avatar cbeuw avatar dependabot-preview[bot] avatar stefan-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sphrs's Issues

Implement parallel evaluation of several positions using rayon

Due to the low computation time of a single SH they may not parallelize well when evaluated at several positions. Evaluating an HarmonicsSet in parallel may however increase performance and should be easy to implement (using rayon). This feature should be behind a feature gate.

Differences with scipy.special.sph_harm for high degrees

There are significant differences between the complex SH provided by scipy.special.sph_harm and those provided by sphrs for high degrees. For example, the conjugate of the computed SH at the point Coordinates::spherical(1f64, 1.7453292519943295, 1.3962634015954636) are

degree 11 and order 11:
scipy: 0.4405634627748642+0.16035198675529674j
sphrs: 3.561861287727778+1.2964114873179975j

degree 12 and order 12:
scipy: -0.23561802283529287+0.4081023867296495j
sphrs: -56.973351046253434+98.68073868956799j

degree 13 and order 13:
scipy: -0.3622756435535203-0.3039853588902706j
sphrs: -1770.9169188717583-1485.975733470897j

The dramatic increase in the values returned by sphrs makes me think of numerical instability, but I couldn't pinpoint the issue.

Test solid harmonics

Currently there are no tests for solid harmonics. A comparison to a reference solution would be useful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.