Skip to main content

Python coordinate conversions, following convention of several popular Matlab routines.

Project description

https://zenodo.org/badge/DOI/10.5281/zenodo.213676.svg http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat https://travis-ci.org/scivision/pymap3d.svg?branch=master https://coveralls.io/repos/github/scivision/pymap3d/badge.svg?branch=master Maintainability

Python 3-D coordinate conversions

Python coordinate conversions, following convention of several popular Matlab routines. Tested from Python 2.7 through Python 3.7+

For those not having AstroPy, lower accuracy fallback functions are included for some functions.

prereqs:

AstroPy, Numpy, Python 3 or Python 2.7

Install

Development:

python -m pip install -e .

simple:

python -m pip install pymap3d

Usage

a few quick examples

import pymap3d as pm

lat,lon,alt = pm.eci2geodetic(eci, t)

az,el,range = pm.geodetic2aer(lat, lon, alt, 42, -82, 0)

Functions

Popular mapping toolbox functions ported to Python include:

aer2ecef  aer2enu  aer2geodetic  aer2ned
ecef2aer  ecef2enu  ecef2enuv  ecef2geodetic  ecef2ned  ecef2nedv  ecef2eci
eci2ecef
enu2aer  enu2ecef  enu2ecefv  enu2geodetic
geodetic2aer  geodetic2ecef  geodetic2enu  geodetic2ned
ned2aer  ned2ecef  ned2ecefv  ned2geodetic
vreckon vdist
azel2radec radec2azel

Caveats

  • Atmospheric effects neglected in all functions not invoking AstroPy. Need to update code to add these input parameters (just start a GitHub Issue to request).

  • Planetary perturbations and nutation etc. not fully considered.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymap3d-1.3.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

pymap3d-1.3.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file pymap3d-1.3.0.tar.gz.

File metadata

  • Download URL: pymap3d-1.3.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymap3d-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b3a4e0aea06a88f213ff4e725b7b045a6997905cd56ff89e50cef49836c42eeb
MD5 f1ef0f878c936e2d6fb284faf075ed7a
BLAKE2b-256 a03258f7f99ca16ffef8aa0ba5ba29772d093a08f127a06dc363a19563c8cdea

See more details on using hashes here.

File details

Details for the file pymap3d-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pymap3d-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b48f8e59637644124ed0f02048d2f254fe3ae11417ee4bf61b3ac8306339cc8
MD5 025939df5b81bbaec8b4f4e1f489f5fe
BLAKE2b-256 eff09b51f434ab6e5e3cab3e4dcbd9db9f711c91163f46351f87f462bcc146f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page