Skip to content

Instantly share code, notes, and snippets.

View example.in
# modified example #1 which shows lost of precision in SIMPSON binary format.
spinsys {
channels 13C
nuclei 13C 13C
shift 1 0 6000 1 0 0 0
shift 2 0 6000 0 0 0 0
dipole 1 2 -1500 0 0 0
}
View lp_speed_test.py
#! /usr/bin/env python
import pyart
import numpy as np
from pyart.testing.sample_objects import make_empty_ppi_radar, \
_EXAMPLE_RAYS_FILE
def pproc(LP_solver, proc=1):
View 0001-MAINT-renamed-CyLP-to-cylp.patch
From b71983c189ebdeb88c1d0f9c4ea6cf286a968d34 Mon Sep 17 00:00:00 2001
From: Jonathan Helmus <jjhelmus@gmail.com>
Date: Thu, 19 Dec 2013 16:41:59 -0600
Subject: [PATCH] MAINT: renamed CyLP to cylp
---
pyart/correct/phase_proc.py | 24 ++++++++++++------------
pyart/correct/tests/test_phase_proc.py | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
@jjhelmus
jjhelmus / plot_polar_bokeh.py
Created Apr 14, 2014
Plotting Polar data with Bokeh
View plot_polar_bokeh.py
# Plot polar data using Bokeh
# Author: Jonathan J. Helmus
import numpy as np
from bokeh.plotting import *
# Data in polar coordinates
azimuths = np.linspace(0, 2 * np.pi, 20)
ranges = np.array([2, 4, 6, 8])
View _gate_to_grid_map.html
<!DOCTYPE html>
<!-- Generated by Cython 0.21.2 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body.cython { font-family: courier; font-size: 12; }
.cython.tag { }
View stats.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Statistical functions (scipy.stats) &mdash; SciPy v0.16.0 Reference Guide</title>
<link rel="stylesheet" type="text/css" href="_static/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="_static/css/spc-extend.css">
View stats.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Statistical functions (scipy.stats) &mdash; SciPy v0.16.0 Reference Guide</title>
<link rel="stylesheet" type="text/css" href="_static/css/spc-bootstrap.css">
<link rel="stylesheet" type="text/css" href="_static/css/spc-extend.css">
@jjhelmus
jjhelmus / python27_win32.log
Last active Feb 13, 2016
Test logs from atlas_build wheels
View python27_win32.log
C:\Users\IEUser>python -c "import numpy; numpy.test()
Running unit tests for numpy
NumPy version 1.10.4
NumPy relaxed strides checking option: False
NumPy is installed in C:\Users\IEUser\Miniconda2\lib\site-packages\numpy
Python version 2.7.11 |Continuum Analytics, Inc.| (default, Jan 29 2016, 15:36:5
6) [MSC v.1500 32 bit (Intel)]
nose version 1.3.7
..............................S.................................................
................................................................................
View py27.log
root@65fd037e562e:~# conda create -n py27 python=2.7
Fetching package metadata: ....
Solving package specifications: .........
Package plan for installation in environment /root/miniconda3/envs/py27:
The following NEW packages will be INSTALLED:
openssl: 1.0.2g-0
pip: 8.1.1-py27_1
View find_short_prefix.py
#! /usr/bin/env python3
""" Find conda packages which use a binary prefix. """
import argparse
import bz2
import json
import os
import tarfile
import urllib.request