{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# How to cut out Target Pixel Files from Kepler Superstamps or TESS FFIs?\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You can use `lightkurve` to cut Target Pixel Files (TPFs) out of a series of standard astronomical images, such as [K2 Superstamp Mosaics](https://archive.stsci.edu/prepds/k2superstamp/) or TESS [Full-Frame-Images (FFIs)](https://heasarc.gsfc.nasa.gov/docs/tess/data-products.html#full-frame-images). This brief tutorial will demonstrate how." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "execution": { "iopub.execute_input": "2025-05-21T14:02:21.201828Z", "iopub.status.busy": "2025-05-21T14:02:21.197523Z", "iopub.status.idle": "2025-05-21T14:02:22.454446Z", "shell.execute_reply": "2025-05-21T14:02:22.454149Z" } }, "outputs": [], "source": [ "%matplotlib inline\n", "import lightkurve as lk\n", "import numpy as np" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "execution": { "iopub.execute_input": "2025-05-21T14:02:22.456229Z", "iopub.status.busy": "2025-05-21T14:02:22.456033Z", "iopub.status.idle": "2025-05-21T14:02:36.650411Z", "shell.execute_reply": "2025-05-21T14:02:36.649670Z" } }, "outputs": [ { "data": { "text/html": [ "SearchResult containing 1 data products.\n", "\n", "
| # | mission | year | author | exptime | target_name | distance |
|---|---|---|---|---|---|---|
| s | arcsec | |||||
| 0 | TESS Sector 14 | 2019 | TESScut | 1426 | HAT-P-11 | 0.0 |