Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabraganca/instprofile
Obtain the instrumental profile from the spectrum of a lamp.
https://github.com/gabraganca/instprofile
Last synced: 9 days ago
JSON representation
Obtain the instrumental profile from the spectrum of a lamp.
- Host: GitHub
- URL: https://github.com/gabraganca/instprofile
- Owner: gabraganca
- License: bsd-3-clause
- Created: 2014-04-06T09:13:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T14:58:41.000Z (over 7 years ago)
- Last Synced: 2024-11-15T08:39:32.845Z (2 months ago)
- Language: Jupyter Notebook
- Size: 305 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Instrumental Profile
====================When one observes the spectrum of a source of light, the x-axis of the spectrum
is in pixels. To convert this to wavelengths, it is used a spectrum of a well
know source of light, e.g., the light of a lamp of ThAr. The spectrum of the
lamp has known emission lines, thus it is possible to convert from pixel to
wavelength.From theory, the emission lines of the lamp spectrum should be infinitely
narrow. Unfortunately, this does not happens because of the optics of the
instrument, which broadens the spectrum. When studying spectral lines of
unknown sources, this broadening effect has to be considered.Installation
------------The only dependency is `numpy `_. To install it, clone or
download this repository and then:::
python setup.py install
or:
::
python setup.py build
pip install .How to use it
-------------I made an `IPython notebook`__ showing how one can obtain the instrumental
profile from a lamp spectrum. I used a spectrum of a real lamp to show it.__ http://nbviewer.ipython.org/urls/raw.githubusercontent.com/gabraganca/instprofile/master/example/Instrumental_Profile.ipynb