en:praktikum:sonnenrotation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:praktikum:sonnenrotation [2023/06/21 10:44] – typo fmattigen:praktikum:sonnenrotation [2023/07/21 21:24] (current) – [Report] rhainich
Line 45: Line 45:
 The analysis can be done with a Python script (see ''~/scripts/s1s2/comparespecs.py'') that needs to be copied to your own directory, too. This script allows to cut those lines from the image matrix that shall be displayed as a spectrum. The analysis can be done with a Python script (see ''~/scripts/s1s2/comparespecs.py'') that needs to be copied to your own directory, too. This script allows to cut those lines from the image matrix that shall be displayed as a spectrum.
 Open the script with a text editor, e.g. Open the script with a text editor, e.g.
 +
   kate comparespecs.py   kate comparespecs.py
 +
 In the upper part of the script, find "Script Parameters". Edit the names of the input files and the range of lines that shall be extracted. To find the latter, also open the image with //ds9// and select the coordinates of useful strips for the spectra. Choose those lines that are equally exposed and that contain as few (obvious) pixel errors as possible. Especially pay attention to the range where the spectral lines are situated. Once all required input parameters are set, save the script file and execute it by In the upper part of the script, find "Script Parameters". Edit the names of the input files and the range of lines that shall be extracted. To find the latter, also open the image with //ds9// and select the coordinates of useful strips for the spectra. Choose those lines that are equally exposed and that contain as few (obvious) pixel errors as possible. Especially pay attention to the range where the spectral lines are situated. Once all required input parameters are set, save the script file and execute it by
-  python3 comparespecs.py+ 
 +  python comparespecs.py 
 to obtain a PDF file spectrum.pdf, which can be opened with //okular// to obtain a PDF file spectrum.pdf, which can be opened with //okular//
 +
   okular spectrum.pdf &   okular spectrum.pdf &
  
Line 78: Line 83:
 ===== Report ===== ===== Report =====
  
-//A usual report has to be prepared for both experiments, S1 and S2, together. A combined the outline for the report's content is given in the description for [[https://polaris.astro.physik.uni-potsdam.de/wiki/doku.php?id=en:praktikum:sonnenspektroskopie#report|S2]].//+//A usual report has to be prepared for both experiments, S1 and S2, together. A combined outline for the report's content is given in the description for [[https://polaris.astro.physik.uni-potsdam.de/wiki/doku.php?id=en:praktikum:sonnenspektroskopie#report|S2]].//
  
 /* /*
  • en/praktikum/sonnenrotation.1687344279.txt.gz
  • Last modified: 2023/06/21 10:44
  • by fmattig