Skip to content

Python code to remove the blaze function from IGRINS spectra

Notifications You must be signed in to change notification settings

joellama/igrins_contfit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

igrins_contfit

Python code to remove the blaze function from IGRINS spectra

Required modules

Designed to be run on Python 3. Uses numpy, matplotlib, astropy, scipy

Useage

python cont_fit.py SDCK_20180115_0109.spec.fits

Will produce 2 additional files:

SDCK_20180115_0109.flat.fits a fits file with 3 extensions:

  1. Original spectrum

  2. Wavelength

  3. Flattened spectrum

SDCK_20180115_0109.flat.pdf - plot of the original spectrum and the flattened spectrum

About

Python code to remove the blaze function from IGRINS spectra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages