GithubHelp home page GithubHelp logo

qsic's Introduction

Sne_Spectra

This Read Me is an attempt to help the user walk through the process that was implemented for Spectral SNe Analysis in Summer 2019. STSci Summer internship

Contents:

  1. Red Shift Calibration
  2. Emission Calculations
  3. Intensity Computation

Before completeing steps, organize by putting all observations of SNe into one directory and one directory per SNe.

  1. This step is used to plot the spectra and confirm accurate redshift and rest wavelength obtained. This can be skipped if confidently known. -Using code; SNe.Redshift.py -Execute Code - > directory input. (ex. /Users/Documents/SNe.Analysis/Data) Note* Can change file extesion type on line 16 -> designate one or all observations -> plot generated.

**Here you can use the vertical lines which are identifying Helium and H-alpha lines to confirm accurate rest wavelength.

  1. This step is the process of using Q-SIC and is accompanied by 4 different codes that distribute 17 emission lines of interest. Repeat Steps for each code. -Using codes; SNe.QSIC.1.py - SNe.QSIC.4.py -Execute Code - > Directory input. (ex. /Users/Documents/SNe.Analysis/Data) -> code will generate plot with vertical lines identifying the 4-3 emisson lines of interest. Use this to identify the start and end wavelengths to run the calculator. -> Next, will designate and ask for the input of identified start/end wavelengths. Note* Input needs to be with a space between the two wavelengths and in Angstroms. (ex. 6563 7410) -> code will automatically output the calcuation of Equivalent Width and Continuum in two seperate .txt files.

**It is important to know that there must be data in the identified wavelengths or the code will throw a warning.

  1. This final step takes the 4 seperate out put files from step 2, runs the computation to calculate the Intesity and outputs the calculation as a text file.
    • Using Code; SNe.join.py Before execution, the user needs to input desired directory into the code manually, @ line 5. -> Execute Code - > Output Calculation as .txt files.

qsic's People

Contributors

griffonknox avatar

Forkers

anika019

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.