Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 28, 2018
1 parent 0c2682c commit 98af890
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 7 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,11 @@ For those not having AstroPy, lower accuracy fallback functions are included for

Install
=======
Development::
::
python -m pip install -e .


simple::

python -m pip install pymap3d


Usage
=====
a few quick examples
Expand Down Expand Up @@ -67,7 +62,6 @@ Popular mapping toolbox functions ported to Python include::
azel2radec radec2azel



Caveats
-------

Expand All @@ -77,5 +71,9 @@ Caveats

Matlab / Octave
===============
Many functions of ``pymap3d`` originated as Matlab / Octave functions.
Some of the original ``.m`` code is in ``matlab/``.
The ``matlab/`` directory contains a subset of the Python conversion functions.
The full set of Python conversions can be access from Matlab >= R2014b by commands like::

lla = py.pymap3d.geodetic2ecef(x,y,z)

3 changes: 1 addition & 2 deletions tests/Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def test_vincenty():
assert_allclose(vdist(10,20,lat2,lon2),(sr,az,a21))
#%% coordconv3d
tlat,tlon,talt = 42, -82, 200
lat2, lon2, alt2 = 42.1, -81.9, 1300
taz,tel,tsrange = 33, 70, 1000
# %% outcomes from matlab
x0, y0, z0 = 660.6753e3, -4700.9487e3, 4245.738e3 # geodetic2ecef
Expand Down Expand Up @@ -166,7 +165,7 @@ def test_geodetic():
err_msg='ned2geodetic')
#%%
def test_eci():
tlla = (42,-82,200)
tlla = (tlat, tlon, talt)
teci = (-3.977913815668146e6,-2.582332196263046e6,4.250818828152067e6)
t = datetime(2013,1,15,12,0,5,tzinfo=UTC)
lla = asarray(pm.eci2geodetic(teci,t)).squeeze()
Expand Down

0 comments on commit 98af890

Please sign in to comment.