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
#!/usr/bin/env python | |
# JE Touma ([email protected]) | |
# 2014.05.17 | |
import json | |
import sys | |
import os.path | |
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
#include <string> | |
#include <iostream> | |
#include "H5Cpp.h" | |
#define MAX_NAME_LENGTH 32 | |
const std::string FileName("SimpleCompound.h5"); | |
const std::string DatasetName("PersonalInformation"); | |
const std::string member_age("Age"); | |
const std::string member_sex("Sex"); | |
const std::string member_name("Name"); |
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 |
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
% 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
% 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
% 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
% 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
% Author: JE Touma ([email protected]) | |
% Finite difference method - implicit stencil | |
\documentclass{article} | |
\usepackage{tikz} | |
\usepackage{siunitx} | |
\usetikzlibrary{calc,decorations.pathmorphing,patterns} | |
\begin{document} |
OlderNewer