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
import arcpy | |
import pythonaddins | |
class LayerList(object): | |
"""Implementation for valuebyalpha_addin.combobox (ComboBox)""" | |
def __init__(self): | |
self.editable = True | |
self.enabled = True | |
self.dropdownWidth = 'WWWWWW' | |
self.width = 'WWWWWW' |
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
import math | |
%pylab inline | |
def createhex(xoff=1,yoff=1): | |
A = (math.cos(math.radians(30)), math.sin(math.radians(30))) | |
B = (math.cos(math.radians(90)), sin(math.radians(90))) | |
C = (math.cos(math.radians(150)), sin(math.radians(150))) | |
D = (math.cos(math.radians(210)), sin(math.radians(210))) | |
E = (math.cos(math.radians(270)), sin(math.radians(270))) | |
F = (math.cos(math.radians(330)), sin(math.radians(330))) |
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
from struct import unpack | |
import numpy as np | |
import sys | |
#OSRM data type - nodes | |
node_dtype = np.dtype([('lat', '<i'), ('long', '<i'), ('id', '<I'), ('Flags', '<i')]) | |
#Reading the .osrm file | |
f = open(sys.argv[1]) | |
f.seek(156) # Skip the header |
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
import os | |
from subprocess import call | |
import sys | |
import pysal | |
from numpy.testing import assert_equal | |
shps_to_test = [] | |
examplesdir = 'examples/' |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.node { | |
cursor: pointer; | |
} | |
.node circle { | |
fill: #fff; |
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
{"name": "PySAL", "children": [{"name": "spatial_dynamics", "children": [{"name": "Tau", "children": []}, {"name": "ergodic", "children": [{"name": "steady_state", "children": []}, {"name": "var_fmpt", "children": []}, {"name": "fmpt", "children": []}]}, {"name": "interaction", "children": [{"name": "modified_knox", "children": []}, {"name": "mantel", "children": []}, {"name": "SpaceTimeEvents", "children": []}, {"name": "jacquez", "children": []}, {"name": "date", "children": []}, {"name": "knox", "children": []}]}, {"name": "mantel", "children": []}, {"name": "directional", "children": [{"name": "rose", "children": []}]}, {"name": "util", "children": [{"name": "get_lower", "children": []}, {"name": "shuffle_matrix", "children": []}]}, {"name": "rose", "children": []}, {"name": "Spatial_Markov", "children": []}, {"name": "rank", "children": [{"name": "SpatialTau", "children": []}, {"name": "Tau", "children": []}, {"name": "rankdata", "children": []}, {"name": "pseudop", "children": []}, {"name": "Theta", "ch |
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
pysal.spatial_dynamics.interaction.SpaceTimeEvents: Misalignment / Error in arguments. | |
<function rose at 0x7fe3b5c9a668>: Misalignment / Error in arguments. | |
<function pseudop at 0x7fe3b5c9a140>: No documentation. | |
<function shuffle_matrix at 0x7fe3b5c9a8c0>: Misalignment / Error in arguments. | |
pysal.spatial_dynamics.markov.Spatial_Markov: Misalignment / Error in arguments. | |
<function homogeneity at 0x7fe3b5c9a0c8>: Misalignment / Error in arguments. | |
pysal.spatial_dynamics.markov.Homogeneity_Results: Misalignment / Error in arguments. | |
pysal.core.util.shapefile.MultiPoint: No documentation. | |
pysal.core.util.shapefile.NullShape: No documentation. | |
pysal.core.util.shapefile.shp_file: Misalignment / Error in arguments. |
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
import sys | |
import numpy as np | |
from PySide import QtGui, QtCore | |
from vispy import app, scene | |
from vispy.scene import visuals | |
from vispy.geometry import generation as gen, create_sphere | |
app.use_app('pyside') |
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
import sys | |
import numpy as np | |
import sip | |
sip.setapi('QString', 2) | |
from PyQt4 import QtGui, QtCore | |
from vispy import app, scene | |
from vispy.scene import visuals | |
from vispy.geometry import generation as gen, create_sphere |
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
# Sphinx version: 1.3 | |
# Python version: 2.7.9 (CPython) | |
# Docutils version: 0.12 release | |
# Jinja2 version: 2.7.3 | |
# Last messages: | |
# reading sources... [ 19%] library/cg/index | |
# reading sources... [ 20%] library/cg/kdtree | |
# reading sources... [ 20%] library/cg/locators | |
# reading sources... [ 21%] library/cg/rtree | |
# reading sources... [ 22%] library/cg/shapes |
OlderNewer