Home | Trees | Indices | Help |
|
---|
|
object --+ | Numpy2points
Wrapper for NumPy arrays as "on-the-fly" LatLon points.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
lat Get the latitudes column index. |
|
lon Get the longitudes column index. |
|
shape Get the shape of the NumPy array. |
|
Inherited from |
Method Details |
Handle a NumPy array as simplify...-compatible LatLon points.
Example: >>> type(array) <type 'numpy.ndarray'> # <class ...> in Python 3+ >>> points = Numpy2points(array, lat=0, lon=1) >>> simply = simplifyRDP(points, ...) >>> type(simply) <type 'numpy.ndarray'> # <class ...> in Python 3+ >>> sliced = points[1:-1] >>> type(sliced) <class '...Numpy2points'> |
Return a string representation.
|
Return a string representation.
|
Property Details |
latGet the latitudes column index.
|
lonGet the longitudes column index.
|
shapeGet the shape of the NumPy array.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 2 17:19:00 2017 | http://epydoc.sourceforge.net |