Skip to content

Commit

Permalink
do not regenerate svg files
Browse files Browse the repository at this point in the history
  • Loading branch information
scottprahl committed May 5, 2024
1 parent a34062a commit c6edc9a
Show file tree
Hide file tree
Showing 13 changed files with 2,220 additions and 710 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ Cylindrical fibers with step index profiles
:align: center
:alt: Mode Irradiance

.. image:: https://raw.githubusercontent.com/scottprahl/ofiber/master/docs/internalmodes.svg
:target: https://ofiber.readthedocs.io/en/latest/4-Circular-Step-Index-Fiber.html
:align: center
:alt: Internal Modes

Far-field emission for step index fibers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion docs/1-Refractive-Index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
"plt.text(1400, -10, 'Waveguide Dispersion', color='orange')\n",
"plt.axvline(1315, color='black', linewidth=0.5)\n",
"plt.text(1300, 10,' zero dispersion λ', rotation=90)\n",
"plt.savefig('dispersion.svg')\n",
"#plt.savefig('dispersion.svg')\n",
"plt.show()"
]
},
Expand Down
6 changes: 3 additions & 3 deletions docs/4-Circular-Step-Index-Fiber.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
"plt.xlabel(\"V-parameter\")\n",
"plt.ylabel('Propagation Constant b')\n",
"plt.title('Modes in a step-index Fiber')\n",
"plt.savefig('stepindexmodes.svg')\n",
"#plt.savefig('stepindexmodes.svg')\n",
"plt.show()"
]
},
Expand Down Expand Up @@ -532,7 +532,7 @@
"plt.title('Step-index fiber, V=%.2f'%V)\n",
"plt.ylim(0,10)\n",
"plt.xlim(-1.2,1.2)\n",
"plt.savefig('modeirradiance.svg')\n",
"#plt.savefig('modeirradiance.svg')\n",
"plt.show()"
]
},
Expand Down Expand Up @@ -721,7 +721,7 @@
"fig.colorbar(cax, ax=ax)\n",
"ax.set_title(r\"LP$_{%d%d}$ Irradiance\" % (ell, em))\n",
"\n",
"plt.savefig('internalmodes.svg')\n",
"#plt.savefig('internalmodes.svg')\n",
"plt.show()\n"
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/6-Zero-Dispersion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
"plt.xlabel(\"Molar Percentage of GeO$_2$\")\n",
"plt.ylabel(\"Dispersion [ps/(km nm)]\")\n",
"plt.title('GeO$_2$ added to SiO$_2$')\n",
"plt.savefig('fiberdesign.svg')\n",
"#plt.savefig('fiberdesign.svg')\n",
"plt.show()"
]
},
Expand Down
172 changes: 70 additions & 102 deletions docs/9-Far-field-irradiance.ipynb

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions docs/dispersion.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c6edc9a

Please sign in to comment.