Code Monkey home page Code Monkey logo

gpipsfs's Introduction

gpipsfs: GPI Point Spread Function (PSF) Simulation Toolkit

This Python package produces simulated PSFs for the Gemini Planet Imager, a facility-class exoplanets imaging instrument at Gemini South.

This code provides a toy model of GPI intended primarily for understanding how the GPI coronagraph optics work; it is not an adaptive optics simulator, does not model wavefront errors, operates in a simplified optical approximation regime (Fraunhofer diffraction, not Fresnel), and is not intended to be a high fidelity model of GPI.

In lieu of more complete documentation, see http://nbviewer.ipython.org/github/geminiplanetimager/gpipsfs/blob/master/Getting%20Started%20with%20GPI%20PSFs.ipynb

Installation (the really simple way)

We assume you already have python and ipython installed. Zip files are available from https://github.com/geminiplanetimager/gpipsfs; see link at right to 'Download ZIP' Download the zip file and unzip. And then:

> cd to that folder

> python setup.py install

Getting Started

Check out the ipython notebooks, in particular the 'Getting Started" one.

Depending on which version of IPython (now a.k.a. Jupyter) you have installed, you make have trouble opening some of the notebooks. If you run into this problem, either:

  1. Install a recent version of IPython, 3.0 or greater. (The latest version of the Anaconda scientific python distribution includes this, for instance.). Or else
  2. Try the filenames with the "v3" in them, which are in "notebook format 3". (Confusingly, ipython 3 uses notebook format 4, while ipython 2 uses file format 3!) If that still doesn't work for you, ask Marshall for help.

Warnings, Caveats, and Disclaimers

Work in progress, incomplete, simplified code, no guarantees, etc!

Currently no wavefront error terms included.

Cash prize available for the first person to find a sign error somewhere in this code.

To reiterate: This code provides a toy model of GPI intended primarily for understanding how the GPI coronagraph optics work; it is not an adaptive optics simulator, does not model wavefront errors, operates in a simplified optical approximation regime (Fraunhofer diffraction, not Fresnel), and is not intended to be a high fidelity model of GPI.

gpipsfs's People

Contributors

mperrin avatar gpisummit avatar egentry avatar

Stargazers

Enrico Biancalani avatar

Watchers

Neil Zimmerman avatar

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.