Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
from matplotlib import rc | |
from daft import PGM, Node, Plate | |
rc("font", family="serif", size=12) | |
rc("text", usetex=True) | |
pgm = PGM([7.0, 4.2], origin=[0.5, 0.2], observed_style='inner') |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
def ellipsoid_dist_sq(x, ell): | |
"""Return the square of each point's distance from the ellipsoid center, | |
relative to ellipsoid boundary. | |
Refered to in Feroz, Hobson & Bridges (2009) as the Mahalanobis distance. | |
Parameters | |
---------- | |
x : `~numpy.ndarray` | |
Points, array with shape (npoints, ndim). |
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 | |
from matplotlib import rc | |
from daft import PGM, Node, Plate | |
rc("font", family="serif", size=12) | |
rc("text", usetex=True) | |
pgm = PGM([7.65, 5.3], origin=[0., -0.2], observed_style='inner') |
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
import time | |
import numpy as np | |
import photutils | |
from collections import OrderedDict | |
c = OrderedDict() | |
name = "Small data, single small aperture" | |
c[name] = {} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer