Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:praktikum:sternspektren [2021/07/30 09:44] – [Report] dagruner | en:praktikum:sternspektren [2023/09/19 06:49] (current) – rhainich | ||
---|---|---|---|
Line 74: | Line 74: | ||
Now run the script by executing: | Now run the script by executing: | ||
- | ./1_findcaliblines.py | + | python |
Afterwards the following window will be displayed on the screen, showing the mercury and argon emission line spectrum. All lines that were identified by the script are highlighted by a red circle. Now, all lines with known wavelengths need to be marked. For this task, the above example spectrum can be very useful. The script runs through a list of predefined lines. The wavelength of the current line is displayed in the upper part of the window. The line corresponding to this wavelength can now easily marked by clicking into the corresponding red circle with the left mouse button. This circle should now appear blue and the corresponding wavelength is written next to the line peak (see below). If a wavelength is displayed that does not correspond to any of the highlighted lines, this wavelength can be skipped with a right click. At least four lines need to be marked to facilitate a successful wavelength calibration. If all useful lines are marked, this procedure can be completed by pressing the '' | Afterwards the following window will be displayed on the screen, showing the mercury and argon emission line spectrum. All lines that were identified by the script are highlighted by a red circle. Now, all lines with known wavelengths need to be marked. For this task, the above example spectrum can be very useful. The script runs through a list of predefined lines. The wavelength of the current line is displayed in the upper part of the window. The line corresponding to this wavelength can now easily marked by clicking into the corresponding red circle with the left mouse button. This circle should now appear blue and the corresponding wavelength is written next to the line peak (see below). If a wavelength is displayed that does not correspond to any of the highlighted lines, this wavelength can be skipped with a right click. At least four lines need to be marked to facilitate a successful wavelength calibration. If all useful lines are marked, this procedure can be completed by pressing the '' | ||
Line 192: | Line 192: | ||
Now run the script: | Now run the script: | ||
- | ./ | + | python 2_extractspectrum.py |
The following files are then created: | The following files are then created: |