Code Monkey home page Code Monkey logo

phase-diversity-reconstruction-code-for-idl-users's Introduction

Phase-Diversity-Reconstruction-code:

This rep contains a Python package that I have written for applying Phase Diversity Reconstruction on Solar Orbiter data. It could be applied on any astronomical data as well. It is for people who are used to IDL, meaning they do not have to worry about passing arguments to the functions when running the code. In the file "main.py", you will have to enter all the parameters of your optical system and the corresponding data. Everything is documented there. You just have to run the main.py file. It lacks the functionalities of a complete python package (which you can find here).

It is based on the algorithm described in Löfdahl and Scharmer. 1994

The code requires a pair of focused-defocused images acquired by an optical instrument (telescope or microscope) with a known amount of defocus to retrieve both the wavefront error in the Exit pupil of the system, and the original aberration-free scene under observation.

To test for the robustness of the code, I have tested the algorithm on a MURAM simulation by creating a wavefront to degrade the original data and then retrieve it with the original scene after running the PD code. A check of robustness is done by comparing the original and restored data. This is documented in this jupyter notebook

phase-diversity-reconstruction-code-for-idl-users's People

Contributors

fakahil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mrhypeer

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.