Skip to content

Instantly share code, notes, and snippets.

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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adrn
adrn / Cross-match-NSS.ipynb
Created October 31, 2023 21:28
projects/wd-binaries-dr3/notebooks/Cross-match-NSS.ipynb
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adrn
adrn / Figure-fit-Danny-Rg-grid.ipynb
Last active September 29, 2023 11:35
projects/torusimaging-paper2/scripts/Figure-fit-Danny-Rg-grid.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adrn
adrn / Nico-modify-potential-Python-layer.ipynb
Created September 28, 2023 19:50
Moving center of mass potential
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.
@adrn
adrn / emcee_mpi_hotfoot.py
Last active September 25, 2023 06:01
run emcee with MPI on Hotfoot
"""
- Hotfoot is Columbia's shared Astronomy-Statistics supercomputing
cluster.
- Emcee is a kick-ass MCMC black-box for sampling probability
distributions & parameter estimation.
- MPI is a standardized message passing system designed for supporting
and running parallel code.
Emcee is an implementation of an affine-invariant, ensemble sampler --
key words here being *ensemple sampler*. The algorithm runs an ensemble