Durham, UK $-$ 29 July $\rightarrow$ 02 August 2019
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
nbins = 33 | |
sp = ds.sphere(center, radius) | |
nz_center = sp['spherical_r'].nonzero() | |
dr_min = sp['spherical_r'][nz_center].min() | |
extrema = dict(x=(0.99*dr_min, outer_factor * radii[_cid]), | |
y=(-0.001*np.pi, 1.001*np.pi), | |
z=(-1.001*np.pi, 1.001*np.pi)) | |
p3d = yt.Profile3D(sp, 'spherical_r', nbins, extrema['x'][0], extrema['x'][1], True, | |
'spherical_theta', nbins, extrema['y'][0], extrema['y'][1], False, | |
'spherical_phi', nbins, extrema['z'][0], extrema['z'][1],False, |
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
# improve colors | |
set -g default-terminal "screen-256color" | |
# soften status bar color from harsh green to light gray | |
set -g status-bg '#666666' | |
set -g status-fg '#aaaaaa' | |
unbind C-b | |
set -g prefix C-a | |
bind-key C-a last-window |
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 xmlrpclib | |
import xmlrpc.client as xmlrpclib | |
import os | |
import urllib.request | |
papers_dir = "/dir/to/papers" | |
user = 'username' | |
passwd = 'password' | |
server = xmlrpclib.ServerProxy('http://your.url/xmlrpc.php') |
Geneva: 9-13 September 2019
Slides (not available yet; 11 Sept)
High-z Growth of Galaxies - 20-24 Jan 2020
Arrived Wednesday midday
Concepcion, 2-6 March 2020
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 uniq(seq): | |
set = {} | |
map(set.__setitem__, seq, []) | |
return set.keys() | |
#------------------------------------------------------------------------ | |
from string import join | |
datfile = 'rawbib.dat' |
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
function movie() { | |
if [ $# -lt 3 ]; then | |
echo "usage: movie output_movie FPS files" | |
kill -INT $$ | |
fi | |
tmpdir=`mktemp -d` | |
output=$1 | |
fps=$2 | |
shift 2 | |
files="$@" |
Gothenburg, Sweden (20-24 June 2022)
OlderNewer