@@ -15,15 +15,13 @@ MatMap3D is setup as a
15
15
which means ` import matmap3d ` statements allow scoped use of this code.
16
16
17
17
``` matlab
18
- import matmap3d.*
19
- % or add matmap3d. to start of function name
20
18
21
- [x,y,z] = geodetic2ecef([],lat,lon,alt)
19
+ [x,y,z] = matmap3d. geodetic2ecef([],lat,lon,alt)
22
20
23
- [az,el,range] = geodetic2aer(lat, lon, alt, observer_lat, observer_lon, observer_alt)
21
+ [az,el,range] = matmap3d. geodetic2aer(lat, lon, alt, observer_lat, observer_lon, observer_alt)
24
22
```
25
23
26
- Optionally, verify functionality :
24
+ Optionally, run self-tests :
27
25
28
26
``` matlab
29
27
buildtool
@@ -55,16 +53,14 @@ These functions present a similar API of a subset of functions in the Mathworks
55
53
56
54
## Notes
57
55
58
- The full set of Python conversions are accessed from Matlab &ge ; R2014b by commands like:
56
+ Python PyMap3d has more conversions.
57
+ PyMap3d can be accessed from Matlab by commands like:
59
58
60
59
``` matlab
61
60
lla = py.pymap3d.geodetic2ecef(x,y,z)
62
61
```
63
62
64
- If using ` conda ` environment to install ` pymap3d ` , you will need to follow these instructions to make it load:
65
- https://www.mathworks.com/matlabcentral/answers/443558-matlab-crashes-when-using-conda-environment-other-than-base#answer_486374
66
-
67
- In particular, since PyMap3D uses Astropy for ECI transformations the accuracy will generally be better for eci2* or * 2eci functions.
63
+ In particular, since PyMap3D uses Astropy for ECI transformations the accuracy will generally be better for ` eci2* ` or ` *2eci ` functions.
68
64
All other functions should have equivalent accuracy with Matlab vs. Python.
69
65
70
66
### GNU Octave
0 commit comments