Bases: PySpectrograph.Spectrograph.Spectrograph.Spectrograph
HRSModel is a class that describes the High Resolution Specotrgraph on SALT
Methods Summary
alpha([da]) | Return the value of alpha for the spectrograph |
beta([db]) | Return the value of beta for the spectrograph |
get_wavelength(xarr[, gamma]) | For a given spectrograph configuration, return the wavelength coordinate associated with a pixel coordinate. |
set_camera([name, focallength]) | |
set_collimator([name, focallength]) | |
set_detector([name, geom, xbin, ybin, xpos, ...]) | |
set_grating([name, order]) | |
set_order(order) | |
set_slit([slitang]) | |
set_telescope([name]) |
Methods Documentation
Return the value of alpha for the spectrograph
Return the value of beta for the spectrograph
Beta_o=(1+fA)*(camang)-gratang+beta_o
For a given spectrograph configuration, return the wavelength coordinate associated with a pixel coordinate.
xarr: 1-D Array of pixel coordinates gamma: Value of gamma for the row being analyzed
returns an array of wavelengths in mm