{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "8624b58a-9a13-48b4-8586-f8b777715041", "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "from astropy.io import fits\n", "from astropy.wcs import WCS\n", "import matplotlib.pyplot as plt\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 2, "id": "59cf8b23-149d-4553-b954-910271668af5", "metadata": {}, "outputs": [], "source": [ "# For the purposes of this tutorial, we just know the MAST URL location of the file we want to examine.\n", "fits_file = \"https://archive.stsci.edu/missions/tess/ffi/s0001/2018/206/4-2/tess2018206192942-s0001-4-2-0120-s_ffic.fits\"\n" ] }, { "cell_type": "code", "execution_count": 3, "id": "83c2c2d8-a91c-4c5f-b25a-e25c314eed0b", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Filename: /home/pribulla/.astropy/cache/download/url/a51c8b26d6282cb93bccee1b4aa329a3/contents\n", "No. Name Ver Type Cards Dimensions Format\n", " 0 PRIMARY 1 PrimaryHDU 30 () \n", " 1 CAMERA.CCD 4.2 cal 1 ImageHDU 183 (2136, 2078) float32 \n", " 2 CAMERA.CCD 4.2 uncert 1 ImageHDU 183 (2136, 2078) float32 \n" ] } ], "source": [ "fits.info(fits_file)" ] }, { "cell_type": "code", "execution_count": null, "id": "3887ce37-a0fc-429f-823d-c8b80fa2cd38", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.19" } }, "nbformat": 4, "nbformat_minor": 5 }