Skip to main content

PAL -- A Positional Astronomy Library

Project description

https://zenodo.org/badge/12517/Starlink/palpy.svg https://travis-ci.org/Starlink/palpy.svg

PALpy is a python interface to the PAL positional astronomy library (<https://github.com/Starlink/pal>). All source code is included with the distribution via git submodules.

To build the python interface from the git repository:

git submodule init
git submodule update
python setup.py build
python setup.py install
python test_pal.py

Requires that Cython and numpy are installed.

The interface uses the same names as the C interface with the pal prefix missing:

import palpy as pal

djm = pal.caldj( 1999, 12, 31 )
(r2000, d2000) = pal.fk45z( 1.2, -0.3, 1960 )

All arguments modified by the C API are returned. No arguments are modified. The one routine that is different is palObs which returns a simple dict that can be searched using standard python. The keys to the dict are the short names and the values are another dict with keys name, long, lat and height.

Docstrings are included with each routine describing the python usage and the associated C documentation:

help(palpy) help(palpy.caldj)

See test_pal.py for detailed examples of all functions.

Documentation:

The module provides documentation on how to use the python interface to PAL. It does not contain information on how to use PAL itself.

The basic PAL documentation can be found at

http://www.starlink.ac.uk/star/docs/sun267.htx/sun267.html

For more information the SLA documentation provides much more detail:

http://www.starlink.ac.uk/star/docs/sun67.htx/sun67.html

A description paper for PAL was published in the ADASS XXII conference proceedings:

http://adsabs.harvard.edu/abs/2013ASPC..475..307J

Please consider citing this if you use PAL or palpy in your research.

Further Work

Not all the SLALIB routines are available from PAL. More can be added as need arises.

Author

Copyright (C) 2012, 2014-2016 Tim Jenness (tim.jenness@gmail.com). All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

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

palpy-1.8.3.tar.gz (543.5 kB view details)

Uploaded Source

Built Distributions

palpy-1.8.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

palpy-1.8.3-cp311-cp311-macosx_11_0_arm64.whl (569.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

palpy-1.8.3-cp311-cp311-macosx_10_9_x86_64.whl (627.8 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

palpy-1.8.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

palpy-1.8.3-cp310-cp310-macosx_11_0_arm64.whl (564.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

palpy-1.8.3-cp310-cp310-macosx_10_9_x86_64.whl (623.5 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

palpy-1.8.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

palpy-1.8.3-cp39-cp39-macosx_11_0_arm64.whl (564.0 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

palpy-1.8.3-cp39-cp39-macosx_10_9_x86_64.whl (623.4 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

palpy-1.8.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

palpy-1.8.3-cp38-cp38-macosx_11_0_arm64.whl (555.3 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

palpy-1.8.3-cp38-cp38-macosx_10_9_x86_64.whl (611.2 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file palpy-1.8.3.tar.gz.

File metadata

  • Download URL: palpy-1.8.3.tar.gz
  • Upload date:
  • Size: 543.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for palpy-1.8.3.tar.gz
Algorithm Hash digest
SHA256 d60bbae67ec16155dc3a09e9f209240b478ad724f627b8c0ceb3c01d0d58fd0f
MD5 5078028e74195a4f4b1f6db3462b015b
BLAKE2b-256 fa11dddc00991782f14172e4acf28165edb2e480cf77068f924db8d447eec31e

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 36d66341be302d92607965a073f63d551aa6a0b107807be1d74dc5f30a6265b8
MD5 b6b690f6dcc7a36331db8d614fc91d96
BLAKE2b-256 d1149ea260fdd51fcc6e54ded8cd0a717352d3d65e222b8c8064ef04f751f800

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 327894ce39f794cfc9a1b1f49d5f5688a55e0ccaad64a1f0495324b6fcd5b455
MD5 8c8e6384950049eb32a58edafbeb5aa9
BLAKE2b-256 7eb84f7ba82085bba3496284f3cf847f568eb1f76b7567e3cffd8d8816ace7b5

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ef0f6a250afa0d955d56bdf8cd08d1ffc7db40add288671464560259b69d2d4
MD5 afbe30bcae10af0d438ef996499a8738
BLAKE2b-256 48f7491a81095ab5f1ddc915e448d5082735bac7cb5613702916a891b2ff6ada

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd4ea3b403ce7a241945c732f23ae25c8e2fa87e0ecda3e2c6a73846bb1b6351
MD5 88d853a22525a98cc2ee03ed238a9e0a
BLAKE2b-256 2a15cfa5694c1d9b8b608d3e2ad433f3db28002ef36537eb402225b0038c4fb4

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c23ad4fd72615bf12da1d5d251cec7e7c2e826375c764a796250be48eb6fd67a
MD5 80ed8fab8c3a288ab6080dddc133efd8
BLAKE2b-256 1c1d1baa5824c4bb0844f26b845e922d3e1931f326e31f450936d4ae8a0b5f43

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cbaaa52084609a5174ce118d3b2a001346adad0e41755a19542a6ec8ed8a1491
MD5 b4c78eb2f512af5df967c04ccba14760
BLAKE2b-256 a4f43f8b2abe25674f7b2cb58978cb63d49f968ef6d7a2a93d078ff2aa7cd0be

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fe88d99205d299f8e7c207bb7172769b09e954472a1a16783c81eae78d3194c
MD5 753b5160ff32291e53243d2a3ab45bd0
BLAKE2b-256 b2ddce7ee6eed635538ada390c38bc6519edb99b1121528a54655acd7c72614a

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 164edeea52b7dd6cc5178ebafd205955111718ea78a5b8ed0842d30ae0f6489a
MD5 36c7a4df3e31956ee99b9a8cd2b073c0
BLAKE2b-256 ef85f0e0e32af266a71d2c34015f86ab3fd0787d39128dcb5f4f16fdc5278dfb

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ca63849775fe6000fd657dfc32b1e9bcb0c8241e86e431c0efb93473a5f21718
MD5 66b95c87b896754bc502ec81699901b1
BLAKE2b-256 869afd166f626b8e2d9d89d73ab6a90a6708f61e07325b6942e8c9dae44c15f0

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14a55d3dc4673f588fa20000642a4f80eb3c78bec8af2271c889c2903ad4803a
MD5 9ec38eb1a1ee42061fa11a0cac41f0de
BLAKE2b-256 e899ff4a58c3a3ae933f2f4ecff888b389f773bea9caacaabce759e23e7bbeec

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5aae02a43b2d6a6594ee82b19f79a72f709ab54eff02eb9955267cbd8075d8fe
MD5 850252cda95ff8444da4915d7c51867a
BLAKE2b-256 78d905d7e8d7ec2a60f2679f8baea27a6879ab0a4a68f3f41fa3469ed6fd2269

See more details on using hashes here.

File details

Details for the file palpy-1.8.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for palpy-1.8.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fff3e36ad1c5dd71daae7c985b25a98936e09066a556988843955cbc2ab6fa2e
MD5 2ae388d54348474fbdb219b572119c2e
BLAKE2b-256 24d5c47ffa0cba3518e8b24f3a0ec6a4f81fbda3887aeb3b3ad988e8975d3d85

See more details on using hashes here.

Supported by

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