I hereby claim:
- I am mkhorton on github.
- I am mkhorton (https://keybase.io/mkhorton) on keybase.
- I have a public key ASAmo-lMqXR54UI79t-ixFaIUqtzsfinjt-ZDlIUD9J6ewo
To claim this, I am signing this object:
def get_isodistort_transformed_structure(cif_file, displacive_mode_values=None): | |
""" | |
This function is designed to parse CIF files generated by ISODISTORT. The CIF | |
file specification has not yet been finalized, so this function may have to | |
be updated in the future. Only use on CIF files from trusted sources. | |
Args: | |
cif_file (str): location of ISODISTORT CIF file | |
displacive_mode_values (list): list of displacement mode values with length | |
matching the number of modes |
from skimage import io as sio | |
import skimage | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
img = skimage.img_as_float(sio.imread('image.png')) | |
img = img[..., :3] # remove alpha channel |
I hereby claim:
To claim this, I am signing this object:
==> Downloading http://math.lbl.gov/voro++/download/dir/voro++-0.4.5.tar.gz | |
######################################################################## 100.0% | |
==> make | |
voro::wall_plane::cut_cell(voro::voronoicell_neighbor&, double, double, double) in cmd_line-GhWYty.o | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make[1]: *** [voro++] Error 1 | |
make: *** [all] Error 2 | |
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting |
require 'formula' | |
class GraphTool < Formula | |
homepage 'http://projects.skewed.de/graph-tool/' | |
url 'http://downloads.skewed.de/graph-tool/graph-tool-2.2.24.tar.bz2' | |
sha1 '0ba18967a749396c8a959e423cb6c9532add4432' | |
depends_on :x11 | |
depends_on 'boost' | |
depends_on 'scipy' => :python |