{ "cells": [ { "cell_type": "markdown", "id": "f260e3eb-c07c-415d-8d5f-fb5a1a47771a", "metadata": {}, "source": [ "# `mocksipipeline` Pipeline Example\n", "\n", "This notebook provides an example of how to run the pipeline to produce simulated MOXSI data.\n", "This is still a semi-early version of this." ] }, { "cell_type": "code", "execution_count": 27, "id": "c19c23df-5b59-4774-b3e8-81feb631aa7d", "metadata": { "tags": [] }, "outputs": [], "source": [ "import astropy.units as u\n", "import astropy.time\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import aiapy\n", "from sunpy.net import Fido, attrs as a\n", "from astropy.visualization import quantity_support,ImageNormalize,LogStretch,AsinhStretch\n", "from astropy.coordinates import SkyCoord\n", "from astropy.wcs.utils import wcs_to_celestial_frame\n", "\n", "from mocksipipeline.physics.dem.data_prep import DataQuery\n", "from mocksipipeline.physics.spectral import SpectralModel\n", "from mocksipipeline.net import XRTSynopticClient, FilterWheel1, FilterWheel2" ] }, { "cell_type": "code", "execution_count": 2, "id": "68ee2d31-b5e4-4f91-a3b7-b545e04f6dad", "metadata": {}, "outputs": [], "source": [ "q = Fido.search(\n", " a.Time('2022-01-01', end='now'),\n", " a.hek.EventType('FL'),\n", " a.hek.FL.GOESCls > \"X1.0\",\n", " a.hek.OBS.Observatory == \"GOES\"\n", ")" ] }, { "cell_type": "code", "execution_count": 3, "id": "cd7ddef8-45c9-433b-8360-c7f0328b480b", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
| event_starttime | event_endtime |
|---|---|
| Time | Time |
| 2022-03-30 17:21:00.000 | 2022-03-30 17:46:00.000 |
| 2022-04-17 03:17:00.000 | 2022-04-17 03:51:00.000 |
| 2022-04-20 03:41:00.000 | 2022-04-20 04:04:00.000 |
| 2022-04-30 13:37:00.000 | 2022-04-30 13:52:00.000 |
| 2022-05-03 13:09:00.000 | 2022-05-03 13:31:00.000 |
| 2022-05-10 13:50:00.000 | 2022-05-10 13:59:00.000 |