{ "cells": [ { "cell_type": "markdown", "metadata": { "vscode": { "languageId": "plaintext" } }, "source": [ "# Preparing real IXPE data for fitting\n", "\n", "Before fitting to real IXPE data of point sources, a few pre-processing steps must be performed. This notebook walks through how to perform these steps." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 1. Download the data from the IXPE archive\n", "\n", "IXPE data can be downloaded from the archive [here](https://heasarc.gsfc.nasa.gov/db-perl/W3Browse/w3table.pl?tablehead=name%3Dixmaster&Action=More+Options). To use all weights, please download all the data. This includes level 2 data (for the event polarizations and positions), hk data (for the telescope orientation), auxil data (for the exposure map) and level 1 data (for the track images to perform particle weighting.)\n", "\n", "For this tutorial, download observation ID 01002601, which is an observation of GX 301-2. Once you have downloaded and unzipped the data, proceed to the next step." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 2. (Optional) Neural nets\n", "\n", "Once you have downloaded the data, you can reprocess it with Lawrence Peirson's neural net code. This will improve the precision of the event EVPA, position, and modulation factor estimates. The code for doing this is not part of leakagelib; it requires installing the [ixpenn package](https://github.com/jack-dinsmore/ixpenn) separately. Please see the documentation therein.\n", "\n", "