Skip to content

lidihei/pyrafspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyrafspec

pyrafspec is a wrapper to use pyraf(iraf) to extract spectrum observed by E9G10 of BFOSC or YFOSC

install iraf could look at https://iraf-community.github.io/install.html

install pyraf (https://pypi.org/project/pyraf/)

  • pip install pyraf

install laspec (https://github.com/hypergravity/laspec)

  • pip install laspec

install lightkurve

  • pip install lightkurve==1.11.3

install pyrafspec

pyfile/bfoscE9G10/E9G10.py is a example of extracting spectrum observed by Xinglong 216cm BFOSC E9+G10 (pyfile/bfoscE9G10)

pyfile/bfoscE9G10/HRS240.py is a example of extracting spectrum observed by Lijiang 240cm HRS

wavelength calibrate

  • keywords of iraf splot
    • k --> down to next order
    • j --> up to previous order or (check rms)
    • h --> leave rms
    • d --> delete points
    • m --> mark points
    • f --> fit curve
    • w&e -> e --> select zone (xaixs invert: right_bottom --> left_top; yaxis_invert: left_top-->right_bottom)
    • w&a --> restore image
    • q --> quit identify or fitting process
  • :xo 3 (change the x-axis order of fiting of 2D fit)

use iraf

use iraf

  • $cl --> noao --> imred --> echel --> echelle --> ecidentify or dispcor
  • edit parameter: epa eci (can edit parameters of ecidentify in GUI)
  • logout (quit iraf)

About

extract spectrum by using pyraf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published