Permalink
Browse files

Update from local machine while cluster was burning.

  • Loading branch information...
haehn committed Jun 26, 2018
1 parent 1ffb463 commit 167d8bbb2120a911312b7c7aa172e8e80c44b9d6

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,181 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Populating the interactive namespace from numpy and matplotlib\n"
]
}
],
"source": [
"%pylab inline\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"image = np.zeros((100,100), dtype=np.uint8)"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.image.AxesImage at 0x7f1a464a5d10>"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAP4AAAD8CAYAAABXXhlaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAC0ZJREFUeJzt2l+IpfV9x/H3pzu7azWIrq2y2ZW6\ngSWJBFLDEDWWUtyEJjZELwwYQlmKsDdpY/5Aou1V7yqEaC5KYNGGpUhiupEqEhJkYy5ys3WN0qir\n2a0WnbhRSzUWoWaXfHtxHsvUTpyzM+ecOcP3/YLhzPOc5/B8+bHvOc9z9qSqkNTL72z0AJJmz/Cl\nhgxfasjwpYYMX2rI8KWGDF9qaF3hJ/l4kmeSnExy66SGkjRdWesXeJJsAX4OfAxYAh4BPlNVT01u\nPEnTsLCO134YOFlVzwIk+Q5wPfBbw9+W7XUO563jlJLeyX/zBr+uN7PacesJfxfwwrLtJeDKtx+U\n5ABwAOAczuXK7FvHKSW9k6N1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yyfiXD5wzXA3uAdwPnMbpFfbt5Wds1mVX4S8Cly7Z3Ay/O6NxjS7KVUfT3VNV9\nw+6Xkuwcnt8JvLxR8y1zDfCpJP8OfIfR5f6dwAVJFoZj5mmNl4Clqjo6bB9m9IdgHtf2o8BzVfVK\nVZ0G7gM+wvyu7ZrMKvxHgL3DJ6PbGH1Y8sCMzj2WJAHuBo5X1deXPfUAsH/4fT+je/8NVVW3VdXu\nqrqM0Vr+qKo+CzwM3DgcNhezAlTVL4EXkrx32LUPeIo5XFtGl/hXJTl3+Dfx1qxzubZrNsMPTa4D\nfg78G/A3G/3hxgrz/RGjy7d/BR4ffq5jdO98BDgxPO7Y6FnfNvefAA8Ov78H+BfgJPBPwPaNnm/Z\nnH8IHBvW95+BC+d1bYG/BZ4GngD+Edg+z2u7lh+/uSc15Df3pIYMX2rI8KWGDF9qyPClhgxfasjw\npYYMX2rofwA14KJ5pg4KkwAAAABJRU5ErkJggg==\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x7f1a465042d0>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"imshow(image)"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([[0, 0, 0, ..., 0, 0, 0],\n",
" [0, 0, 0, ..., 0, 0, 0],\n",
" [0, 0, 0, ..., 0, 0, 0],\n",
" ..., \n",
" [0, 0, 0, ..., 0, 0, 0],\n",
" [0, 0, 0, ..., 0, 0, 0],\n",
" [0, 0, 0, ..., 0, 0, 0]], dtype=uint8)"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"image"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"image[50:60, 30:40] = 1\n",
"image[50:60, 40:50] = 2"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"image.max()"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.image.AxesImage at 0x7f1a46307090>"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAP4AAAD8CAYAAABXXhlaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAC3hJREFUeJzt3V+IpfV9x/H3pzu7azXIurYJ667U\nDSxJJBANQ9RYSnETktgQvTDUEMpShL1JG/MHEm2velchRHNRUpbYshRJTDdSRUJC2JiL3kxdE2nU\n1exGi64atURjEWp2ybcX57FM7cQ5O3POmTN83y8YZp7nPGefLz/2Ped5zh4xVYWkXn5noweQNHuG\nLzVk+FJDhi81ZPhSQ4YvNWT4UkPrCj/JR5M8keRkklsmNZSk6cpaP8CTZAvwM+DDwCngQeBTVfXY\n5MaTNA0L63juB4CTVfUkQJJvAdcBvzX8bdle53DeOk4p6a38N6/x63o9qx23nvB3A88s2z4FXPHm\ng5IcBA4CnMO5XJH96zilpLeyVEfHOm499/gr/Vb5f/cNVXWoqharanEr29dxOkmTsp7wTwEXL9ve\nAzy3vnEkzcJ6wn8Q2Jdkb5JtwI3AfZMZS9I0rfkev6rOJPkL4PvAFuAfqurRiU0maWrW8+YeVfVd\n4LsTmkXSjPjJPakhw5caMnypIcOXGjJ8qSHDlxoyfKkhw5caMnypIcOXGjJ8qSHDlxoyfKkhw5ca\nMnypIcOXGjJ8qSHDlxoyfKkhw5caMnypIcOXGjJ8qSHDlxoyfKkhw5caMnypIcOXGjJ8qSHDlxoy\nfKkhw5caMnypIcOXGlo1/CQXJ3kgyfEkjya5edi/M8kPkpwYvl8w/XElTcI4r/h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wTsH2e13YtX35yT2rIT+5JDRm+1JDhSw0ZvtSQ4UsNGb7UkOFLDRm+1ND/\nAKUgsFelpoPRAAAAAElFTkSuQmCC\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x7f1a463e55d0>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"imshow(image)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.14"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
View
BIN -1 Byte (100%) PAPER/paper_from_sharelatex.pdf
Binary file not shown.
Oops, something went wrong.

0 comments on commit 167d8bb

Please sign in to comment.