Skip to content

Instantly share code, notes, and snippets.

View jmeyers314's full-sized avatar

Josh Meyers jmeyers314

View GitHub Profile
@jmeyers314
jmeyers314 / Max Observing Season.ipynb
Created February 20, 2016 01:53
LSST maximum observing season
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmeyers314
jmeyers314 / prof.py
Last active October 17, 2016 22:33
Manipulate and evaluate elliptical Sersic and Moffat surface brightness profiles. Also be able to analytically manipulate parameterizations of profile ellipticity and size.
# Tools to analytically manipulate ellipses and some astronomical profiles.
#
# Written by Joshua E. Meyers (2014-2015).
import numpy as np
from scipy.optimize import newton
from scipy.special import gammainc, gamma
import math
from functools import reduce