GithubHelp home page GithubHelp logo

jacopoantonello / zernike Goto Github PK

View Code? Open in Web Editor NEW
128.0 128.0 35.0 404 KB

Python code for Zernike polynomials

License: Apache License 2.0

Batchfile 0.33% PowerShell 2.79% Python 96.89%
adaptive-optics zernike-polynomials

zernike's People

Contributors

adriaanph avatar jacopoantonello avatar jufevic avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zernike's Issues

orthopy

Just a heads-up that orthopy also has Zernike polynomials. orthopy does everything with numerically stable recurrence relations, so it's very fast, too. Perhaps it's useful to you.

pip2 version 0.0.0 instead of 0.0.30

thanks for the recent changes - very useful.

i have just attempted to install using pip2 (python2), but the version number is 0.0.0 instead of 0.0.30. doing the same using pip3 (python3) correctly shows it as 0.0.30.

in the end i opted to install from git instead of pip. this installed the correct code and the version is now correct.

here are the steps i followed to install from github:
$ git clone https://github.com/jacopoantonello/zernike
$ pip2 install zernike

H5PY dependencies

I got: ModuleNotFoundError: No module named 'h5py'
at line: from zernike import RZern

So H5PY dependency was not installed along wiht zernike when using pip install. I see it in the setup.py setup_requires, so not sure exactly why this happens. In Ubuntu, I started from a fresh conda environment with:

$ conda create -n <name> python=3.9
$ pip3 install torch torchvision torchaudio
$ pip install zernike

Projecting onto a particular Zernike

Hello, suppose I have a function (or equivalently ).

What I would like to do is compute the integral (numerically):
for a given n,m

I'm not sure if this is possible with your code, but if so any advice to get started? Thanks!

Derivatives?

Thank you for your excellent works!
I searched and it seems Zernike derivatives have not yet been implemented. Any plans for that, or which part of the code could you suggest to modify for that purpose?

Thanks,
WDC

Zernike polynomial fitting from 3-D coordinates?

Hi, supposing as input we have a set of 3-D points (x,y,z) that lie on a 3 dimensional surface.
How would the zernike fitting function work in this case? From the examples it is not apparent what the input should be exactly.
Would be grateful for your help.
Thank you.

Question about fitting

Thanks for your code. I have a problem with fitting a complex array. Could you please give an example of fitting with data generated by ways except eval_grid()?

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.