Code Monkey home page Code Monkey logo

gnirslongslit's Introduction

GNIRSLongSlit

Python 2.7 codes to reduce longslit data from Gemini-N/GNIRS

This code has been tested with X- and J-band spectra with the 111/mm grating

gnirslongslit's People

Contributors

astrochun avatar smckinley12 avatar

Watchers

 avatar  avatar  avatar

gnirslongslit's Issues

Set up a logging approach to log all python information to stdout and to file

We are currently using astropy's log to print color-coded information to screen. However, this does not save a file with those warnings.

Astropy allows to write to file, but I think it's cumbersome as it requires a with statement for every log entry:
with log.log_to_file('myfile.log'):
# your code here

I much prefer a function or class.

Spectral extraction

GNIRS's nsextract is not an ideal extraction code. It cannot handle individual emission lines so well. I decided to create a separate module to extract (Extract1D) and a code to compute the distortion-based extraction solution from bright continuum source. The latter is called distort_trace.py.

Handling of telluric dataset for multiple targets

Codes is unable to distinguish different sets of telluric data. Must split them in create_list.py and update reduce.py to loop over each instance of telluric data.

Recommend using filename to split.

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.