Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:praktikum:sternspektren [2024/12/06 09:52] – rhainich | en:praktikum:sternspektren [2024/12/10 11:00] (current) – rhainich | ||
---|---|---|---|
Line 35: | Line 35: | ||
The following variables need to be set in the script: | The following variables need to be set in the script: | ||
- | < | + | < |
### | ### | ||
# Path to the directories with the images | # Path to the directories with the images | ||
Line 65: | Line 65: | ||
There are several tools for viewing 2D images in FITS format. //ds9// is easy to use and can be started from the terminal: | There are several tools for viewing 2D images in FITS format. //ds9// is easy to use and can be started from the terminal: | ||
- | ds9 filename.fit | + | |
Tasks: | Tasks: | ||
Line 79: | Line 79: | ||
=== Parameter === | === Parameter === | ||
The corresponding script is called **2_findcaliblines.py**. In this file, using an editor of your choice (e.g. //Kate//), you only need to edit the line region where the calibration spectrum is to be found ('' | The corresponding script is called **2_findcaliblines.py**. In this file, using an editor of your choice (e.g. //Kate//), you only need to edit the line region where the calibration spectrum is to be found ('' | ||
- | + | ||
- | # name of the file with the wavelength calibration spectrum | + | <code Python> |
- | calibFileName | + | # region (rows on the image) containing the calibration spectrum |
- | + | specRegionStart = 495 | |
- | # region (rows on the image) containing the calibration spectrum | + | specRegionEnd |
- | specRegionStart = 495 | + | |
- | specRegionEnd | + | |
- | + | ||
- | # background region (rows on the image), which needs to be outside of the slits | + | |
- | bgRegionStart | + | |
- | bgRegionEnd | + | |
+ | # background region (rows on the image), which needs to be outside of the slits | ||
+ | bgRegionStart | ||
+ | bgRegionEnd | ||
+ | </ | ||
+ | |||
The calibration is designed such that lines of mercury and argon are identified. The strongest lines that can be expected are marked in the following plot. | The calibration is designed such that lines of mercury and argon are identified. The strongest lines that can be expected are marked in the following plot. | ||
Line 170: | Line 169: | ||
This associated script is named '' | This associated script is named '' | ||
- | < | + | < |
# Name of the object | # Name of the object | ||
object_name: | object_name: |