Git Product home page Git Product logo

wfirst_simulation's Introduction

wfirst_simulation

  1. For the main simulation, use wfirst_simple_sim.py (includes multiple arguments; galaxy number, galaxy model, PSF model, shear measurement methods. fixed parameters are; random_seed=314, dither=22535, SCA=1, filter=H158, stamp_size=32, hlr=1.0) Main simulation returns the ngmix output or the metacalibration output (noshear, 1p, 1m, 2p, 2m) in fits format.
    To use wfirst_simple_sim.py, "python wfirst_simple_sim.py galaxy_number galaxy_profile psf_profile shape_measurement"(e.g., python wfirst_simple_sim.py 3000000 'Gaussian' 'Gaussian' 'metacal')

  2. To analyze the shear response and observed shear, use selection_effects.py, which prints out the before and after we take care of selection effects on shear response. To use this, "python selection_effects.py 'shear measurement methods' [paths to the files]" shear measurement methods: 'metacal' or 'ngmix'. An example of the path name, [v2_7_offset_45]. This path will take care of 5 files from the metacal output.

  3. To make a plot of the difference of observed shear (delta g_obs), use plot_obsg_inputg. This can make a plot of delta g vs (input g or angle offset). To use this, "python plot_obsg_inputg.py 'shear measurement methods'"

wfirst_simulation's People

Contributors

myamamoto26 avatar

Watchers

 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.