This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Author: JE Touma (aitatanit@gmail.com) | |
% Finite difference method - crank-nicolson stencil | |
\documentclass{article} | |
\usepackage{tikz} | |
\usepackage{siunitx} | |
\usetikzlibrary{calc,decorations.pathmorphing,patterns} | |
\begin{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Author: JE Touma (aitatanit@gmail.com) | |
% Finite difference method - explicit stencil | |
\documentclass{article} | |
\usepackage{tikz} | |
\usepackage{siunitx} | |
\usetikzlibrary{calc,decorations.pathmorphing,patterns} | |
\begin{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Author: JE Touma (aitatanit@gmail.com) | |
% Finite difference method - implicit stencil | |
\documentclass{article} | |
\usepackage{tikz} | |
\usepackage{siunitx} | |
\usetikzlibrary{calc,decorations.pathmorphing,patterns} | |
\begin{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% EM Wave propagating in the Z-direction | |
% Author: Jimmy Touma | |
% adapted from: Cyril Langlois (http://www.texample.net/tikz/examples/polarizing-microscope/) | |
\documentclass[11pt]{article} | |
\usepackage{tikz} | |
\usetikzlibrary{arrows} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Multiple reflections in thin film | |
% Author: Jimmy Touma | |
% adapted from: Jimi Oke (http://www.texample.net/tikz/examples/refraction/) | |
\documentclass[11pt]{article} | |
\usepackage{tikz} | |
\usetikzlibrary{% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Oblique Incidence - TM Mode (P-Polarization) | |
% Author: Jimmy Touma (10/27/2016) | |
% | |
% Adapted from: | |
% Edgar Fuentes (Club de LaTeX UC member) | |
% http://www.texample.net/tikz/examples/oblique-incidence/ | |
\documentclass{article} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Oblique Incidence - TE Mode (S-Polarization) | |
% Author: Jimmy Touma (10/27/2016) | |
% | |
% Adapted from: | |
% Edgar Fuentes (Club de LaTeX UC member) | |
% http://www.texample.net/tikz/examples/oblique-incidence/ | |
\documentclass{article} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Given an arbitrarily nested dictionary, create a PyTables Table | |
Populate a table row given the contents of a dictionary | |
""" | |
import tables | |
import numpy as np | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Given an arbitrarily nested dictionary, create a PyTables Table | |
Populate a table row given the contents of a dictionary | |
""" | |
import tables | |
import numpy as np | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: test libtest.so testmodule | |
libtest.so: libtest.o | |
$(CC) -shared -o $@ $< -lc | |
test: test_main.c libtest.o | |
$(CC) -o $@ $? | |
testmodule: testmodule.c | |
python setup.py build |
NewerOlder