summaryrefslogtreecommitdiff
path: root/stsci
Commit message (Collapse)AuthorAgeFilesLines
* union and intersection operations now work on crossing polygonsHEADmasterbsimon2016-07-031-47/+56
| | | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@39128 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 3bbe9a3ccef29562db908c51914882e59c73cdaa
* removed debugging prints (doh!)bsimon2015-04-091-10/+0
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38913 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 4fedbb88318352e1bd5f380f278ed04308eaa5b6
* adding some backport changes I missed on the first time aroundbsimon2015-04-092-5/+23
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38912 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 5f708691fc28a7c2846cf110e5fe656cfeda8ee3
* Back ported changes from astropy and made python 2 to 3 modificationsbsimon2015-04-037-426/+582
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38800 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: c12c8fef5503caab2e2e57caac8f040597326589
* Ypdated code to be Python 2 and 3 compatiblebsimon2015-03-122-7/+9
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38257 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: ea687efdbbc2377ad0a69d27cf92e381035ed937
* Replaced xrange with range for Python 3 compatibilitybsimon2015-03-121-3/+3
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38256 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: caac9e74b9cb16ae09e5ed110492012ee1aa40dc
* I removed the monkey patched methods, intersection and intersect_point,bsimon2014-10-171-16/+12
| | | | | | | | | and changed the code to match the astropy version. The monkey patching confused the documentation generation. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@34879 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 5959426efa9b880921c6da0467259e613e63f64b
* Fix ordering of nodes in the trace routine so that the area calculation of ↵mdroe2014-07-283-8/+136
| | | | | | | polygons with cutlines is correct. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@33584 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 04c6e2875f229294be3c8592ba73d09457c42984
* More speedups.mdroe2014-06-135-54/+60
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32541 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 36e70c1cac043d59089f386a6b6d730c4887fa84
* Add regression tests based on real data that had trouble in the past.mdroe2014-06-133-60/+218
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32539 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: f371222ebbc956ebbef4af6fba283e60e90e5a5b
* Modest performance improvement.mdroe2014-06-121-4/+10
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32538 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 5e631ecb491dc8b9ef1f0eaade320c8f53437458
* Fix regression testsmdroe2014-06-121-2/+2
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32537 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 3dd22a2c62ae0f7dbefdf277ec9c6d6bb4739af3
* Handle empty polygons. Avoid unnecessary normalizations.mdroe2014-06-121-8/+8
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32439 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: b5f9a1f914d5cf8ceba1f70e0e02f55aba16ea97
* Handle empty polygons in Polygon.to_ra_decmdroe2014-06-121-0/+2
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32438 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 7e37d7cfb676faa51c4a29708c8f1ae9656245e3
* Use "long double" for intersection calculations. Move "length" and ↵mdroe2014-06-122-77/+105
| | | | | | | "intersects_point" to C. Vectorize the finding of "arc/point" intersections. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32437 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 03cb095a8a58aac8e7ab1e564066a7d1bdd71ec4
* Fixed misspelling of emporical in commentbsimon2014-06-111-1/+1
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32436 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 71add5c4f5e1a47236a623b7613321594781dc06
* Better track the nodes' source so we can do better internal/external edge ↵mdroe2014-06-103-42/+46
| | | | | | | removal. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32435 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: a97410e5abab2ffefba2f393909abf76af76cf75
* Fix union with empty polygon.mdroe2014-06-053-0/+32
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32433 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: ad718756b906e7254f8a899a8683e641e8396c17
* Fix testsmdroe2014-06-045-343/+84
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32336 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 40fd6b9821b5bf6120173a87d83d322988c6f4d9
* Fix some numerical problems that prevented some very short arcs that were ↵mdroe2014-06-043-38/+111
| | | | | | | colocated with the edges of a polygon from being recognized as inside the polygon. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32335 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: df6e3d7c90b358c56d4f84df17b19a742e405337
* further changes to move to astropydencheva2014-05-011-7/+5
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@31268 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 1200f37b1166f35ab4f24774462fbe4ee291fe08
* changes to use astropy instead of pyfits and pywcsdencheva2014-04-281-5/+7
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@31238 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: c1b6745fb638349430fb6b33079113dcb80c5a18
* mod for d2to1 installsienkiew2014-03-2518-0/+3336
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@30670 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 91667828b7e01b5aae55679093564473a976e8a9