This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
en:praktikum:sternspektren_baches [2023/11/30 17:54] – Immer noch, vermuteter Tippfehler jmkubat | en:praktikum:sternspektren_baches [2024/03/20 09:29] (current) – [Plotting the spectrum] rhainich |
---|
Flatdarks/ | Flatdarks/ |
... | ... |
| |
| <color #ed1c24>**Note:**</color> **This folder structure is essential for some data reduction steps. It is therefore essential that the files are sorted accordingly!** |
| |
There are different tools to view the FITS files (two dimensional CCD images or data tables). //ds9// is easy to handle and can be started from the terminal via: | There are different tools to view the FITS files (two dimensional CCD images or data tables). //ds9// is easy to handle and can be started from the terminal via: |
If you want to mirror the recordings you have to set ''flip_images'' to ''True''. If the images should also be binned, set ''bin_images'' to ''True''. The binning factor can be determined via the variable ''binning_value''. | If you want to mirror the recordings you have to set ''flip_images'' to ''True''. If the images should also be binned, set ''bin_images'' to ''True''. The binning factor can be determined via the variable ''binning_value''. |
| |
| **Important:** When the data reduction is finished, disable the virtual environment with |
| |
| deactivate |
| |
===== Data analysis ===== | ===== Data analysis ===== |
| |
{{section>deng:praktikum:a12:python#English&noheader}} | {{section>deng:praktikum:a12:python#English&noheader}} |
| |
| **Important:** Make sure that the virtual environment we used for data reduction is disabled before proceeding: |
| |
| deactivate |
| |
The spectrum should be plotted by means of the python script ''3_printmasterplot.py'', which can be found in the following directory ''~/scripts/n1_baches/''. This script can extract both the total spectrum created by //MIDAS// and the individual spectra of the various orders from the FITS files and then display them. | The spectrum should be plotted by means of the python script ''3_printmasterplot.py'', which can be found in the following directory ''~/scripts/n1_baches/''. This script can extract both the total spectrum created by //MIDAS// and the individual spectra of the various orders from the FITS files and then display them. |