Coder Social home page Coder Social logo

superskims_mask_design's Introduction

SuperSKiMS_mask_design

Python code to retrieve an optimal mask design for SKiMS on DEIMOS.
Latest version: Deimos_SKiMS_slit.V0.8.py - 16th November 2015

Copyright: Nicola Pastorello ([email protected], 2015)

_To run:

  1. Set initial galaxy parameters in the header section of 'Deimos_SKiMS_slit.V0.5.py'
  2. run: "python Deimos_SKiMS_slit.V###.py"_

The code finds the optimal SuperSKiMS slit distribution, given the galaxy surface brightness profile and the orientation of the DEIMOS mask. The output is a '.cat' file containing the SuperSKiMS and sky slits that is meant to be merged with a standard DEIMOS catalog. Such a final catalog has to be used in 'dsimulator' in order to create the DEIMOS mask design file that will be submitted to the DEIMOS milling website.

The slit distribution is symmetrical. The best configuration is found via a MonteCarlo approach. This configuration is the one that minimize the largest empty contiguous area within the mask. The length of the slits depends on the galaxy surface brightness (still to be properly implemented). This can be:

  • provided as an input txt file
  • provided as a Sersic profile, given the profile's parameters
  • assumed as a de Vaucouleurs profile

Still to fix:

  • decide which band to use to photometric profile in.
  • retrieving galaxy parameters from dictionary
  • homogenise the documentation regarding input SB profiles from file

superskims_mask_design's People

Contributors

pastorenick avatar

Watchers

 avatar  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.