.. 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.response import Channel from astropy.visualization import quantity_support from scipy.interpolate import interp1d import fiasco # sphinx_gallery_thumbnail_number = 2 quantity_support() .. rst-class:: sphx-glr-script-out .. code-block:: none .MplQuantityConverter object at 0x7fc37ff3e850> .. GENERATED FROM PYTHON SOURCE LINES 26-28 First, create the `~aiapy.response.Channel` object for the 94 angstrom channel and compute the wavelength response. .. GENERATED FROM PYTHON SOURCE LINES 28-31 .. code-block:: Python ch = Channel(94*u.angstrom) response = ch.wavelength_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 ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_