Code Monkey home page Code Monkey logo

gmt-gmacs-etc's Introduction

GMACS-ETC 2.2

Exposure Time Calculator for the Giant Magellan Telescope Multi-object Astronomical and Cosmological Spectrograph

Desiged for the Munnerlyn Astronomical Instrumentation Lab at Texas A&M University Coded by the Kwisatz Haderach in 2018, based on previous versions by Ting Li

Documentation in docs/

TODOs:

  • output all the re-parsed data so it doesn't have to be calculated every time
  • add input disabling for plot calls that don't require them
  • math problem somewhere in signal/noise ratio?
  • add the loading screen (last)

Ok soldier listen up! Here's the query map!

		Tabs:
		 |-	SNR
		 |	 |- SNR_r
		 |	 |	 |- red_signal
		 |	 |	 |	 |- counts_red
		 |	 |	 |	 |	 |- power_red
		 |	 |	 |	 |	 |	 |- flux (function)
		 |	 |	 |	 |	 |	 |- area (user input)
		 |	 |	 |	 |	 |	 |- exp_time (user input)
		 |	 |	 |	 |	 |
		 |	 |	 |	 |	 |- wavelength (function)
		 |	 |	 |	 |	 |- constantants (h,c,1e10)
		 |	 |	 |	 |
		 |	 |	 |	 |- percent
		 |	 |	 |	 |	 |- funx
		 |	 |	 |	 |	 |	 |- sigma
		 |	 |	 |	 |	 |	 	 | - seeing (user input)
		 |	 |	 |	 |	 |
		 |	 |	 |	 |	 |- slit_size (user input)
		 |	 |	 |	 |	 |- seeing (user input)
		 |	 |	 |	 |
		 |	 |	 |	 |- red_total_eff
		 |	 |	 |		 |- red_dichro (file)
		 |	 |	 |		 |	 |- dichro_x
		 |	 |	 |		 |	 |- dichro_y2
		 |	 |	 |		 |
		 |	 |	 |		 |- grating_red
		 |	 |	 |		 |	 |- grating2 (file)
		 |	 |	 |		 |	 |- wavelength
		 |	 |	 |		 |- red_ccd
		 |	 |	 |		 |	 |- ccd2 (file)
		 |	 |	 |		 |	 |- wavelength
		 |	 |	 |		 |
		 |	 |	 |		 |- constants (coating eff)
		 |	 |	 |		 |- extinction (file)
		 |	 |	 |			 |- atmo_ext_x
		 |	 |	 |			 |- atmo_ext_y
		 |	 |	 |			 |- wavelength	 
		 |	 |	 |
		 |	 |	 |- red_noise
		 |	 |	 	 |- counts_noise_red
		 |	 |	 	 |	 |- sky_red
		 |	 |	 	 |	 	 |- sky_flux
		 |	 |	 	 |		 |	 |- sky_x (file)
		 |	 |	 	 |		 |	 |- sky_y (file)
		 |	 |	 	 |		 |	 |- wavelength
		 |	 |	 	 |		 |
		 |	 |	 	 |		 |- extension
		 |	 |	 	 |		 |	 |- seeing
		 |	 |	 	 |		 |	 |- slit_size
		 |	 |	 	 |		 |
		 |	 |	 	 |		 |- exp_time
		 |	 |	 	 |
		 |	 |	 	 |- red_total_eff_noise
		 |	 |			 |- red_dichro
		 |	 | 			 |- red_grating
		 |	 | 			 |- red_ccd
		 |	 | 			 |- coating_efficiency
		 |	 | 
		 |	 |- SNR_b
		 |	  	 |- same-same, but blue...
		 |	 	
		 |- Obs. Spectr. w/o Noise
		 |	 |- red_signal
		 |	 |- blue_signal
		 |	 |- wavelength
		 |	 
		 |-	Obs. Spectr. w/ Noise
		 |	 |- red_signal
		 |	 |- error_r
		 |	 |	 |- sigma_r
		 |	 |	 	 |- red_signal
		 |	 |	 	 |- red_noise
		 |	 |
		 |	 |- blue_signal
		 |	 |- error_b
		 |	 |- wavelength
		 |
		 |- Obs. Sky Background
		 |	 |- red_noise
		 |	 |- blue_noise
		 |	 |- wavelength
		 |
		 |-	Dichroic throughput
		 |	 |- red_dichro
		 |	 |	 |- dichro_x
		 |	 |	 |- dichro_y2
		 |	 |	 |- wavelength
		 |	 |
		 |	 |- blue_dichro
		 |	 |- wavelength
		 |
		 |-	Grating throughput
		 |	 |- red_grating
		 |	 |- blue_grating
		 |	 |- wavelength
		 |
		 |- CCD QE
		 |	 |- red_ccd
		 |	 |- blue_ccd
		 |	 |- wavelength
		 |
		 |-	Atmospheric Extinction
		 	 |- atmo_ext_x (file)
		 	 |- atmo_ext_y (file)

Clearly, then, wavelength is of the uppermost importance, followed by several other basic types.

gmt-gmacs-etc's People

Contributors

lmschmidt avatar npeirson avatar

Watchers

 avatar  avatar  avatar

Forkers

jpierel14

gmt-gmacs-etc's Issues

TODO

A list of tasks to complete

  • update dichroic transition point
  • update telescope throughput
  • add fiber transmission option
  • update grating choices and efficiencies
  • update optics transmission values
  • verify ccd QE curves
  • extend sky background wavelength coverage
  • add logging - each time ETC is used, log input parameters to a text file (we want to see what configs are "popular")

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.