en:praktikum:sternspektren

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:praktikum:sternspektren [2021/07/30 09:44] – [Report] dagruneren: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 1_findcaliblines.py
  
 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 ''Q key'' on the keyboard.  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 ''Q key'' on the keyboard. 
Line 192: Line 192:
 Now run the script: Now run the script:
  
-   ./3_createspectrum.py+   python 2_extractspectrum.py
  
 The following files are then created: The following files are then created:
  • en/praktikum/sternspektren.1627638268.txt.gz
  • Last modified: 2021/07/30 09:44
  • by dagruner