diff --git a/nircam_calib/reffile_creation/crds_completeness_check/nircam_crds_completeness_check.ipynb b/nircam_calib/reffile_creation/crds_completeness_check/nircam_crds_completeness_check.ipynb index 692ee83..5282e4d 100644 --- a/nircam_calib/reffile_creation/crds_completeness_check/nircam_crds_completeness_check.ipynb +++ b/nircam_calib/reffile_creation/crds_completeness_check/nircam_crds_completeness_check.ipynb @@ -2,6 +2,7 @@ "cells": [ { "cell_type": "markdown", + "id": "07b1d629", "metadata": {}, "source": [ "# NIRCam CRDS Completeness Check" @@ -9,6 +10,7 @@ }, { "cell_type": "markdown", + "id": "7c8117e4", "metadata": {}, "source": [ "This notebook captures all supported NIRCam configurations (exp_type/detector/subarray/filter/pupil/etc) and queries CRDS using each configuration, in order to be sure that appropriate reference files exist." @@ -16,6 +18,7 @@ }, { "cell_type": "markdown", + "id": "5bc775bc", "metadata": {}, "source": [ "Page listing exp_types and which pipelines they are to be processed through: \n", @@ -27,6 +30,7 @@ }, { "cell_type": "markdown", + "id": "fbe97c38", "metadata": {}, "source": [ "MIMF are all FULL and tagged as NRC_IMAGE\n", @@ -36,6 +40,7 @@ }, { "cell_type": "markdown", + "id": "21cbbacc", "metadata": {}, "source": [ "## Table of Contents" @@ -43,6 +48,7 @@ }, { "cell_type": "markdown", + "id": "d547ecc6", "metadata": {}, "source": [ "*Table of Contents:*,\n", @@ -95,6 +101,7 @@ }, { "cell_type": "markdown", + "id": "012488f0", "metadata": {}, "source": [ "make sure you have the right exp_types for engineering imaging. It can be several values. right now I think I'm using only nrc_image" @@ -103,6 +110,21 @@ { "cell_type": "code", "execution_count": null, + "id": "06d11647", + "metadata": {}, + "outputs": [], + "source": [ + "import os \n", + "\n", + "# Specify path and server as TEST\n", + "os.environ['CRDS_PATH'] = '/grp/crds/jwst/'\n", + "os.environ['CRDS_SERVER_URL'] = \"https://jwst-crds.stsci.edu\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "83bfbf87", "metadata": {}, "outputs": [], "source": [ @@ -112,8 +134,17 @@ "from crds import CrdsLookupError" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "df7529c3", + "metadata": {}, + "outputs": [], + "source": [] + }, { "cell_type": "markdown", + "id": "2db285b4", "metadata": {}, "source": [ "---\n", @@ -124,6 +155,7 @@ { "cell_type": "code", "execution_count": null, + "id": "807ef727", "metadata": {}, "outputs": [], "source": [ @@ -160,6 +192,7 @@ }, { "cell_type": "markdown", + "id": "6f986c60", "metadata": {}, "source": [ "---\n", @@ -169,6 +202,7 @@ }, { "cell_type": "markdown", + "id": "eb9160c6", "metadata": {}, "source": [ "\n", @@ -177,6 +211,7 @@ }, { "cell_type": "markdown", + "id": "5fccf77d", "metadata": {}, "source": [ "NRC_IMAGE data are run through calwebb_detector1, calwebb_image2, and calwebb_image3" @@ -185,6 +220,7 @@ { "cell_type": "code", "execution_count": null, + "id": "331fb5a5", "metadata": {}, "outputs": [], "source": [ @@ -199,6 +235,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3727d3ac", "metadata": {}, "outputs": [], "source": [ @@ -214,6 +251,7 @@ { "cell_type": "code", "execution_count": null, + "id": "6b29d1a8", "metadata": {}, "outputs": [], "source": [ @@ -225,6 +263,7 @@ { "cell_type": "code", "execution_count": null, + "id": "313b7175", "metadata": {}, "outputs": [], "source": [ @@ -235,6 +274,7 @@ }, { "cell_type": "markdown", + "id": "ba3ed3a7", "metadata": {}, "source": [ "\n", @@ -243,6 +283,7 @@ }, { "cell_type": "markdown", + "id": "91fd39cc", "metadata": {}, "source": [ "WFSS data are run through calwebb_detector1, calwebb_spec2, calwebb_spec3" @@ -251,6 +292,7 @@ { "cell_type": "code", "execution_count": null, + "id": "cabf1812", "metadata": {}, "outputs": [], "source": [ @@ -267,6 +309,7 @@ }, { "cell_type": "markdown", + "id": "ae6708dc", "metadata": {}, "source": [ "\n", @@ -275,6 +318,7 @@ }, { "cell_type": "markdown", + "id": "5efdcd9d", "metadata": {}, "source": [ "Imaging Time Series data are run through calwebb_detector1, calwebb_image2, calwebb_tso3" @@ -283,12 +327,13 @@ { "cell_type": "code", "execution_count": null, + "id": "903f4ad6", "metadata": {}, "outputs": [], "source": [ "nrc_tsimg_exptype = 'NRC_TSIMAGE'\n", "nrc_tsimg_sw_detectors = ['NRCB1']\n", - "nrc_tsimg_sw_subarrays = ['FULL', 'SUB400P', 'SUB160P', 'SUB64P']\n", + "nrc_tsimg_sw_subarrays = ['FULLP', 'SUB400P', 'SUB160P', 'SUB64P']\n", "nrc_tsimg_sw_filterpupil = ['F070W/CLEAR', 'F090W/CLEAR', 'F115W/CLEAR', 'F150W/CLEAR',\n", " 'F150W2/CLEAR', 'F200W/CLEAR', 'F140M/CLEAR', 'F182M/CLEAR',\n", " 'F210M/CLEAR', 'F187N/CLEAR', 'F212N/CLEAR', 'WLP4/CLEAR',\n", @@ -299,11 +344,12 @@ { "cell_type": "code", "execution_count": null, + "id": "23cde927", "metadata": {}, "outputs": [], "source": [ "nrc_tsimg_lw_detectors = ['NRCBLONG']\n", - "nrc_tsimg_lw_subarrays = ['FULL', 'SUB400P', 'SUB160P', 'SUB64P']\n", + "nrc_tsimg_lw_subarrays = ['FULLP', 'SUB400P', 'SUB160P', 'SUB64P']\n", "nrc_tsimg_lw_filterpupil = ['F277W/CLEAR', 'F322W2/CLEAR', 'F356W/CLEAR', 'F444W/CLEAR',\n", " 'F250M/CLEAR', 'F300M/CLEAR', 'F335M/CLEAR', 'F360M/CLEAR',\n", " 'F410M/CLEAR', 'F430M/CLEAR', 'F460M/CLEAR', 'F480M/CLEAR',\n", @@ -313,6 +359,7 @@ }, { "cell_type": "markdown", + "id": "873925fc", "metadata": {}, "source": [ "These combinations are for data that are collected contemporaneously with grism time\n", @@ -322,6 +369,7 @@ { "cell_type": "code", "execution_count": null, + "id": "858fc19c", "metadata": {}, "outputs": [], "source": [ @@ -333,6 +381,7 @@ }, { "cell_type": "markdown", + "id": "8e560fbb", "metadata": {}, "source": [ "\n", @@ -341,6 +390,7 @@ }, { "cell_type": "markdown", + "id": "e89a44cf", "metadata": {}, "source": [ "Grism Time Series data are run through calwebb_detector1, calwebb_image2, calwebb_tso3" @@ -349,6 +399,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a6d9c2f2", "metadata": {}, "outputs": [], "source": [ @@ -360,6 +411,7 @@ }, { "cell_type": "markdown", + "id": "4782703d", "metadata": {}, "source": [ "\n", @@ -368,6 +420,7 @@ }, { "cell_type": "markdown", + "id": "95925e1a", "metadata": {}, "source": [ "Coronagraphy data are run through calwebb_detector1, calwebb_image2, calwebb_coron3" @@ -376,6 +429,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f44de8a5", "metadata": {}, "outputs": [], "source": [ @@ -385,17 +439,18 @@ { "cell_type": "code", "execution_count": null, + "id": "f155af25", "metadata": {}, "outputs": [], "source": [ "nrc_coron_sw_round_detectors = ['NRCA2']\n", - "nrc_coron_sw_round_mask = ['MASK210R']\n", - "nrc_coron_sw_subarrays = ['FULL', 'SUB640A210R']\n", + "nrc_coron_sw_round_mask = ['MASKA210R']\n", + "nrc_coron_sw_round_subarrays = ['FULL', 'SUB640A210R']\n", "nrc_coron_sw_round_filterpupils = ['F200W/MASKRND', 'F182M/MASKRND', 'F210M/MASKRND',\n", " 'F187N/MASKRND', 'F212N/MASKRND']\n", "\n", "nrc_coron_sw_bar_detectors = ['NRCA4']\n", - "nrc_coron_sw_bar_mask = ['FULL', 'MASKSWB']\n", + "nrc_coron_sw_bar_mask = ['MASKASWB']\n", "nrc_coron_sw_bar_subarrays = ['FULL', 'SUB640ASWB']\n", "nrc_coron_sw_bar_filterpupils = ['F200W/MASKBAR', 'F182M/MASKBAR', 'F210M/MASKBAR',\n", " 'F187N/MASKBAR', 'F212N/MASKBAR']" @@ -404,24 +459,25 @@ { "cell_type": "code", "execution_count": null, + "id": "f04271af", "metadata": {}, "outputs": [], "source": [ "nrc_coron_lw_detectors = ['NRCALONG']\n", - "nrc_coron_lw_round_335_mask = ['MASK335R']\n", + "nrc_coron_lw_round_335_mask = ['MASKA335R']\n", "nrc_coron_lw_round_335_subarrays = ['FULL', 'SUB320A335R']\n", "nrc_coron_lw_round_335_filterpupils = ['F322W2/MASKRND', 'F356W/MASKRND', 'F250M/MASKRND',\n", " 'F300M/MASKRND', 'F335M/MASKRND', 'F360M/MASKRND',\n", " 'F410M/MASKRND']\n", "\n", - "nrc_coron_lw_round_430_mask = ['MASK430R']\n", + "nrc_coron_lw_round_430_mask = ['MASKA430R']\n", "nrc_coron_lw_round_430_subarrays = ['FULL', 'SUB320A430R']\n", "nrc_coron_lw_round_430_filterpupils = ['F322W2/MASKRND', 'F356W/MASKRND', 'F444W/MASKRND',\n", " 'F250M/MASKRND', 'F300M/MASKRND', 'F335M/MASKRND',\n", " 'F360M/MASKRND', 'F410M/MASKRND', 'F430M/MASKRND',\n", " 'F460M/MASKRND']\n", "\n", - "nrc_coron_lw_bar_mask = ['MASKLWB']\n", + "nrc_coron_lw_bar_mask = ['MASKALWB']\n", "nrc_coron_lw_bar_subarrays = ['FULL', 'SUB320ALWB']\n", "nrc_coron_lw_bar_filterpupils = ['F277W/MASKBAR', 'F356W/MASKBAR', 'F444W/MASKBAR',\n", " 'F250M/MASKBAR', 'F300M/MASKBAR', 'F335M/MASKBAR',\n", @@ -431,6 +487,7 @@ }, { "cell_type": "markdown", + "id": "c826ce62", "metadata": {}, "source": [ "\n", @@ -439,6 +496,7 @@ }, { "cell_type": "markdown", + "id": "92908a49", "metadata": {}, "source": [ "This mode allows just about any filter/pupil/subarray combination. Latest talk is for having engineering imaging data stop after calwebb_detector1, which means no filter-dependent reference files. This makes the check much simpler, as we can just include a single filter/pupil pair in the set of parameters. No need to worry about checking all possible combinations." @@ -447,28 +505,31 @@ { "cell_type": "code", "execution_count": null, + "id": "c227e1fa", "metadata": {}, "outputs": [], "source": [ - "nrc_engimg_sw_detectors = ['NRCB1']\n", - "nrc_engimg_sw_subarrays = ['FULL', 'SUB400P', 'SUB160P', 'SUB64P']\n", + "nrc_engimg_sw_detectors = ['NRCB1', 'NRCA3']\n", + "nrc_engimg_sw_subarrays = ['FULL', 'FULLP', 'SUB400P', 'SUB160P', 'SUB64P']\n", "nrc_engimg_sw_filterpupils = ['F200W/CLEAR']" ] }, { "cell_type": "code", "execution_count": null, + "id": "200662bd", "metadata": {}, "outputs": [], "source": [ - "nrc_engimg_lw_detectors = ['NRCBLONG']\n", - "nrc_engimg_lw_subarrays = ['FULL', 'SUB400P', 'SUB160P', 'SUB64P']\n", + "nrc_engimg_lw_detectors = ['NRCBLONG', 'NRCALONG']\n", + "nrc_engimg_lw_subarrays = ['FULL', 'FULLP', 'SUB400P', 'SUB160P', 'SUB64P']\n", "nrc_engimg_lw_filterpupils = ['F444W/CLEAR']" ] }, { "cell_type": "code", "execution_count": null, + "id": "15fed2ff", "metadata": {}, "outputs": [], "source": [ @@ -479,7 +540,7 @@ " 'F187N/MASKRND', 'F212N/MASKRND']\n", "\n", "nrc_engimg_sw_bar_detectors = ['NRCB3']\n", - "nrc_engimg_sw_bar_mask = ['FULL', 'MASKSWB']\n", + "nrc_engimg_sw_bar_mask = ['MASKSWB']\n", "nrc_engimg_sw_bar_subarrays = ['FULL', 'SUB640BSWB']\n", "nrc_engimg_sw_bar_filterpupils = ['F200W/MASKBAR', 'F182M/MASKBAR', 'F210M/MASKBAR',\n", " 'F187N/MASKBAR', 'F212N/MASKBAR']" @@ -488,6 +549,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8e474d85", "metadata": {}, "outputs": [], "source": [ @@ -516,6 +578,7 @@ { "cell_type": "code", "execution_count": null, + "id": "aecff8b5", "metadata": {}, "outputs": [], "source": [ @@ -529,6 +592,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c41a4115", "metadata": {}, "outputs": [], "source": [] @@ -536,6 +600,7 @@ { "cell_type": "code", "execution_count": null, + "id": "455081de", "metadata": {}, "outputs": [], "source": [ @@ -553,6 +618,7 @@ }, { "cell_type": "markdown", + "id": "da91306d", "metadata": {}, "source": [ "\n", @@ -561,6 +627,7 @@ }, { "cell_type": "markdown", + "id": "29d7e0b1", "metadata": {}, "source": [ "Dark data are run through calwebb_dark" @@ -569,6 +636,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b6108343", "metadata": {}, "outputs": [], "source": [ @@ -584,6 +652,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2b86c0c1", "metadata": {}, "outputs": [], "source": [ @@ -598,6 +667,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e1d2dbf5", "metadata": {}, "outputs": [], "source": [ @@ -608,6 +678,7 @@ { "cell_type": "code", "execution_count": null, + "id": "52d6008e", "metadata": {}, "outputs": [], "source": [ @@ -617,6 +688,7 @@ { "cell_type": "code", "execution_count": null, + "id": "074be8ae", "metadata": {}, "outputs": [], "source": [ @@ -632,6 +704,7 @@ { "cell_type": "code", "execution_count": null, + "id": "19fa54b1", "metadata": {}, "outputs": [], "source": [ @@ -641,6 +714,7 @@ { "cell_type": "code", "execution_count": null, + "id": "03c2a5dd", "metadata": {}, "outputs": [], "source": [ @@ -651,6 +725,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4e4f510b", "metadata": {}, "outputs": [], "source": [ @@ -661,6 +736,7 @@ }, { "cell_type": "markdown", + "id": "4c73d1f9", "metadata": {}, "source": [ "\n", @@ -669,6 +745,7 @@ }, { "cell_type": "markdown", + "id": "b12470d7", "metadata": {}, "source": [ "Target Acquisition data are run through calwebb_detector1 and calwebb_image2" @@ -677,6 +754,7 @@ { "cell_type": "code", "execution_count": null, + "id": "40952e68", "metadata": {}, "outputs": [], "source": [ @@ -685,6 +763,7 @@ }, { "cell_type": "markdown", + "id": "93d7e4a2", "metadata": {}, "source": [ "#### Coronagraphy" @@ -693,6 +772,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a76a83af", "metadata": {}, "outputs": [], "source": [ @@ -710,6 +790,7 @@ { "cell_type": "code", "execution_count": null, + "id": "587860d9", "metadata": {}, "outputs": [], "source": [ @@ -726,6 +807,7 @@ }, { "cell_type": "markdown", + "id": "34103420", "metadata": {}, "source": [ "#### Imaging Time Series" @@ -734,6 +816,7 @@ { "cell_type": "code", "execution_count": null, + "id": "743f725d", "metadata": {}, "outputs": [], "source": [ @@ -744,6 +827,7 @@ }, { "cell_type": "markdown", + "id": "cccc1638", "metadata": {}, "source": [ "#### Grism Time Series" @@ -752,6 +836,7 @@ { "cell_type": "code", "execution_count": null, + "id": "cac81999", "metadata": {}, "outputs": [], "source": [ @@ -762,6 +847,7 @@ }, { "cell_type": "markdown", + "id": "23f85966", "metadata": {}, "source": [ "\n", @@ -770,6 +856,7 @@ }, { "cell_type": "markdown", + "id": "603d443a", "metadata": {}, "source": [ "These parameters match the coronagraphy TA parameters above.\n", @@ -779,6 +866,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fbe5ff58", "metadata": {}, "outputs": [], "source": [ @@ -788,6 +876,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c786055e", "metadata": {}, "outputs": [], "source": [ @@ -805,6 +894,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ecb92683", "metadata": {}, "outputs": [], "source": [ @@ -821,6 +911,7 @@ }, { "cell_type": "markdown", + "id": "5ef2adde", "metadata": {}, "source": [ "\n", @@ -829,6 +920,7 @@ }, { "cell_type": "markdown", + "id": "c97a5cf9", "metadata": {}, "source": [ "It appears that NRC_FOCUS data can be taken with any combination of filter/pupil (at least, they are all selectable in APT)\n", @@ -839,6 +931,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e6301979", "metadata": {}, "outputs": [], "source": [ @@ -881,6 +974,7 @@ { "cell_type": "code", "execution_count": null, + "id": "69223194", "metadata": {}, "outputs": [], "source": [ @@ -928,6 +1022,7 @@ }, { "cell_type": "markdown", + "id": "863d1a1f", "metadata": {}, "source": [ "\n", @@ -936,6 +1031,7 @@ }, { "cell_type": "markdown", + "id": "f6df0186", "metadata": {}, "source": [ "NRC_FLAT data will be processed through calwebb_detector1" @@ -944,6 +1040,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8b35ebfc", "metadata": {}, "outputs": [], "source": [ @@ -959,6 +1056,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a734ffd3", "metadata": {}, "outputs": [], "source": [ @@ -973,6 +1071,7 @@ { "cell_type": "code", "execution_count": null, + "id": "169233d7", "metadata": {}, "outputs": [], "source": [ @@ -987,6 +1086,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a2000a10", "metadata": {}, "outputs": [], "source": [ @@ -1000,6 +1100,7 @@ }, { "cell_type": "markdown", + "id": "646b8086", "metadata": {}, "source": [ "\n", @@ -1008,6 +1109,7 @@ }, { "cell_type": "markdown", + "id": "5ea5cded", "metadata": {}, "source": [ "NRC_LED data will be processed through calwebb_detector1, so no need to worry about filter/pupil combinations" @@ -1016,6 +1118,7 @@ { "cell_type": "code", "execution_count": null, + "id": "62e1fa34", "metadata": {}, "outputs": [], "source": [ @@ -1028,6 +1131,7 @@ { "cell_type": "code", "execution_count": null, + "id": "9677cd4b", "metadata": {}, "outputs": [], "source": [ @@ -1038,6 +1142,7 @@ }, { "cell_type": "markdown", + "id": "4b7618b7", "metadata": {}, "source": [ "\n", @@ -1046,6 +1151,7 @@ }, { "cell_type": "markdown", + "id": "4e9227ec", "metadata": {}, "source": [ "NRC_GRISM data will be processed through calwebb_detector1 - This exp_type should only come about when using engineering imaging with the grism in place." @@ -1054,6 +1160,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b8b1ac71", "metadata": {}, "outputs": [], "source": [ @@ -1071,6 +1178,7 @@ { "cell_type": "code", "execution_count": null, + "id": "706a7370", "metadata": {}, "outputs": [], "source": [ @@ -1081,12 +1189,14 @@ { "cell_type": "code", "execution_count": null, + "id": "b02391eb", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", + "id": "4e6325f4", "metadata": {}, "source": [ "---\n", @@ -1097,6 +1207,7 @@ { "cell_type": "code", "execution_count": null, + "id": "5d75ee9f", "metadata": {}, "outputs": [], "source": [ @@ -1122,6 +1233,7 @@ " missing = False\n", " for entry in config_list:\n", " query = query_crds(entry, reffiles)\n", + " \n", " if 'MISSING' in query.values():\n", " missing = True\n", " missing_types = [filetype for filetype, val in query.items() if val == 'MISSING']\n", @@ -1142,6 +1254,7 @@ { "cell_type": "code", "execution_count": null, + "id": "dc58bd76", "metadata": {}, "outputs": [], "source": [ @@ -1209,6 +1322,7 @@ { "cell_type": "code", "execution_count": null, + "id": "aef79e8a", "metadata": {}, "outputs": [], "source": [ @@ -1238,6 +1352,7 @@ { "cell_type": "code", "execution_count": null, + "id": "13654862", "metadata": {}, "outputs": [], "source": [ @@ -1308,6 +1423,7 @@ { "cell_type": "code", "execution_count": null, + "id": "25fbc127", "metadata": {}, "outputs": [], "source": [ @@ -1342,6 +1458,7 @@ }, { "cell_type": "markdown", + "id": "558ec48c", "metadata": {}, "source": [ "---\n", @@ -1351,6 +1468,7 @@ }, { "cell_type": "markdown", + "id": "051a0ce2", "metadata": {}, "source": [ "\n", @@ -1360,6 +1478,7 @@ { "cell_type": "code", "execution_count": null, + "id": "da9714ac", "metadata": {}, "outputs": [], "source": [ @@ -1381,6 +1500,7 @@ { "cell_type": "code", "execution_count": null, + "id": "45e2c328", "metadata": {}, "outputs": [], "source": [ @@ -1402,6 +1522,7 @@ { "cell_type": "code", "execution_count": null, + "id": "7ef48d64", "metadata": {}, "outputs": [], "source": [ @@ -1411,6 +1532,7 @@ }, { "cell_type": "markdown", + "id": "9e7991b9", "metadata": {}, "source": [ "\n", @@ -1420,6 +1542,7 @@ { "cell_type": "code", "execution_count": null, + "id": "d22c3d43", "metadata": {}, "outputs": [], "source": [ @@ -1433,6 +1556,7 @@ }, { "cell_type": "markdown", + "id": "cc3e8dc0", "metadata": {}, "source": [ "\n", @@ -1442,6 +1566,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f5ab19c2", "metadata": {}, "outputs": [], "source": [ @@ -1459,6 +1584,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f9cad33b", "metadata": {}, "outputs": [], "source": [ @@ -1475,6 +1601,7 @@ }, { "cell_type": "markdown", + "id": "ea62c072", "metadata": {}, "source": [ "\n", @@ -1484,6 +1611,7 @@ { "cell_type": "code", "execution_count": null, + "id": "cf8ed36f", "metadata": {}, "outputs": [], "source": [ @@ -1497,6 +1625,7 @@ }, { "cell_type": "markdown", + "id": "896f3d4c", "metadata": {}, "source": [ "\n", @@ -1506,14 +1635,15 @@ { "cell_type": "code", "execution_count": null, + "id": "eb408851", "metadata": {}, "outputs": [], "source": [ "nrc_coron_sw_round_lvl1 = list_of_dictionaries(nrc_coron_exptype, nrc_coron_sw_round_detectors,\n", - " nrc_coron_sw_subarrays, nrc_coron_sw_round_filterpupils,\n", + " nrc_coron_sw_round_subarrays, nrc_coron_sw_round_filterpupils,\n", " detector1=True)\n", "nrc_coron_sw_bar_lvl1 = list_of_dictionaries(nrc_coron_exptype, nrc_coron_sw_bar_detectors,\n", - " nrc_coron_sw_subarrays, nrc_coron_sw_bar_filterpupils,\n", + " nrc_coron_sw_bar_subarrays, nrc_coron_sw_bar_filterpupils,\n", " detector1=True)\n", "nrc_coron_lw_round_335_lvl1 = list_of_dictionaries(nrc_coron_exptype, nrc_coron_lw_detectors,\n", " nrc_coron_lw_round_335_subarrays,\n", @@ -1532,15 +1662,16 @@ { "cell_type": "code", "execution_count": null, + "id": "04f412f0", "metadata": {}, "outputs": [], "source": [ "nrc_coron_sw_round_lvl2 = list_of_dictionaries(nrc_coron_exptype, nrc_coron_sw_round_detectors,\n", - " nrc_coron_sw_subarrays, nrc_coron_sw_round_filterpupils,\n", + " nrc_coron_sw_round_subarrays, nrc_coron_sw_round_filterpupils,\n", " coronmasks=nrc_coron_sw_round_mask,\n", " detector1=False)\n", "nrc_coron_sw_bar_lvl2 = list_of_dictionaries(nrc_coron_exptype, nrc_coron_sw_bar_detectors,\n", - " nrc_coron_sw_subarrays, nrc_coron_sw_bar_filterpupils,\n", + " nrc_coron_sw_bar_subarrays, nrc_coron_sw_bar_filterpupils,\n", " coronmasks=nrc_coron_sw_bar_mask,\n", " detector1=False)\n", "nrc_coron_lw_round_335_lvl2 = list_of_dictionaries(nrc_coron_exptype, nrc_coron_lw_detectors,\n", @@ -1562,6 +1693,7 @@ }, { "cell_type": "markdown", + "id": "da1b25d5", "metadata": {}, "source": [ "\n", @@ -1570,6 +1702,7 @@ }, { "cell_type": "markdown", + "id": "8a12c9f5", "metadata": {}, "source": [ "Engineering imaging data are only processed through calwebb_detector1. Since none of the reference files used in there depend on filters or coronagraphic masks, we don't need to specify those here." @@ -1578,6 +1711,7 @@ { "cell_type": "code", "execution_count": null, + "id": "804d5d12", "metadata": {}, "outputs": [], "source": [ @@ -1592,6 +1726,7 @@ { "cell_type": "code", "execution_count": null, + "id": "6f924da6", "metadata": {}, "outputs": [], "source": [ @@ -1610,6 +1745,7 @@ { "cell_type": "code", "execution_count": null, + "id": "11344376", "metadata": {}, "outputs": [], "source": [ @@ -1633,6 +1769,7 @@ { "cell_type": "code", "execution_count": null, + "id": "df89becf", "metadata": {}, "outputs": [], "source": [ @@ -1649,6 +1786,7 @@ { "cell_type": "code", "execution_count": null, + "id": "1673d5ed", "metadata": {}, "outputs": [], "source": [ @@ -1664,6 +1802,7 @@ }, { "cell_type": "markdown", + "id": "b8883e4f", "metadata": {}, "source": [ "\n", @@ -1672,6 +1811,7 @@ }, { "cell_type": "markdown", + "id": "27e83431", "metadata": {}, "source": [ "NRC_DARK data are only processed through a specialized version of calwebb_detector1" @@ -1680,6 +1820,7 @@ { "cell_type": "code", "execution_count": null, + "id": "18f21bbc", "metadata": {}, "outputs": [], "source": [ @@ -1691,6 +1832,7 @@ { "cell_type": "code", "execution_count": null, + "id": "6bc60eff", "metadata": {}, "outputs": [], "source": [ @@ -1702,6 +1844,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2f959e59", "metadata": {}, "outputs": [], "source": [ @@ -1713,6 +1856,7 @@ { "cell_type": "code", "execution_count": null, + "id": "83826fe5", "metadata": {}, "outputs": [], "source": [ @@ -1724,6 +1868,7 @@ { "cell_type": "code", "execution_count": null, + "id": "053a6d1c", "metadata": {}, "outputs": [], "source": [ @@ -1735,6 +1880,7 @@ { "cell_type": "code", "execution_count": null, + "id": "66d64322", "metadata": {}, "outputs": [], "source": [ @@ -1745,6 +1891,7 @@ }, { "cell_type": "markdown", + "id": "2eeff22c", "metadata": {}, "source": [ "\n", @@ -1754,6 +1901,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f07d10b8", "metadata": {}, "outputs": [], "source": [ @@ -1765,6 +1913,7 @@ { "cell_type": "code", "execution_count": null, + "id": "047028a4", "metadata": {}, "outputs": [], "source": [ @@ -1776,6 +1925,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f36936b9", "metadata": {}, "outputs": [], "source": [ @@ -1789,6 +1939,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3ca0e78b", "metadata": {}, "outputs": [], "source": [ @@ -1802,6 +1953,7 @@ { "cell_type": "code", "execution_count": null, + "id": "32dc652b", "metadata": {}, "outputs": [], "source": [ @@ -1815,6 +1967,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8504bba6", "metadata": {}, "outputs": [], "source": [ @@ -1826,6 +1979,7 @@ { "cell_type": "code", "execution_count": null, + "id": "6d1bb02c", "metadata": {}, "outputs": [], "source": [ @@ -1837,6 +1991,7 @@ { "cell_type": "code", "execution_count": null, + "id": "315fdca5", "metadata": {}, "outputs": [], "source": [ @@ -1848,6 +2003,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ae0dd6b8", "metadata": {}, "outputs": [], "source": [ @@ -1859,6 +2015,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fa889ffa", "metadata": {}, "outputs": [], "source": [ @@ -1872,6 +2029,7 @@ { "cell_type": "code", "execution_count": null, + "id": "36afe42c", "metadata": {}, "outputs": [], "source": [ @@ -1885,6 +2043,7 @@ { "cell_type": "code", "execution_count": null, + "id": "aa0e1c9b", "metadata": {}, "outputs": [], "source": [ @@ -1898,6 +2057,7 @@ { "cell_type": "code", "execution_count": null, + "id": "713d8e5d", "metadata": {}, "outputs": [], "source": [ @@ -1909,6 +2069,7 @@ { "cell_type": "code", "execution_count": null, + "id": "042be645", "metadata": {}, "outputs": [], "source": [ @@ -1919,6 +2080,7 @@ }, { "cell_type": "markdown", + "id": "10a64cdd", "metadata": {}, "source": [ "\n", @@ -1928,6 +2090,7 @@ { "cell_type": "code", "execution_count": null, + "id": "66a94b87", "metadata": {}, "outputs": [], "source": [ @@ -1939,6 +2102,7 @@ { "cell_type": "code", "execution_count": null, + "id": "9e1d6300", "metadata": {}, "outputs": [], "source": [ @@ -1950,6 +2114,7 @@ { "cell_type": "code", "execution_count": null, + "id": "366fde61", "metadata": {}, "outputs": [], "source": [ @@ -1963,6 +2128,7 @@ { "cell_type": "code", "execution_count": null, + "id": "718af45f", "metadata": {}, "outputs": [], "source": [ @@ -1976,6 +2142,7 @@ { "cell_type": "code", "execution_count": null, + "id": "76960ab2", "metadata": {}, "outputs": [], "source": [ @@ -1989,6 +2156,7 @@ { "cell_type": "code", "execution_count": null, + "id": "713d55d3", "metadata": {}, "outputs": [], "source": [ @@ -2000,6 +2168,7 @@ { "cell_type": "code", "execution_count": null, + "id": "66c89c87", "metadata": {}, "outputs": [], "source": [ @@ -2011,6 +2180,7 @@ { "cell_type": "code", "execution_count": null, + "id": "797c4cb6", "metadata": {}, "outputs": [], "source": [ @@ -2024,6 +2194,7 @@ { "cell_type": "code", "execution_count": null, + "id": "03872114", "metadata": {}, "outputs": [], "source": [ @@ -2037,6 +2208,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a649914f", "metadata": {}, "outputs": [], "source": [ @@ -2049,6 +2221,7 @@ }, { "cell_type": "markdown", + "id": "95ea39ea", "metadata": {}, "source": [ "\n", @@ -2058,6 +2231,7 @@ { "cell_type": "code", "execution_count": null, + "id": "d1958895", "metadata": {}, "outputs": [], "source": [ @@ -2075,6 +2249,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fcebb112", "metadata": {}, "outputs": [], "source": [ @@ -2091,6 +2266,7 @@ }, { "cell_type": "markdown", + "id": "42d92a89", "metadata": {}, "source": [ "\n", @@ -2100,6 +2276,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2edfc0f8", "metadata": {}, "outputs": [], "source": [ @@ -2122,6 +2299,7 @@ }, { "cell_type": "markdown", + "id": "bbb127cc", "metadata": {}, "source": [ "\n", @@ -2131,6 +2309,7 @@ { "cell_type": "code", "execution_count": null, + "id": "864022a0", "metadata": {}, "outputs": [], "source": [ @@ -2145,6 +2324,7 @@ }, { "cell_type": "markdown", + "id": "1644f1c1", "metadata": {}, "source": [ "\n", @@ -2154,6 +2334,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c3a92267", "metadata": {}, "outputs": [], "source": [ @@ -2167,6 +2348,7 @@ }, { "cell_type": "markdown", + "id": "d4095137", "metadata": {}, "source": [ "---\n", @@ -2176,6 +2358,7 @@ }, { "cell_type": "markdown", + "id": "8e1897ac", "metadata": {}, "source": [ "\n", @@ -2184,6 +2367,7 @@ }, { "cell_type": "markdown", + "id": "59c107f3", "metadata": {}, "source": [ "Imaging mode data run through calwebb_detector1, calwebb_image2, and calwebb_image3, so we need to check for reference files associated with all three." @@ -2192,6 +2376,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fec9998f", "metadata": {}, "outputs": [], "source": [ @@ -2201,6 +2386,7 @@ { "cell_type": "code", "execution_count": null, + "id": "bf693fba", "metadata": {}, "outputs": [], "source": [ @@ -2210,6 +2396,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f4e84fc4", "metadata": {}, "outputs": [], "source": [ @@ -2218,6 +2405,7 @@ }, { "cell_type": "markdown", + "id": "b6d2d433", "metadata": {}, "source": [ "\n", @@ -2227,6 +2415,7 @@ { "cell_type": "code", "execution_count": null, + "id": "47efbe1d", "metadata": {}, "outputs": [], "source": [ @@ -2236,6 +2425,7 @@ { "cell_type": "code", "execution_count": null, + "id": "37993716", "metadata": {}, "outputs": [], "source": [ @@ -2245,6 +2435,7 @@ { "cell_type": "code", "execution_count": null, + "id": "da9b9086", "metadata": {}, "outputs": [], "source": [ @@ -2253,6 +2444,7 @@ }, { "cell_type": "markdown", + "id": "cc77eb4f", "metadata": {}, "source": [ "\n", @@ -2262,6 +2454,7 @@ { "cell_type": "code", "execution_count": null, + "id": "9201198f", "metadata": {}, "outputs": [], "source": [ @@ -2271,6 +2464,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ff33448b", "metadata": {}, "outputs": [], "source": [ @@ -2280,6 +2474,7 @@ { "cell_type": "code", "execution_count": null, + "id": "16131cbf", "metadata": {}, "outputs": [], "source": [ @@ -2289,6 +2484,7 @@ { "cell_type": "code", "execution_count": null, + "id": "157ddbd5", "metadata": {}, "outputs": [], "source": [ @@ -2298,6 +2494,7 @@ { "cell_type": "code", "execution_count": null, + "id": "5a210653", "metadata": {}, "outputs": [], "source": [ @@ -2307,6 +2504,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f48d47fa", "metadata": {}, "outputs": [], "source": [ @@ -2316,6 +2514,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a9690dd3", "metadata": {}, "outputs": [], "source": [ @@ -2325,6 +2524,7 @@ { "cell_type": "code", "execution_count": null, + "id": "671bdf78", "metadata": {}, "outputs": [], "source": [ @@ -2334,6 +2534,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e6480be0", "metadata": {}, "outputs": [], "source": [ @@ -2342,6 +2543,7 @@ }, { "cell_type": "markdown", + "id": "9184cf1f", "metadata": {}, "source": [ "\n", @@ -2351,6 +2553,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3e74d56e", "metadata": {}, "outputs": [], "source": [ @@ -2360,6 +2563,7 @@ { "cell_type": "code", "execution_count": null, + "id": "df1cebea", "metadata": {}, "outputs": [], "source": [ @@ -2369,6 +2573,7 @@ { "cell_type": "code", "execution_count": null, + "id": "727c0691", "metadata": {}, "outputs": [], "source": [ @@ -2377,6 +2582,7 @@ }, { "cell_type": "markdown", + "id": "88a1f052", "metadata": {}, "source": [ "\n", @@ -2386,6 +2592,7 @@ { "cell_type": "code", "execution_count": null, + "id": "666eaaab", "metadata": {}, "outputs": [], "source": [ @@ -2395,6 +2602,7 @@ { "cell_type": "code", "execution_count": null, + "id": "94489aa3", "metadata": {}, "outputs": [], "source": [ @@ -2404,6 +2612,7 @@ { "cell_type": "code", "execution_count": null, + "id": "5a8f99e9", "metadata": {}, "outputs": [], "source": [ @@ -2413,6 +2622,7 @@ { "cell_type": "code", "execution_count": null, + "id": "151d3954", "metadata": {}, "outputs": [], "source": [ @@ -2422,6 +2632,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2ece4b03", "metadata": {}, "outputs": [], "source": [ @@ -2431,6 +2642,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c809f560", "metadata": {}, "outputs": [], "source": [ @@ -2440,6 +2652,7 @@ { "cell_type": "code", "execution_count": null, + "id": "24d18111", "metadata": {}, "outputs": [], "source": [ @@ -2449,6 +2662,7 @@ { "cell_type": "code", "execution_count": null, + "id": "617f052e", "metadata": {}, "outputs": [], "source": [ @@ -2458,6 +2672,7 @@ { "cell_type": "code", "execution_count": null, + "id": "90e4a7c7", "metadata": {}, "outputs": [], "source": [ @@ -2467,6 +2682,7 @@ { "cell_type": "code", "execution_count": null, + "id": "d7a01e3d", "metadata": {}, "outputs": [], "source": [ @@ -2476,6 +2692,7 @@ { "cell_type": "code", "execution_count": null, + "id": "42a812c3", "metadata": {}, "outputs": [], "source": [ @@ -2485,6 +2702,7 @@ { "cell_type": "code", "execution_count": null, + "id": "76a2e9bf", "metadata": {}, "outputs": [], "source": [ @@ -2494,6 +2712,7 @@ { "cell_type": "code", "execution_count": null, + "id": "eb0fd3d3", "metadata": {}, "outputs": [], "source": [ @@ -2503,6 +2722,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2cb3e545", "metadata": {}, "outputs": [], "source": [ @@ -2512,6 +2732,7 @@ { "cell_type": "code", "execution_count": null, + "id": "5770da44", "metadata": {}, "outputs": [], "source": [ @@ -2520,6 +2741,7 @@ }, { "cell_type": "markdown", + "id": "6a0b129a", "metadata": {}, "source": [ "\n", @@ -2529,6 +2751,7 @@ { "cell_type": "code", "execution_count": null, + "id": "26450066", "metadata": {}, "outputs": [], "source": [ @@ -2538,6 +2761,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4243205a", "metadata": {}, "outputs": [], "source": [ @@ -2547,6 +2771,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2f4a9e2c", "metadata": {}, "outputs": [], "source": [ @@ -2556,6 +2781,7 @@ { "cell_type": "code", "execution_count": null, + "id": "702f578f", "metadata": {}, "outputs": [], "source": [ @@ -2565,6 +2791,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2cb38b78", "metadata": {}, "outputs": [], "source": [ @@ -2574,6 +2801,7 @@ { "cell_type": "code", "execution_count": null, + "id": "dda2aed5", "metadata": {}, "outputs": [], "source": [ @@ -2583,6 +2811,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ebf06643", "metadata": {}, "outputs": [], "source": [ @@ -2591,6 +2820,7 @@ }, { "cell_type": "markdown", + "id": "fcbc9688", "metadata": {}, "source": [ "How important are the missing reference files above? Will anyone be using engineering imaging with the coronagraphic masks in place?" @@ -2599,6 +2829,7 @@ { "cell_type": "code", "execution_count": null, + "id": "da9d14f5", "metadata": {}, "outputs": [], "source": [ @@ -2608,6 +2839,7 @@ { "cell_type": "code", "execution_count": null, + "id": "db705037", "metadata": {}, "outputs": [], "source": [ @@ -2617,6 +2849,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2af0299f", "metadata": {}, "outputs": [], "source": [ @@ -2626,6 +2859,7 @@ { "cell_type": "code", "execution_count": null, + "id": "306223a9", "metadata": {}, "outputs": [], "source": [ @@ -2634,6 +2868,7 @@ }, { "cell_type": "markdown", + "id": "4afcc354", "metadata": {}, "source": [ "\n", @@ -2643,6 +2878,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a05d4afe", "metadata": {}, "outputs": [], "source": [ @@ -2652,6 +2888,7 @@ { "cell_type": "code", "execution_count": null, + "id": "90873c82", "metadata": {}, "outputs": [], "source": [ @@ -2661,6 +2898,7 @@ { "cell_type": "code", "execution_count": null, + "id": "0e58a0c3", "metadata": {}, "outputs": [], "source": [ @@ -2670,6 +2908,7 @@ { "cell_type": "code", "execution_count": null, + "id": "520ede97", "metadata": {}, "outputs": [], "source": [ @@ -2679,6 +2918,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3823142e", "metadata": {}, "outputs": [], "source": [ @@ -2688,6 +2928,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4c3534c9", "metadata": {}, "outputs": [], "source": [ @@ -2696,6 +2937,7 @@ }, { "cell_type": "markdown", + "id": "a77b4e73", "metadata": {}, "source": [ "There must be more modes that need to be covered here?? Or since we're not subtracting a dark from these, all the reference files we are looking for are full-frame?" @@ -2703,6 +2945,7 @@ }, { "cell_type": "markdown", + "id": "330c2fb6", "metadata": {}, "source": [ "\n", @@ -2712,6 +2955,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e986abcd", "metadata": {}, "outputs": [], "source": [ @@ -2721,6 +2965,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fb342d0c", "metadata": {}, "outputs": [], "source": [ @@ -2730,6 +2975,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8df3925d", "metadata": {}, "outputs": [], "source": [ @@ -2739,6 +2985,7 @@ { "cell_type": "code", "execution_count": null, + "id": "07f3481d", "metadata": {}, "outputs": [], "source": [ @@ -2748,6 +2995,7 @@ { "cell_type": "code", "execution_count": null, + "id": "895d5858", "metadata": {}, "outputs": [], "source": [ @@ -2756,6 +3004,7 @@ }, { "cell_type": "markdown", + "id": "052a5350", "metadata": {}, "source": [ "TA files will eventually be processed through level 2b. " @@ -2764,6 +3013,7 @@ { "cell_type": "code", "execution_count": null, + "id": "640bba14", "metadata": {}, "outputs": [], "source": [ @@ -2773,6 +3023,7 @@ { "cell_type": "code", "execution_count": null, + "id": "6f35d19a", "metadata": {}, "outputs": [], "source": [ @@ -2782,6 +3033,7 @@ { "cell_type": "code", "execution_count": null, + "id": "69386c30", "metadata": {}, "outputs": [], "source": [ @@ -2791,6 +3043,7 @@ { "cell_type": "code", "execution_count": null, + "id": "6e5f8fb0", "metadata": {}, "outputs": [], "source": [ @@ -2800,6 +3053,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3fb2ba00", "metadata": {}, "outputs": [], "source": [ @@ -2808,6 +3062,7 @@ }, { "cell_type": "markdown", + "id": "e251017f", "metadata": {}, "source": [ "\n", @@ -2817,6 +3072,7 @@ { "cell_type": "code", "execution_count": null, + "id": "90469a32", "metadata": {}, "outputs": [], "source": [ @@ -2826,6 +3082,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2bd97b65", "metadata": {}, "outputs": [], "source": [ @@ -2835,6 +3092,7 @@ { "cell_type": "code", "execution_count": null, + "id": "253e908c", "metadata": {}, "outputs": [], "source": [ @@ -2844,6 +3102,7 @@ { "cell_type": "code", "execution_count": null, + "id": "7591aecd", "metadata": {}, "outputs": [], "source": [ @@ -2853,6 +3112,7 @@ { "cell_type": "code", "execution_count": null, + "id": "be73e929", "metadata": {}, "outputs": [], "source": [ @@ -2862,6 +3122,7 @@ { "cell_type": "code", "execution_count": null, + "id": "28fe82d0", "metadata": {}, "outputs": [], "source": [ @@ -2871,6 +3132,7 @@ { "cell_type": "code", "execution_count": null, + "id": "beafdb93", "metadata": {}, "outputs": [], "source": [ @@ -2880,6 +3142,7 @@ { "cell_type": "code", "execution_count": null, + "id": "262d93a3", "metadata": {}, "outputs": [], "source": [ @@ -2889,6 +3152,7 @@ { "cell_type": "code", "execution_count": null, + "id": "598686db", "metadata": {}, "outputs": [], "source": [ @@ -2898,6 +3162,7 @@ { "cell_type": "code", "execution_count": null, + "id": "680fc4ba", "metadata": {}, "outputs": [], "source": [ @@ -2906,6 +3171,7 @@ }, { "cell_type": "markdown", + "id": "b749c63a", "metadata": {}, "source": [ "TA confirmation files will eventually also be processed through level 2b??" @@ -2914,6 +3180,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ada1eabf", "metadata": {}, "outputs": [], "source": [ @@ -2923,6 +3190,7 @@ { "cell_type": "code", "execution_count": null, + "id": "07f5d212", "metadata": {}, "outputs": [], "source": [ @@ -2932,6 +3200,7 @@ { "cell_type": "code", "execution_count": null, + "id": "108ca565", "metadata": {}, "outputs": [], "source": [ @@ -2941,6 +3210,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8b39a02d", "metadata": {}, "outputs": [], "source": [ @@ -2950,6 +3220,7 @@ { "cell_type": "code", "execution_count": null, + "id": "5f0612fe", "metadata": {}, "outputs": [], "source": [ @@ -2958,6 +3229,7 @@ }, { "cell_type": "markdown", + "id": "fe76b2d4", "metadata": {}, "source": [ "\n", @@ -2967,6 +3239,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fecdea94", "metadata": {}, "outputs": [], "source": [ @@ -2976,6 +3249,7 @@ { "cell_type": "code", "execution_count": null, + "id": "bcdb8fb0", "metadata": {}, "outputs": [], "source": [ @@ -2985,6 +3259,7 @@ { "cell_type": "code", "execution_count": null, + "id": "7a829b4e", "metadata": {}, "outputs": [], "source": [ @@ -2994,6 +3269,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3960fbf3", "metadata": {}, "outputs": [], "source": [ @@ -3002,6 +3278,7 @@ }, { "cell_type": "markdown", + "id": "ecb62d39", "metadata": {}, "source": [ "\n", @@ -3011,6 +3288,7 @@ { "cell_type": "code", "execution_count": null, + "id": "76b3928d", "metadata": {}, "outputs": [], "source": [ @@ -3020,6 +3298,7 @@ { "cell_type": "code", "execution_count": null, + "id": "67767a6c", "metadata": {}, "outputs": [], "source": [ @@ -3029,6 +3308,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8b1b5694", "metadata": {}, "outputs": [], "source": [ @@ -3038,6 +3318,7 @@ { "cell_type": "code", "execution_count": null, + "id": "433bd061", "metadata": {}, "outputs": [], "source": [ @@ -3046,6 +3327,7 @@ }, { "cell_type": "markdown", + "id": "15b74e88", "metadata": {}, "source": [ "\n", @@ -3055,6 +3337,7 @@ { "cell_type": "code", "execution_count": null, + "id": "45e6c407", "metadata": {}, "outputs": [], "source": [ @@ -3064,6 +3347,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a629460e", "metadata": {}, "outputs": [], "source": [ @@ -3072,6 +3356,7 @@ }, { "cell_type": "markdown", + "id": "eb47a31a", "metadata": {}, "source": [ "---\n", @@ -3081,6 +3366,7 @@ }, { "cell_type": "markdown", + "id": "45f66cf8", "metadata": {}, "source": [ "### Imaging" @@ -3089,6 +3375,7 @@ { "cell_type": "code", "execution_count": null, + "id": "542c85d6", "metadata": {}, "outputs": [], "source": [ @@ -3098,6 +3385,7 @@ { "cell_type": "code", "execution_count": null, + "id": "aeb78555", "metadata": {}, "outputs": [], "source": [ @@ -3107,6 +3395,7 @@ { "cell_type": "code", "execution_count": null, + "id": "9fbe5d39", "metadata": {}, "outputs": [], "source": [ @@ -3115,6 +3404,7 @@ }, { "cell_type": "markdown", + "id": "5554be33", "metadata": {}, "source": [ "### WFSS" @@ -3123,6 +3413,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b13137d3", "metadata": {}, "outputs": [], "source": [ @@ -3132,6 +3423,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fb8055a3", "metadata": {}, "outputs": [], "source": [ @@ -3141,6 +3433,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e957883e", "metadata": {}, "outputs": [], "source": [ @@ -3149,6 +3442,7 @@ }, { "cell_type": "markdown", + "id": "48855b9c", "metadata": {}, "source": [ "### Imaging Time Series" @@ -3157,6 +3451,7 @@ { "cell_type": "code", "execution_count": null, + "id": "668ef6af", "metadata": {}, "outputs": [], "source": [ @@ -3166,6 +3461,7 @@ { "cell_type": "code", "execution_count": null, + "id": "11839650", "metadata": {}, "outputs": [], "source": [ @@ -3175,6 +3471,163 @@ { "cell_type": "code", "execution_count": null, + "id": "b3e14e56", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8d74eda0", + "metadata": {}, + "outputs": [], + "source": [ + "nrc_coron_sw_bar_lvl1" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1f4518a6", + "metadata": {}, + "outputs": [], + "source": [ + "level1b_reffiles" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5fc32075", + "metadata": {}, + "outputs": [], + "source": [ + "query_crds(nrc_tsimg_sw_lvl1[0], level1b_reffiles)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9002cca7", + "metadata": {}, + "outputs": [], + "source": [ + "crds.getrecommendations(nrc_tsimg_sw_lvl1[0], reftypes=level1b_reffiles)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b62867bc", + "metadata": {}, + "outputs": [], + "source": [ + "from copy import deepcopy" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7c7379b7", + "metadata": {}, + "outputs": [], + "source": [ + "testpars = deepcopy(nrc_tsimg_sw_lvl1[0])\n", + "testpars['EXP_TYPE'] = 'NRC_DARK'\n", + "print(testpars)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8235c32e", + "metadata": {}, + "outputs": [], + "source": [ + "crds.getrecommendations(testpars, reftypes=level1b_reffiles)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "3da58264", + "metadata": {}, + "outputs": [], + "source": [ + "for ele in nrc_image_lvl1:\n", + " if ele['SUBARRAY'] == 'FULLP':\n", + " print(ele)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cea0dd9c", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "71b9a493", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "0c5def26", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "ca0913d4", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6b843801", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "38a9844c", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b49c4f02", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e803ad2a", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "55f1af55", "metadata": {}, "outputs": [], "source": [ @@ -3184,6 +3637,7 @@ { "cell_type": "code", "execution_count": null, + "id": "8cb20add", "metadata": {}, "outputs": [], "source": [ @@ -3193,6 +3647,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4da028a6", "metadata": {}, "outputs": [], "source": [ @@ -3202,6 +3657,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4dc5bc78", "metadata": {}, "outputs": [], "source": [ @@ -3211,6 +3667,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4f1c7858", "metadata": {}, "outputs": [], "source": [ @@ -3220,6 +3677,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fd7d8464", "metadata": {}, "outputs": [], "source": [ @@ -3229,6 +3687,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b11f08cb", "metadata": {}, "outputs": [], "source": [ @@ -3237,6 +3696,7 @@ }, { "cell_type": "markdown", + "id": "918f377e", "metadata": {}, "source": [ "### Grism Time Series" @@ -3245,6 +3705,7 @@ { "cell_type": "code", "execution_count": null, + "id": "abe44faa", "metadata": {}, "outputs": [], "source": [ @@ -3254,6 +3715,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3c27488c", "metadata": {}, "outputs": [], "source": [ @@ -3263,6 +3725,7 @@ { "cell_type": "code", "execution_count": null, + "id": "08602a89", "metadata": {}, "outputs": [], "source": [ @@ -3271,6 +3734,7 @@ }, { "cell_type": "markdown", + "id": "48f2dbdb", "metadata": {}, "source": [ "### Coronagraphy" @@ -3279,6 +3743,7 @@ { "cell_type": "code", "execution_count": null, + "id": "09e67544", "metadata": {}, "outputs": [], "source": [ @@ -3288,6 +3753,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4ef8f182", "metadata": {}, "outputs": [], "source": [ @@ -3297,6 +3763,7 @@ { "cell_type": "code", "execution_count": null, + "id": "abaffa21", "metadata": {}, "outputs": [], "source": [ @@ -3306,6 +3773,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b17f6fdf", "metadata": {}, "outputs": [], "source": [ @@ -3315,6 +3783,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3a30a7be", "metadata": {}, "outputs": [], "source": [ @@ -3324,6 +3793,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c66e0050", "metadata": {}, "outputs": [], "source": [ @@ -3333,6 +3803,7 @@ { "cell_type": "code", "execution_count": null, + "id": "df87adf7", "metadata": {}, "outputs": [], "source": [ @@ -3342,6 +3813,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b60c6c15", "metadata": {}, "outputs": [], "source": [ @@ -3351,6 +3823,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b9d54b5b", "metadata": {}, "outputs": [], "source": [ @@ -3360,6 +3833,7 @@ { "cell_type": "code", "execution_count": null, + "id": "66b7bf03", "metadata": {}, "outputs": [], "source": [ @@ -3369,6 +3843,7 @@ { "cell_type": "code", "execution_count": null, + "id": "a3127bda", "metadata": {}, "outputs": [], "source": [ @@ -3378,6 +3853,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fb082090", "metadata": {}, "outputs": [], "source": [ @@ -3387,6 +3863,7 @@ { "cell_type": "code", "execution_count": null, + "id": "58afc85e", "metadata": {}, "outputs": [], "source": [ @@ -3396,6 +3873,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4e425d66", "metadata": {}, "outputs": [], "source": [ @@ -3405,6 +3883,7 @@ { "cell_type": "code", "execution_count": null, + "id": "0662b736", "metadata": {}, "outputs": [], "source": [ @@ -3413,6 +3892,7 @@ }, { "cell_type": "markdown", + "id": "1b98d894", "metadata": {}, "source": [ "### Engineering Imaging" @@ -3421,6 +3901,7 @@ { "cell_type": "code", "execution_count": null, + "id": "1152a38c", "metadata": {}, "outputs": [], "source": [ @@ -3430,6 +3911,7 @@ { "cell_type": "code", "execution_count": null, + "id": "10c97150", "metadata": {}, "outputs": [], "source": [ @@ -3439,6 +3921,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ac042669", "metadata": {}, "outputs": [], "source": [ @@ -3448,6 +3931,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4e925256", "metadata": {}, "outputs": [], "source": [ @@ -3457,6 +3941,7 @@ { "cell_type": "code", "execution_count": null, + "id": "d33a72ca", "metadata": {}, "outputs": [], "source": [ @@ -3466,6 +3951,7 @@ { "cell_type": "code", "execution_count": null, + "id": "acc0f99e", "metadata": {}, "outputs": [], "source": [ @@ -3475,6 +3961,7 @@ { "cell_type": "code", "execution_count": null, + "id": "0757961f", "metadata": {}, "outputs": [], "source": [ @@ -3484,6 +3971,7 @@ { "cell_type": "code", "execution_count": null, + "id": "16e1aeac", "metadata": {}, "outputs": [], "source": [ @@ -3493,6 +3981,7 @@ { "cell_type": "code", "execution_count": null, + "id": "d52d3339", "metadata": {}, "outputs": [], "source": [ @@ -3502,6 +3991,7 @@ { "cell_type": "code", "execution_count": null, + "id": "d603d93f", "metadata": {}, "outputs": [], "source": [ @@ -3511,6 +4001,7 @@ { "cell_type": "code", "execution_count": null, + "id": "1db14ae0", "metadata": {}, "outputs": [], "source": [ @@ -3519,6 +4010,7 @@ }, { "cell_type": "markdown", + "id": "f39b37bc", "metadata": {}, "source": [ "\n", @@ -3528,6 +4020,7 @@ { "cell_type": "code", "execution_count": null, + "id": "9439ba29", "metadata": {}, "outputs": [], "source": [ @@ -3537,6 +4030,7 @@ { "cell_type": "code", "execution_count": null, + "id": "bfed47a2", "metadata": {}, "outputs": [], "source": [ @@ -3546,6 +4040,7 @@ { "cell_type": "code", "execution_count": null, + "id": "2562f6e5", "metadata": {}, "outputs": [], "source": [ @@ -3555,6 +4050,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c6a4c380", "metadata": {}, "outputs": [], "source": [ @@ -3564,6 +4060,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b104e744", "metadata": {}, "outputs": [], "source": [ @@ -3573,6 +4070,7 @@ { "cell_type": "code", "execution_count": null, + "id": "4204ed07", "metadata": {}, "outputs": [], "source": [ @@ -3581,6 +4079,7 @@ }, { "cell_type": "markdown", + "id": "54b0614e", "metadata": {}, "source": [ "\n", @@ -3590,6 +4089,7 @@ { "cell_type": "code", "execution_count": null, + "id": "73ed4ea3", "metadata": {}, "outputs": [], "source": [ @@ -3599,6 +4099,7 @@ { "cell_type": "code", "execution_count": null, + "id": "49faee3d", "metadata": {}, "outputs": [], "source": [ @@ -3608,6 +4109,7 @@ { "cell_type": "code", "execution_count": null, + "id": "5b3ef697", "metadata": {}, "outputs": [], "source": [ @@ -3617,6 +4119,7 @@ { "cell_type": "code", "execution_count": null, + "id": "717e9f9c", "metadata": {}, "outputs": [], "source": [ @@ -3626,6 +4129,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f0abac79", "metadata": {}, "outputs": [], "source": [ @@ -3634,6 +4138,7 @@ }, { "cell_type": "markdown", + "id": "93fd98c9", "metadata": {}, "source": [ "TA files will eventually be processed through level 2b. " @@ -3642,6 +4147,7 @@ { "cell_type": "code", "execution_count": null, + "id": "00421e8d", "metadata": {}, "outputs": [], "source": [ @@ -3651,6 +4157,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3e870bca", "metadata": {}, "outputs": [], "source": [ @@ -3660,6 +4167,7 @@ { "cell_type": "code", "execution_count": null, + "id": "43c96d92", "metadata": {}, "outputs": [], "source": [ @@ -3669,6 +4177,7 @@ { "cell_type": "code", "execution_count": null, + "id": "dc0fe367", "metadata": {}, "outputs": [], "source": [ @@ -3678,6 +4187,7 @@ { "cell_type": "code", "execution_count": null, + "id": "ab978175", "metadata": {}, "outputs": [], "source": [ @@ -3686,6 +4196,7 @@ }, { "cell_type": "markdown", + "id": "092b989b", "metadata": {}, "source": [ "\n", @@ -3695,6 +4206,7 @@ { "cell_type": "code", "execution_count": null, + "id": "96367b9b", "metadata": {}, "outputs": [], "source": [ @@ -3704,6 +4216,7 @@ { "cell_type": "code", "execution_count": null, + "id": "78a1450d", "metadata": {}, "outputs": [], "source": [ @@ -3713,6 +4226,7 @@ { "cell_type": "code", "execution_count": null, + "id": "c6d1776e", "metadata": {}, "outputs": [], "source": [ @@ -3722,6 +4236,7 @@ { "cell_type": "code", "execution_count": null, + "id": "08bf30de", "metadata": {}, "outputs": [], "source": [ @@ -3731,6 +4246,7 @@ { "cell_type": "code", "execution_count": null, + "id": "896c27f6", "metadata": {}, "outputs": [], "source": [ @@ -3740,6 +4256,7 @@ { "cell_type": "code", "execution_count": null, + "id": "1fe2e591", "metadata": {}, "outputs": [], "source": [ @@ -3749,6 +4266,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3c2caff1", "metadata": {}, "outputs": [], "source": [ @@ -3758,6 +4276,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e56bcad7", "metadata": {}, "outputs": [], "source": [ @@ -3767,6 +4286,7 @@ { "cell_type": "code", "execution_count": null, + "id": "05278576", "metadata": {}, "outputs": [], "source": [ @@ -3776,6 +4296,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f94c68d7", "metadata": {}, "outputs": [], "source": [ @@ -3784,6 +4305,7 @@ }, { "cell_type": "markdown", + "id": "e8641848", "metadata": {}, "source": [ "\n", @@ -3793,6 +4315,7 @@ { "cell_type": "code", "execution_count": null, + "id": "b1951e64", "metadata": {}, "outputs": [], "source": [ @@ -3802,6 +4325,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3ddcee85", "metadata": {}, "outputs": [], "source": [ @@ -3811,6 +4335,7 @@ { "cell_type": "code", "execution_count": null, + "id": "f82a2694", "metadata": {}, "outputs": [], "source": [ @@ -3820,6 +4345,7 @@ { "cell_type": "code", "execution_count": null, + "id": "693d3098", "metadata": {}, "outputs": [], "source": [ @@ -3828,6 +4354,7 @@ }, { "cell_type": "markdown", + "id": "ab8af79f", "metadata": {}, "source": [ "\n", @@ -3837,6 +4364,7 @@ { "cell_type": "code", "execution_count": null, + "id": "7269936c", "metadata": {}, "outputs": [], "source": [ @@ -3846,6 +4374,7 @@ { "cell_type": "code", "execution_count": null, + "id": "3d8cb29e", "metadata": {}, "outputs": [], "source": [ @@ -3855,6 +4384,7 @@ { "cell_type": "code", "execution_count": null, + "id": "67bce2af", "metadata": {}, "outputs": [], "source": [ @@ -3864,6 +4394,7 @@ { "cell_type": "code", "execution_count": null, + "id": "36daeeb9", "metadata": {}, "outputs": [], "source": [ @@ -3872,6 +4403,7 @@ }, { "cell_type": "markdown", + "id": "b18640a2", "metadata": {}, "source": [ "\n", @@ -3881,6 +4413,7 @@ { "cell_type": "code", "execution_count": null, + "id": "e78e9ba0", "metadata": {}, "outputs": [], "source": [ @@ -3890,6 +4423,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fff88f86", "metadata": {}, "outputs": [], "source": [ @@ -3899,7 +4433,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -3913,7 +4447,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.7" + "version": "3.9.6" } }, "nbformat": 4,