Modules ¶
Spectrum module from Barak ¶
The class and functions in this module were built by Neil Crighton and are copies of the ones available in Neil’s
Barak
package. The documentation below can also be found in the original package’s
website
.
|
A class to hold information about a spectrum. |
|
Given wavelength bin centres, find the edges of wavelengh bins. |
|
Rebins spectrum to a new wavelength scale generated using the keyword parameters. |
|
Combine spectra pixel by pixel, weighting by the inverse variance of each pixel. |
Voigt profile ¶
|
Calculate the voigt function H(a,u). |
|
Compute the Voigt function. |
|
|
|
|
|
|
Zoom effect ¶
Zoom effect functions from Matplotlib
|
|
|
ax1 : the main axes ax1 : the zoomed axes (xmin,xmax) : the limits of the colored area in both plot axes. |
|
ax1 : the main axes ax1 : the zoomed axes |