{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"top\"></a>\n",
    "# Examples\n",
    "pyMez documentaion contains interactive examples in jupyter explaining the package itself, general themes in programming and data analysis and specific examples pertinent to laboratory work.\n",
    "<table style='border-style:none;'>\n",
    "<tr style=\"border-style:none;\">\n",
    "<td style=\"border-style:none;\">\n",
    "<a href=\"#Design\"><button type=\"button\" class='btn btn-primary'>\n",
    "<span style=\"font-size:20px\">Design</span></button></a> \n",
    "</td>\n",
    "<td style=\"border-style:none;\">\n",
    "<a href=\"#InstrumentControl\">\n",
    "<button type=\"button\" class='btn btn-primary'>\n",
    "<span style=\"font-size:20px\">Instrument Control</span></button></a> \n",
    "</td>\n",
    "<td style=\"border-style:none;\">\n",
    "<a href=\"#Analysis\">\n",
    "<button type=\"button\" class='btn btn-primary'>\n",
    "<span style=\"font-size:20px\">Analysis</span></button></a> \n",
    "</td>\n",
    "<td style=\"border-style:none;\">\n",
    "<a href=\"#DataHandlers\">\n",
    "<button type=\"button\" class='btn btn-primary'>\n",
    "<span style=\"font-size:20px\">Data Handling</span></button></a> \n",
    "</td>\n",
    "\n",
    "</tr>\n",
    "<tr style=\"border-style:none;\">\n",
    "<td style=\"border-style:none;\" colspan=\"2\">\n",
    "<a href=\"#General\"><button type=\"button\" class='btn btn-primary'>\n",
    "<span style=\"font-size:20px\">General Examples</span></button></a> \n",
    "</td>\n",
    "<td style=\"border-style:none;\"  colspan=\"2\">\n",
    "<a href=\"#Lab\">\n",
    "<button type=\"button\" class='btn btn-primary'>\n",
    "<span style=\"font-size:20px\">Laboratory Examples</span></button></a> \n",
    "</td>\n",
    "\n",
    "\n",
    "</tr>\n",
    "</table>\n",
    "\n",
    "<h2> pyMez Specific Examples</h2> \n",
    "Examples specific to the pyMez package."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"Design\"></a>\n",
    "\n",
    "<h3>Design Examples</h3>\n",
    "<ul><li>\n",
    "<a href=\"./pyMez_Module_Specification.ipynb\">Module Structure for pyMez</a><br/>\n",
    "An example of naming and module design in pyMez.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Development_Stack.ipynb\">Development Environment</a><br/>\n",
    "A detailed description of the software installed on my computer during development of pyMez.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./pyMez_Format_Handling.ipynb\">pyMez Format Handling</a><br/>\n",
    "A detailed description of the formats that pyMez was designed to handle. It was written 10/2016 and may be slightly dated.\n",
    "</li></ul>\n",
    "\n",
    "\n",
    "<a href=\"#top\"><button type=\"button\" class='btn btn-primary'><span style=\"font-size:20px\">Top</span></button></a> "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"InstrumentControl\"></a>\n",
    "<h3>InstrumentControl Examples</h3>\n",
    "<ul><li>\n",
    "<a href=\"./VNA_Data_Acquisition_Example.ipynb\">Simple VNA Measurement Example</a><br/>\n",
    "An example of taking scattering parameters and wave parameters from a VNA. \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./VNA_Measurement_Example_WR15.ipynb\">WR15 VNA Measurement Example</a><br/>\n",
    "An example of using the VNA class to measure one-port and two-port scattering and wave parameters and then save them. These measurements use the ZVA67 with a WR15 extension head at 50-75GHz.This is more of a lab example but shows the VNA class in action.  \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Fake_Instrument_Control_Example.ipynb\">Example of Fake Instrument</a><br/>\n",
    "An example of the FakeInstrument mode that occurs when the device is not connected. It serves as a diagnostic to show the commands that get sent by any class. \n",
    "</li></ul>\n",
    "\n",
    "\n",
    "<a href=\"#top\"><button type=\"button\" class='btn btn-primary'><span style=\"font-size:20px\">Top</span></button></a> "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"Analysis\"></a>\n",
    "<h3>Analysis Examples</h3>\n",
    "<ul><li>\n",
    "<a href=\"./Fitting_Example.ipynb\">Fitting Example</a><br/>\n",
    "An example of how to use FunctionalModel and DataSimulator models to fit and synthesize data\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Interpolation_Example.ipynb\">Interpolation Example</a><br/>\n",
    "An example of how to interpolate a data table keeping the metadata and header\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./ProgramAnalysis_Example.ipynb\">Program Analysis</a><br/>\n",
    "An example of how to create a function diagram using the ProgramAnalysis module\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Applying_Calibration_Example.ipynb\">Applying a Calibration</a><br/>\n",
    "An example of how to apply a two port calibration in s4p format to a two port file in s2p format.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Calrep_Example.ipynb\">Calrep Example</a><br/>\n",
    "An example of how to create uncertainties using calibration report program.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Creating_Checkstandard_Report_Example.ipynb\">Check Standard Report Example</a><br/>\n",
    "An example of how to create HTML reports that summarize the checkstandard measurements for a particular device.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Creating_Comparing_Reference_Curves_MUFModels.ipynb\">MUF Reference Curve Example</a><br/>\n",
    "An example of how to create a reference curve using a MUF .meas file and support directory. Also has a brief example of the DataHandler MUFMeasurement. \n",
    "</li></ul>\n",
    "\n",
    "\n",
    "<a href=\"#top\"><button type=\"button\" class='btn btn-primary'><span style=\"font-size:20px\">Top</span></button></a> "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"DataHandlers\"></a>\n",
    "<h3>DataHandlers Examples</h3>\n",
    "<ul><li>\n",
    "<a href=\"./TouchstoneModels_Example.ipynb\">Touchstone (.s2p) Example</a><br/>\n",
    "An example of how to use the classes in TouchstoneModels to deal with .snp files\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Converting_s2p_xml_example.ipynb\">Converting s2p to XML and an Interactive Html Sheet</a><br/>\n",
    "An example of how to convert s2p to a xml file then to an interactive html file and html class. \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./AsciiDataTable_Example.ipynb\">AsciiDataTable Example</a><br/>\n",
    "An example of how to use the classes in GeneralModels to deal with a table with a header/footer and with an arbitrary set of formatting.\n",
    "</li>\n",
    "\n",
    "<li>\n",
    "<a href=\"./XML_Log_Example.ipynb\">XML Log Example</a><br/>\n",
    "An example of how to use the classes in XMLModels to deal with logging activity\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./ZipArchive_Example.ipynb\">ZipArchive Example</a><br/>\n",
    "An example of how to use the classes in ZipModels to create, save and add files to a zip file.</li>\n",
    "<li>\n",
    "<a href=\"./Graph_Model_Transformation_Table_Example.ipynb\">Table Graph Example</a><br/>\n",
    "An example of how to use the classes in GraphModels to change data formats of a table.</li>\n",
    "<a href=\"./File_Register_Example.ipynb\">File_Register_Example</a><br/>\n",
    "An example of how to use the FileRegister class to create a xml table of files and an html link representation</li></ul>\n",
    "\n",
    "\n",
    "<a href=\"#top\"><button type=\"button\" class='btn btn-primary'><span style=\"font-size:20px\">Top</span></button></a> "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"General\"></a>\n",
    "<h2>General Examples </h2>\n",
    "Examples for general tasks in python and related packages.\n",
    "<ul><li>\n",
    "<a href=\"./Python_Jupyter_Introduction.ipynb\">General Python and Jupyter Intro </a><br/>\n",
    "An introduction to using python and the jupyter notebook with examples in python/jupyter setup, basic data types, functions, classes, plotting, interactive design, and instrument control \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Example_Plots.ipynb\">Example Plots </a><br/>\n",
    "An example of interactive plots in jupyter.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./HTML_CSS_Javascript_Example.ipynb\">An example of HTML, CSS and Javascript </a><br/>\n",
    "A description of creating html pages with formating and basic javascript.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Linear_Simulation_Fit.ipynb\">An example of a Linear Fit </a><br/>\n",
    "A description of creating a linear fit and interactive plotting with residuals.\n",
    "</li></ul>\n",
    "\n",
    "\n",
    "<a href=\"#top\"><button type=\"button\" class='btn btn-primary'><span style=\"font-size:20px\">Top</span></button></a> "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<a id=\"Lab\"></a>\n",
    "<h2>Lab Examples </h2>\n",
    "Examples pertinent to work in my laboratory.\n",
    "<ul><li>\n",
    "<a href=\"./Automating_MUF_Example.ipynb\">Automating MUF Example</a><br/>\n",
    "An example of running the MUF as a script in python. The example covers running several applications such as VNAUncert, Measurement and PostProcessor using pythonnet. Additionally, there is an example using pyMez to create a series of MUF results for a set of different Monte Carlo trials.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Error_Correction_Comparison_Reciprocal_Non.ipynb\">Comparison of using the StatistiCAL package and pyMez to apply corrections </a><br/>\n",
    "A comparison of correcting from 12 term corrections and 8-term corrections both reciprocal and non-reciprocal generated by statistiCAL and applied by both pyMez and StatistiCAL. The ultimate result is they agree (statistiCAL only applies the reciprocal ones).  \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./PNAGrabber_MUF_Example.ipynb\">A work flow for PNA Grabber and Microwave Uncertainty Framework</a><br/>\n",
    "An introduction to using the NIST* software in two-port microwave calibrations. \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Data_Guidance_Group_01.ipynb\">General Data Guidance for XML/Ascii Data </a><br/>\n",
    "General data guidance for storing data more effectively in 672.01 \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Data_Transformation_Check_Standard.ipynb\">Example of creating check standard and dut database </a><br/>\n",
    "A detailed description of how to create a de-normalized database using the ascii.dut and converted check standard data.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Current_Acquistion_Analysis_Routine_SParameter.ipynb\">Description of our current data processing scheme in Sparameters </a><br/>\n",
    "An outlined description of how we take data currently and places we need improvement. In addition, an outline of the imporvement needed at each step.\n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Git_Work_Flow.ipynb\">Git Work Flow For Single Contributor </a><br/>\n",
    "An outline of my Git work flow for a single contributor.  \n",
    "</li>\n",
    "<li>\n",
    "<a href=\"./Refactoring_VNAFreqV8_Example.ipynb\">Refactoring a python program example </a><br/>\n",
    "A set of thoughts and steps to refactor code to make it more shareable.\n",
    "</li></ul>\n",
    "\n",
    "\n",
    "<a href=\"#top\"><button type=\"button\" class='btn btn-primary'><span style=\"font-size:20px\">Top</span></button></a> "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "`* This work and any depencies are not endorsed by the National Institute of Standards and Technology`"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
