Skip to content

Instantly share code, notes, and snippets.

@marissawalker
marissawalker / ligo_data_animation.ipynb
Last active May 23, 2020 16:56
LIGO_data_animation.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@marissawalker
marissawalker / ligo-scattering-animation.py
Created May 23, 2020 15:41 — forked from duncanmmacleod/ligo-scattering-animation.py
Animation of impact of beam scattering noise on spectral sensitivity of LIGO-Hanford gravitational wave detector
#!/usr/bin/env python
"""Load, filter, and plot LIGO-Hanford data including optical scattering noise
"""
import glob
import os
import subprocess
from matplotlib import (pyplot, rcParams)
@marissawalker
marissawalker / plotbbh.py
Last active April 3, 2018 00:35
Plot trajectories of black holes from a horizons.h5 file
import h5py
from numpy import array, multiply, divide, add, average
from matplotlib import use
use('agg')
from matplotlib import pyplot as plt
import argparse
import os
# read command line
# example command: