.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "generated/gallery/user_guide/aia_response.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_generated_gallery_user_guide_aia_response.py: Understanding AIA temperature response with `aiapy` =================================================== In this example, we will use the `~aiapy` package to convolve the Fe XVIII contribution function with the instrument response function to understand the temperature sensitivity of the 94 angstrom channel. .. GENERATED FROM PYTHON SOURCE LINES 10-25 .. code-block:: Python import astropy.constants as const import astropy.units as u import matplotlib.pyplot as plt import numpy as np from aiapy.calibrate.utils import get_correction_table from aiapy.response import Channel from astropy.visualization import quantity_support from scipy.interpolate import interp1d import fiasco quantity_support() .. rst-class:: sphx-glr-script-out .. code-block:: none .MplQuantityConverter object at 0x7ce9e01200b0> .. GENERATED FROM PYTHON SOURCE LINES 27-29 First, create the `~aiapy.response.Channel` object for the 94 angstrom channel and compute the wavelength response. .. GENERATED FROM PYTHON SOURCE LINES 29-34 .. code-block:: Python ch = Channel(94*u.angstrom) correction_table = get_correction_table("jsoc") response = ch.wavelength_response(correction_table=correction_table) response *= ch.plate_scale .. rst-class:: sphx-glr-script-out .. code-block:: none Files Downloaded: 0%| | 0/1 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: aia_response.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: aia_response.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_