summaryrefslogtreecommitdiff
path: root/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-03-06 23:30:10 +0600
committerTrupti Kini2016-03-06 23:30:10 +0600
commitf78ea80ea8da9f42637ce019f233895e0638b230 (patch)
tree3ef9791b558642676567bf2b4dc94f9b38a57c31 /Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb
parent22e17d795629cfe00e03435f879cfd07f27e096a (diff)
downloadPython-Textbook-Companions-f78ea80ea8da9f42637ce019f233895e0638b230.tar.gz
Python-Textbook-Companions-f78ea80ea8da9f42637ce019f233895e0638b230.tar.bz2
Python-Textbook-Companions-f78ea80ea8da9f42637ce019f233895e0638b230.zip
Added(A)/Deleted(D) following books
A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter10.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter12.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter13.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter14.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter2.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter3.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter4.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter5.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter6.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter7.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter8.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter9.ipynb A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/screenshots/1.png A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/screenshots/2.png A Fiber_Optics_and_Optoelectronics_by_R._P._Khare/screenshots/3.png A sample_notebooks/LalitKumar/Ch3.ipynb
Diffstat (limited to 'Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb')
-rw-r--r--Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb143
1 files changed, 143 insertions, 0 deletions
diff --git a/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb b/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb
new file mode 100644
index 00000000..613347fe
--- /dev/null
+++ b/Fiber_Optics_and_Optoelectronics_by_R._P._Khare/Chapter11.ipynb
@@ -0,0 +1,143 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter11 - Wavelength-division multiplexing"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 11.1 : Page 277"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "interaction length = 0.785 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, asin\n",
+ "#interaction length \n",
+ "po=1##assume\n",
+ "p1=po/2##\n",
+ "p2=p1##\n",
+ "kl=asin(sqrt(p1))##in degree\n",
+ "print \"interaction length = %0.3f \"%kl\n",
+ "#answer is in the form of pi in the textbook"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 11.2 : Page 279"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "output port positioned at 0.7492 mm with respect to the input port will gather signals at h1=1310nm\n",
+ "output port positioned at 0.6117 mm with respect to the input port will gather signals at h1=1550nm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#position \n",
+ "a=8.2##in micro meter\n",
+ "n1=1.45##\n",
+ "n2=1.446##\n",
+ "h1=1.31##in micro meter\n",
+ "h2=1.55##/in micro meter\n",
+ "v1=((2*pi*a*sqrt(n1**2-n2**2))/h1)##\n",
+ "v2=((2*pi*a*sqrt(n1**2-n2**2))/h2)##\n",
+ "db=2.439##\n",
+ "Del=5.5096*10**-3##\n",
+ "k1=1.0483##mm**-1##\n",
+ "k2=1.2839#/m**-1\n",
+ "l1=((pi)/(4*k1))##in mm\n",
+ "l2=((pi)/(4*k2))##in mm\n",
+ "print \"output port positioned at %0.4f\"%(l1),\" mm with respect to the input port will gather signals at h1=1310nm\"\n",
+ "print \"output port positioned at %0.4f\"%(l2),\" mm with respect to the input port will gather signals at h1=1550nm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 11.4 : Page 286"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "required order of the arrayed waveguide, = 121.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "# ARRAYED GUIDE\n",
+ "#given data\n",
+ "c=3*10**8#\n",
+ "lamda_c=1.55*10**-6## in m\n",
+ "vc=c/lamda_c#\n",
+ "n=16## number of channel\n",
+ "f=100*10**9## in Hz\n",
+ "delV_FSR=n*f#\n",
+ "m=round(vc/delV_FSR)#\n",
+ "print \"required order of the arrayed waveguide, = \",m"
+ ]
+ }
+ ],
+ "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.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}