Directory trunk/pysal/cg/

Directory Created:
2009-08-14 11:47
Total Files:
4
Deleted Files:
0
Lines of Code:
2924

[root]/trunk/pysal/cg
                directory in repo tests (3 files, 1090 lines)

Lines of Code

trunk/pysal/cg/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 58 (100.0%) 4473 (100.0%) 77.1
andrewwinslow 9 (15.5%) 3232 (72.3%) 359.1
phil.stphns 10 (17.2%) 617 (13.8%) 61.7
schmidtc 30 (51.7%) 502 (11.2%) 16.7
dreamessence 1 (1.7%) 73 (1.6%) 73.0
xinyueye 4 (6.9%) 47 (1.1%) 11.7
sjsrey 4 (6.9%) 2 (0.0%) 0.5

Most Recent Commits

schmidtc 2011-01-27 10:55 Rev.: 775

issue #134, changing incomplete methods to rasie NotImplementedError.

35 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+35 -34)
schmidtc 2011-01-25 14:03 Rev.: 749

working with get_shared_segments

2 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+2 -2)
phil.stphns 2011-01-25 12:07 Rev.: 747

Fixing test, adding docstring example.

8 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+8)
schmidtc 2011-01-24 20:32 Rev.: 745

tests for get_shared_segments

1 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+1 -1)
schmidtc 2011-01-24 15:23 Rev.: 740

found bug in get_segment_point_intersect, was not working if pt was colinear with segment.
Added a fix and unit tests.
Changed get_segments_intersect to work with overlapping segments.

33 lines of code changed in 2 files:

  • trunk/pysal/cg: shapes.py (+2), standalone.py (+31 -2)
schmidtc 2011-01-21 17:52 Rev.: 738

porting doctests to unittests
adding many new unittests
fixed accuracy issue in is_collinear
identified bug with get_segments_intersect, fails when segments overlap
changed get_rectangle_rectangle_intersection to return Rectangle, Segment, Point or None to allow for overlap.

18 lines of code changed in 2 files:

  • trunk/pysal/cg: shapes.py (+5), standalone.py (+13 -4)
schmidtc 2011-01-21 10:25 Rev.: 733

Added an adjustable memory limit to distance_matrix, it will kick over to scipy's slower but more scalable algo when the required memory pased the threshold.

25 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+25 -18)
schmidtc 2011-01-21 09:53 Rev.: 730

removed unused scipy distance_matrix from common.py
moved our distance_matrix (and tests) from weights to cg.
updated callers
note: test_standalone contains many empty tests and will report failures.

62 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+62 -1)
schmidtc 2011-01-19 17:41 Rev.: 712

more namespace cleanup.
Identified cause of bug in issue #126, new unit test will fail until resolved.

1 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+1 -2)
phil.stphns 2011-01-10 13:21 Rev.: 676

Added verbose flag to doctest calls.

1 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+1 -1)
phil.stphns 2011-01-07 11:00 Rev.: 666

Defined __all__ for cg mods. Added verbose=True flag to doctest.testmod() in
shapes or standalone. We should check all doctest _test methods have
verbose=True.

7 lines of code changed in 2 files:

  • trunk/pysal/cg: shapes.py (+5 -3), standalone.py (+2 -1)
schmidtc 2011-01-06 19:22 Rev.: 660

Adding __all__ ....

2 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+2)
schmidtc 2011-01-06 17:22 Rev.: 657

Adding build_lattice_shapefile in weights.user:
build_lattice_shapefile Writes an ncol by nrow grid to a shapefile.
Adding bbcommon, get_rectangle_rectangle_intersection, point_touches_rectangle in cg.standalone:
bbcommon tests for touching rectangles
get_rectangle_rectangle_intersection returns the intersection of to rectangles
point_touches_rectangle returns True/Flase
Refactored get_shared_segments in cg.standalone:
Major speedup by using sets
Limiting search window to the intersection of the bounding boxes.
This adds a slight overhead, but should acctually speed things up for very detailed polygons.


149 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+149 -15)
schmidtc 2010-11-14 12:33 Rev.: 589

Solution for issue #116.

22 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+22)
dreamessence 2010-07-24 16:11 Rev.: 475

Minor fixes in docstrings for correct rendering of some attributes tables

73 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+73 -32)
sjsrey 2010-07-23 22:17 Rev.: 474

- cleaning docs

1 lines of code changed in 3 files:

  • trunk/pysal/cg: locators.py (-7), shapes.py (-5), standalone.py (+1 -5)
schmidtc 2010-05-05 12:36 Rev.: 369

cleaning up clockwise test. Issue 14.

7 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+7 -64)
schmidtc 2010-05-04 17:14 Rev.: 363

clockwise optimization

27 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+27 -1)
schmidtc 2010-03-26 16:02 Rev.: 334

fix for issue 31: Rtreeweights rook check has a logic error. (bug was in both rtree and binning). Now testing for this bug as well. The solution was to mimic GeoDa, which check that for a given match there is a corresponding segment that matches. This does not get us any closer to shared boundary weights, as for speed it is desirable to stop checking after one segment has been found.

1 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+1 -1)
schmidtc 2010-03-25 23:05 Rev.: 332

adding eqality check to line segments

18 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+18 -1)
schmidtc 2010-03-25 18:16 Rev.: 329

adding test case for polygons nested in larger polygons, adjusting Polygon API to return ALL vertices including holes.

1 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+1 -1)
phil.stphns 2010-03-08 09:55 Rev.: 286

Modified docstrings for sphinx.

289 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+289 -122)
phil.stphns 2010-03-07 23:19 Rev.: 285

Modified docstrings for sphinx

171 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+171 -90)
schmidtc 2010-03-04 13:02 Rev.: 279

fix for issue #55

2 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+2 -1)
phil.stphns 2010-03-02 19:48 Rev.: 277

Made cg.standalone docstrings Sphinx-compliant, but they are not reference-compliant. In other words, they do not tell us enough, there are blank fields for Attributes and sometimes Parameters.

138 lines of code changed in 1 file:

  • trunk/pysal/cg: standalone.py (+138 -89)
schmidtc 2010-03-02 16:06 Rev.: 271

API changes for issue #48, changes signature of W.__init__.

0 lines of code changed in 1 file:

  • trunk/pysal/cg: __init__.py (-3)
schmidtc 2010-02-12 10:46 Rev.: 254

moving unittests from shape.py to tests directory. Including in global tests.

0 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (-627)
phil.stphns 2010-02-10 20:52 Rev.: 250

Removed nonconforming BSD-license material.

3 lines of code changed in 3 files:

  • trunk/pysal/cg: locators.py (+1 -1), shapes.py (+1 -1), standalone.py (+1 -1)
xinyueye 2010-02-09 09:46 Rev.: 241

update pep0001 and locators

7 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+7 -5)
xinyueye 2010-02-09 09:12 Rev.: 239

minor change

2 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+2 -5)
xinyueye 2010-02-09 09:06 Rev.: 238

add rules

27 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+27 -19)
xinyueye 2010-01-24 18:04 Rev.: 187

fixed PolygonLocator.region

11 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+11 -2)
schmidtc 2009-12-13 22:02 Rev.: 155

thanks Xinyue, locators is still unfinished but these changes were correct

8 lines of code changed in 1 file:

  • trunk/pysal/cg: locators.py (+8 -8)
schmidtc 2009-11-03 17:58 Rev.: 116

Addressing issue #28.

A bug in Polygon.holes, was returning a list of vertices. Should have been returning a list of lists of vertices.

5 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+5 -5)
schmidtc 2009-10-14 01:48 Rev.: 93

Documentation: adding library documentation with stubs for cg and esda.

9 lines of code changed in 2 files:

  • trunk/pysal/cg: __init__.py (+6), standalone.py (+3 -4)
schmidtc 2009-08-18 17:37 Rev.: 49

using area clockwise test for now. Andrew will test robustness of other options.

43 lines of code changed in 3 files:

  • trunk/pysal/cg: __init__.py (+1), shapes.py (+1 -1), standalone.py (+41 -72)
andrewwinslow 2009-08-18 17:02 Rev.: 47

Moved common code in Polygon.__init__ and get_polygon_point_intersect() into separate function. Added is_clockwise() method. Moved Triangle into is_clockwise() method.

126 lines of code changed in 2 files:

  • trunk/pysal/cg: shapes.py (+5 -216), standalone.py (+121 -13)
andrewwinslow 2009-08-18 16:05 Rev.: 45

Fixed bug in Polygon.__init__.

11 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+11 -25)
andrewwinslow 2009-08-18 15:35 Rev.: 44

Removed legacy rounding kludge.

1 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+1 -1)
schmidtc 2009-08-17 14:16 Rev.: 37

minor updates to SHP file api and Rectangle. Adding emtpy __init__.py for esda

9 lines of code changed in 1 file:

  • trunk/pysal/cg: shapes.py (+9)

(5 more)

Generated by StatSVN 0.7.0