{
 "cells": [
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "---\n",
    "title: \"XRay Views - A Reader's Guide\"\n",
    "jupyter: python3\n",
    "format:\n",
    "    html:\n",
    "        mainfont: et-book, Gill Sans, Tahoma, Verdana, Lucida Grande, Helvetica, Arial\n",
    "        monofont: Source Code Pro, Menlo, Monaco, 'Courier New', monospace\n",
    "        backgroundcolor: \"#FFFFF8\"\n",
    "        code-fold: true\n",
    "        code-line-numbers: true\n",
    "---\n",
    "<link rel = \"stylesheet\" type = \"text/css\" href = \"https://www.khipufieldguide.com/css/tufte_fonts.css\">\n",
    "<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Source Code Pro\">\n",
    "<hr/>"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 1. X Ray Views\n",
    "\n",
    "To understand the various types of summations, three types of views are useful:\n",
    "\n",
    "* A [Summand Map](#summand-map-views) - a compressed overview map of \"ribbon\" summand ranges, by sum-cord location, for each of the left and right handed sums\n",
    "* An [X-Ray View](#sum-x-ray-views) - a detailed network graph of sums and summands for the entire khipu for all sums for left-handed, and right-handed sums, respectively.\n",
    "* A List of [Sum Schemas](#sum-schemas) - a compact graphical and detailed textual view of each sum appearing for that kind of Ascher sum\n",
    "\n",
    "Let's review these views in detail. As example studies, let's examine khipus [KH0011](../fieldmarks/pendant_pendant_sum/html/KH0011.html), [KH0056](../fieldmarks/pendant_pendant_sum/html/KH0056.html),  and  [KH0385](../fieldmarks/pendant_pendant_sum/html/KH0385.html)."
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 2. Sum X-Ray Views"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "X-Ray views provide a detailed  visual review of Ascher sums. Again, let's look at the left-handed pendant pendant sums for KH0011 and KH0056. (Click on the images to see the full size images.)\n",
    "<h3><i>Right-Handed Pendant Pendant Sum X-Ray for KH0011</i></h3>\n",
    "<a target=\"_blank\" href=\"../fieldmarks/pendant_pendant_sum/xrays/sketches/KH0011_R.jpg\"><img width=\"944\" src=\"../fieldmarks/pendant_pendant_sum/xrays/sketches/KH0011_R.jpg\"/></a>\n",
    "\n",
    "<h3><i>Left-Handed Pendant Pendant Sum X-Ray for KH0056</i></h3>\n",
    "<a target=\"_blank\" href=\"../fieldmarks/pendant_pendant_sum/xrays/sketches/KH0056_L.jpg\"><img width=\"944\" src=\"../fieldmarks/pendant_pendant_sum/xrays/sketches/KH0056_L.jpg\"/></a>\n",
    "\n",
    "<br/>\n",
    "X-Ray views are arranged with cords of a group in a column. Each square cell in the column represents a cord, and it the center is the cord's knotted value, and it's Ascher color. \n",
    "Sums and Summands have arrows and label pointing to their respective children or parents."
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 4. Sum Schemas"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Sum schemas are visual representations of each sum. \n",
    "\n",
    "The second row for [KH0056](../fieldmarks/pendant_pendant_sum/html/KH0056.html)'s Right-handed sums shows the sum schema for sum cord **p6**. The sum schema image shows the right-handed sum cord (indicated by a black square) and the three summandcords (indicated by black squares - red is right, blue is left).  \n",
    "\n",
    "The textual information is telling us that **p6** is located on group 4, in the 1st position, and has a value of 15. It is a mottled cord of two colors: MB (Moderate Brown) and LC (Dark Grayish Blue). There are three summands from **p11**, **p12** and **p13**. Each is a Black (B) cord or Dark Grayish Blue (LC) color and the sums are 5+5+5. "
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<table style=\"padding-left:80px;\" class=\"sum_table sortable\">\n",
    "    <tr style=\"font-size:14pt;\">\n",
    "        <th>#</th>\n",
    "        <th>Schema Color</th>\n",
    "        <th>Sum Schema</th>\n",
    "        <th style=\"width:120px;\">Sum Cord</th>\n",
    "        <th style=\"width:80px;\">Sum Cord Value</th>\n",
    "        <th style=\"width:120px;\"># Summands</th>\n",
    "        <th style=\"text-align:left;padding-left:30px;\">Summands</th>\n",
    "    </tr>\n",
    "    <tr>\n",
    "        <td class=\"td_sum_counter\">  1</td>\n",
    "        <td class=\"td_background_image\" style=\"background-color:#27B5BB;\"><span style=\"color:#27B5BB\">#27B5BB</span></td>\n",
    "        <td class=\"td_sum_image\" style=\"height:61\"><div class=\"khipu_relationship_snapshot\"><img width=\"103\" height=\"61\" src=\"https://www.khipufieldguide.com/notebook/fieldmarks/pendant_pendant_sum/schemas/KH0056_R_p1.jpg\"/></div></td>\n",
    "        <td class=\"td_sum_position\" ><b>p1</b><sub>1,1</sub>:<span style=\"font-size:14pt;\"><b>20</b></span><sub><small>LC</small></sub></td>\n",
    "        <td class=\"td_sum_value\">20</td>\n",
    "        <td class=\"td_num_summands\">2</td>\n",
    "        <td class=\"td_sum_string\"  style=\"padding-top:10px;border-top:thin solid;\">p8:<span style=\"font-size:14pt;\"><b>10</b></span><sub><small>MB:LC</small></sub> + p9:<span style=\"font-size:14pt;\"><b>10</b></span><sub><small>B</small></sub></td>\n",
    "    </tr>\n",
    "    <tr>\n",
    "        <td class=\"td_sum_counter\">  2</td>\n",
    "        <td class=\"td_background_image\" style=\"background-color:#CA187F;\"><span style=\"color:#CA187F\">#CA187F</span></td>\n",
    "        <td class=\"td_sum_image\" style=\"height:61\"><div class=\"khipu_relationship_snapshot\"><img width=\"103\" height=\"61\" src=\"https://www.khipufieldguide.com/notebook/fieldmarks/pendant_pendant_sum/schemas/KH0056_R_p6.jpg\"/></div></td>\n",
    "        <td class=\"td_sum_position\" ><b>p6</b><sub>4,1</sub>:<span style=\"font-size:14pt;\"><b>15</b></span><sub><small>MB:LC</small></sub></td>\n",
    "        <td class=\"td_sum_value\">15</td>\n",
    "        <td class=\"td_num_summands\">3</td>\n",
    "        <td class=\"td_sum_string\"  style=\"padding-top:10px;border-top:thin solid;\">p11:<span style=\"font-size:14pt;\"><b>5</b></span><sub><small>LC</small></sub> + p12:<span style=\"font-size:14pt;\"><b>5</b></span><sub><small>B</small></sub> + p13:<span style=\"font-size:14pt;\"><b>5</b></span><sub><small>B</small></sub>\n",
    "        </td>\n",
    "    </tr>\n",
    "</table>"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": []
  }
 ],
 "metadata": {
  "hide_input": false,
  "kernelspec": {
   "display_name": "Python 3.9.7 ('k3')",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.0"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "432.390625px"
   },
   "toc_section_display": true,
   "toc_window_display": false
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "position": {
    "height": "1001px",
    "left": "1792px",
    "right": "20px",
    "top": "120px",
    "width": "350px"
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  },
  "vscode": {
   "interpreter": {
    "hash": "df9b677c74e96b08390c21d09147c66890eda01aaf7360804550a39a4b9cadbd"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}