Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| In [1]: import h5py | |
| In [2]: f = h5py.File('../data/20160107-113037_sensor_data.h5', 'r') | |
| In [3]: def p(x, obj): | |
| ...: try: | |
| ...: attrs = list(obj.attrs.items()) | |
| ...: if attrs: | |
| ...: print(x, attrs) | |
| ...: else: |
This file contains hidden or 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
| --------------------------------------------------------------------------- | |
| CalledProcessError Traceback (most recent call last) | |
| /Users/oliverlee/repos/sympy/sympy/printing/preview.py in preview(expr, output, viewer, euler, packages, filename, outputbuffer, preamble, dvioptions, outputTexFile, **latex_settings) | |
| 200 check_output(['latex', '-halt-on-error', '-interaction=nonstopmode', | |
| --> 201 'texput.tex'], cwd=workdir, stderr=STDOUT) | |
| 202 except CalledProcessError as e: | |
| /Users/oliverlee/miniconda3/envs/dev/lib/python3.4/subprocess.py in check_output(timeout, *popenargs, **kwargs) | |
| 619 if retcode: | |
| --> 620 raise CalledProcessError(retcode, process.args, output=output) |
This file contains hidden or 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 | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import math | |
| from itertools import groupby, count | |
| import numpy as np | |
| import matplotlib.pylab as plt | |
| import seaborn as sns | |
NewerOlder