Skip to content

Instantly share code, notes, and snippets.

View douglase's full-sized avatar
🔭

Ewan Douglas douglase

🔭
View GitHub Profile
@douglase
douglase / The Necessity of oversampling input apertures
Created September 10, 2013 19:47
Sorting out real PSF aberrations from edge effects from undersampled Fourier Transforms in input pupils. View with: http://nbviewer.ipython.org/6514595
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@douglase
douglase / seaborndemo
Last active August 29, 2015 14:10
Seaborn stats plotting demo, this notebook can be viewed at: http://nbviewer.ipython.org/gist/douglase/4efb512cbca9c64aa04b
{
"metadata": {
"name": "",
"signature": "sha256:8adc52322ad0b978dad990e6dfaed74cb649d7a9b16bf8cab3167db34ebd5bee"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@douglase
douglase / .gitmodules
Last active August 29, 2015 14:21
Fresnel Propagation Demos
[submodule "poppy"]
path = poppy
url = git@github.com:douglase/poppy.git
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@douglase
douglase / acronyms.tex
Last active November 24, 2023 23:07
Astronomical and space physics acronyms for use with LaTeX glossaries package.
% astronomical and space physics acronyms for use with LaTeX glossaries package.
%to copy without git, try:
% wget https://gist.githubusercontent.com/douglase/78b39cfa4501f0ce43fe/raw/acronyms.tex
% or if you want to overwrite:
% curl -O https://gist.githubusercontent.com/douglase/78b39cfa4501f0ce43fe/raw/acronyms.tex
% to view online:
% https://gist.github.com/douglase/78b39cfa4501f0ce43fe/
% further documentation and examples:
% https://ctan.org/pkg/glossaries
%inspired by https://tex.stackexchange.com/questions/191406/how-could-a-resonance-energy-levels-diagram-be-made-using-tikz?rq=1
prologues := 3;
outputtemplate := "%j%c.eps";
beginfig(1);
v = 0.2; % vertical unit 0.2bp = 0.567mm
u = 1cm; % horizontal unit
@douglase
douglase / JupyterComputeEngineNotes.md
Last active April 30, 2019 17:09
Jupyter for Astronomical Python on Google Compute Engine
@douglase
douglase / environment.yml
Last active August 4, 2016 05:14
condaENVraids
name: RAIDS
channels:
- https://conda.binstar.org/sherpa
- defaults
dependencies:
- astropy=1.1.2=np110py27_0
- backports=1.0=py27_0
- backports_abc=0.4=py27_0
- h5py=2.6.0=np110py27_1
- hdf5=1.8.16=0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.