This repository provides two tutorials:
- Creating a new fit template for EIS (Extreme-ultraviolet Imaging Spectrometer) data, focusing on the Fe XIII spectral lines.
- Calculating the density of Fe XIII using the EISPAC package in Python.
The default template in EISPAC only fits 2 Gaussians. In this tutorial, we fit 3 Gaussians according to the EIS software notes.
This code expands on Alexandros Koukras's tutorial on creating single peak EISPAC template.
The Fe XIII density calculation tutorial demonstrates how to use the EISPAC package to calculate the density of Fe XIII from EIS data. It covers the following steps:
- Reading in EIS data and Fe XIII templates
- Fitting the spectra using the templates
- Calculating the intensity ratio of the 203.83 Å and 202.04 Å lines
- Converting the intensity ratio to density values using a pre-calculated density ratio table
- Creating and plotting a density map using SunPy
This tutorial provides a practical example of how to use EISPAC for scientific analysis of EIS data, specifically for density diagnostics using the Fe XIII spectral lines.
These are the package details I used.
- Python 3.9.15 - eispac 0.94.8 - sunpy 5.0.1 - astropy 5.3.3 - scipy 1.11.3 - numpy - matplotlib - h5py
We used Claude 3 LLM to create this README.md.