From c2587e9160687830f66de64cff6fbda54c054395 Mon Sep 17 00:00:00 2001
From: Tyler Thatcher <tdt62@nau.edu>
Date: Mon, 14 May 2018 10:09:43 -0700
Subject: [PATCH] Added covariance matrix

---
 notebooks/Socet2ISIS.ipynb | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/notebooks/Socet2ISIS.ipynb b/notebooks/Socet2ISIS.ipynb
index 345a942..db14164 100644
--- a/notebooks/Socet2ISIS.ipynb
+++ b/notebooks/Socet2ISIS.ipynb
@@ -16,10 +16,12 @@
     "import math\n",
     "import pyproj\n",
     "\n",
+    "\n",
     "# Path to local plio if wanted\n",
-    "sys.path.insert(0, \"/home/tthatcher/Desktop/Projects/Plio/plio\")\n",
+    "sys.path.insert(0, \"/path/to/plio\")\n",
     "\n",
     "from plio.examples import get_path\n",
+    "from collections import defaultdict\n",
     "from plio.io.io_bae import read_gpf, read_ipf\n",
     "import plio.io.io_controlnetwork as cn\n",
     "import plio.io.isis_serial_number as sn"
@@ -188,7 +190,7 @@
     "    else:\n",
     "        return False\n",
     "\n",
-    "# TODO: Does isis cnet need a convariance matrix for sigmas? Even with a static matrix of 1,1,1,1 no output\n",
+    "# TODO: Does isis cnet need a convariance matrix for sigmas? Even with a static matrix of 1,1,1,1 \n",
     "def compute_sigma_covariance_matrix(lat, lon, rad, latsigma, lonsigma, radsigma, semimajor_axis):\n",
     "    \n",
     "    \"\"\"\n",
@@ -351,9 +353,13 @@
     "# atf_file = ('/home/tthatcher/Desktop/Projects/plio_imgs/quest_imgs/CTX_Athabasca_Middle_step0.atf')\n",
     "\n",
     "# Setup stuffs for the cub information namely the path and extension\n",
-    "path = '/home/tthatcher/Desktop/Projects/plio_imgs/correct_imgs/'\n",
+    "path = '/path/where/cub/files/are/'\n",
+    "\n",
+    "# Extension of your cub files\n",
     "extension = '.8bit.cub'\n",
-    "atf_file = ('/where/y')\n",
+    "\n",
+    "# Path to atf file\n",
+    "atf_file = ('/path/to/atf/file')\n",
     "\n",
     "socet_df = socet2isis(atf_file)\n",
     "\n",
-- 
GitLab