Skip to content

Instantly share code, notes, and snippets.

@matthewturk
matthewturk / idv_exper.py
Created August 3, 2017 21:23
Example IDV experimentation script
import OpenGL
#OpenGL.ERROR_LOGGING = True
#OpenGL.FULL_LOGGING = True
import yt
import time
import yt.visualization.volume_rendering.interactive_vr as ivr
from yt.visualization.volume_rendering.interactive_loop import \
RenderingContext
import h5py
import numpy as np

Keybase proof

I hereby claim:

  • I am matthewturk on github.
  • I am matthewturk (https://keybase.io/matthewturk) on keybase.
  • I have a public key ASAdtvhoFc7o5hB-H3yeeUoyMUDUvNxu5uhKAPFRY0UX5wo

To claim this, I am signing this object:

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.
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.
@matthewturk
matthewturk / movies-hconcat.json
Created August 29, 2018 19:11
Simple Vega-Lite plot
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"description": "Messing around!",
"data": {
"url": "data/movies.json"
},
"transform": [
{"filter": "datum.MPAA_Rating != null"}
],
"hconcat": [
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.