PAL -- A Positional Astronomy Library
Project description
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
For more information the SLA documentation provides much more detail:
A description paper for PAL was published in the ADASS XXII conference proceedings:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file palpy-1.8.4.tar.gz
.
File metadata
- Download URL: palpy-1.8.4.tar.gz
- Upload date:
- Size: 543.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d42d537bc4af2b0d88af1bb2fa19d6911d78df72de0f94ce6a371a8c6535c540 |
|
MD5 | 9dcdbe26b8421036c9cbdc4005009aba |
|
BLAKE2b-256 | 25a21cb04047cb45519d7e68346ae1facd66b2e35b8643e7f229d5c126722b8c |
File details
Details for the file palpy-1.8.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f5231cfc6519690caa9c4c6c4bbcd86150aa794898e885bfa3799e18115e52 |
|
MD5 | b3b5d9e578b782d620809539b76c3fcc |
|
BLAKE2b-256 | 86ffe474beddcaa2999253539f7845f807a01b32b24af1e6f193c7d3dd31b479 |
File details
Details for the file palpy-1.8.4-cp313-cp313-macosx_11_0_arm64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 556.7 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cc22d544ce9d4b872772f7205d921623483b5c9631e0f59c134361142df6353 |
|
MD5 | 910ca49096d430a4d8f23a9e7e4ce7c7 |
|
BLAKE2b-256 | 115f668b37ffef0dde9da74beaf984f47e2607b2e0d2eb6356f0f7cbe606092a |
File details
Details for the file palpy-1.8.4-cp313-cp313-macosx_10_13_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp313-cp313-macosx_10_13_x86_64.whl
- Upload date:
- Size: 593.7 kB
- Tags: CPython 3.13, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbbe086960fc40293d3f683b2f9966474617182b2f330dc971e7a581e6678d42 |
|
MD5 | 852b667edc71a7aead4c17320292f64f |
|
BLAKE2b-256 | f6aa9cb163bd91b80ab48c5a8bd8408c7a284479ae05700ff68e998bc943f682 |
File details
Details for the file palpy-1.8.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d8e6f027a9c5b7ddad29cd6fbde8025102a908fed2495173cd80f966ac16ea |
|
MD5 | a8d5a5d4094d5b180af9d5c513c80c0d |
|
BLAKE2b-256 | 8fc1b49acd1c32d2b9cc58440aeb64bc7af1cbfd9c15d2890edd1a49efd7fbac |
File details
Details for the file palpy-1.8.4-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 558.8 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b1336d0bb8ef06b477cf369e9bd9db63a519316abb0aa75fe871f4e91a204c7 |
|
MD5 | dbb7fac2526a5047b6f3873d26e6970f |
|
BLAKE2b-256 | 973ee16c314222bdff5d753b0b57ac1925086ad36ad7035abee34b917944f29e |
File details
Details for the file palpy-1.8.4-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 598.5 kB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e27c49d9db1e6c604c2ff79556e2cf4d9ffedc0eecebb038b87f52b3b049eb |
|
MD5 | 4fabc5407d60c3c37c3c8f7c459f2650 |
|
BLAKE2b-256 | 535d209cf4c94072ababf33fdf66ddfea67ac65fa9d1b17414cd4b719fcd2e5e |
File details
Details for the file palpy-1.8.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64308ea7a0b0aef2f9d469c96f5ee4e6b3ff9b0913a516e936d23274848fd484 |
|
MD5 | 4e48447b8382399629701966bef2f42c |
|
BLAKE2b-256 | 2d350ec0b567a9ccb5ea945d575b4e1565bdb48a7e1e87639198afd6f2672d36 |
File details
Details for the file palpy-1.8.4-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 571.8 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98dad6e9baf2b8af4526e9c4f1717d5a299d47443ee10005fe7ad949b47bba08 |
|
MD5 | 5fce8de06f7a48dac505a9c8c0b87265 |
|
BLAKE2b-256 | 5fd43a9f5716d0dc2fb587e5934bcbfe199740365b0369acf30520502d3272b4 |
File details
Details for the file palpy-1.8.4-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 622.7 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9afdcf5be4acaba7bb7e0ce243d4bc8e6a19b9b5fc113d93b428e4952c3c7f81 |
|
MD5 | e6f922c6a5d62d2773a119a37ddad21e |
|
BLAKE2b-256 | 94c3ca106f525047701dc9e1b1d87e0917007c65fdd1fc4143d1890d9440b8fe |
File details
Details for the file palpy-1.8.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ffad4b1973d0eceb4e6a6c2df1bd5b86199ff2306004a1bd4c7e26cc97cf6b |
|
MD5 | ae09b043c41fe731f3bc82722a6ce29f |
|
BLAKE2b-256 | 90ef6b53e987e3132484d900fd366a0fc44fb5d347690829675bc7c84a53947b |
File details
Details for the file palpy-1.8.4-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 568.4 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb17c15501a3dd4280b70ae4b698a4417e95e337dcd77fc7d8969c3585e487e |
|
MD5 | c640e05522f2917d7a8b08038a485593 |
|
BLAKE2b-256 | da95271cb06074b0a1c2c2f08dd4a77db753308c2f1c8498e8fec84e01630beb |
File details
Details for the file palpy-1.8.4-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 617.0 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8424fc562a9c643d6be1a38a35319bf6bc88709c1f05d2f8af07df3c804aa7 |
|
MD5 | 6db4d6482c1342afac36c600be7b02d7 |
|
BLAKE2b-256 | 0323e2a7fe64727c97dd22d9e5077a28142ace9c897e6826926d3ce4182b3693 |
File details
Details for the file palpy-1.8.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a85cbd90bcc687e9d45f74c938685b1f1ed335d04547283c6ba037199332c8a4 |
|
MD5 | 34f6bacc1080d6f86ccc01879aa472b5 |
|
BLAKE2b-256 | 3bb0b6d6a753ac27cc5d4f001a98050e5cdda2d8a5c5107aa037320da4313a94 |
File details
Details for the file palpy-1.8.4-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 568.4 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18700807990cf8b3ac73921dfbe1c907236e9a7a3502f2b9643d53d44f0fc4bd |
|
MD5 | 888bb590f8cfb0368b1768ffd2a6779e |
|
BLAKE2b-256 | eb105b26191fe83976a496f9edeada248d556908c14feb7cf35e0e995099aa49 |
File details
Details for the file palpy-1.8.4-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 617.0 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5077b95ef974f1e7d06c037d934527d3f89ff63c1d7d37f79f7a485d15b5bfd0 |
|
MD5 | 44b529296cf644bf18dfb5e3cd04cec7 |
|
BLAKE2b-256 | 132433a740a945472786211316d65b08cee320263e6ddcd83b676517684373ee |
File details
Details for the file palpy-1.8.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38da3876059a1548c9f82365c44114a7718f9d2de5054a9d48081eed4196506f |
|
MD5 | 085a8f777bfc883789c1d62edc233381 |
|
BLAKE2b-256 | 298edab145a7346a9279bb7e2ccdb8d7735b30276c5f028d2038e6361f7038e1 |
File details
Details for the file palpy-1.8.4-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 556.6 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491efa1153a3619f235f19707c0df38c3a4254be5862bc8be7dff65c629ade2b |
|
MD5 | 12cb4f9d54ed1d29c535dbb2b62fae4d |
|
BLAKE2b-256 | 3eb4724ce7b0cef9b654690011a6e90545bf053db0ce1e0440419f4bfd8628dc |
File details
Details for the file palpy-1.8.4-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: palpy-1.8.4-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 605.2 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac62f998ae2a523a35cb61e8cf8353ecbb6ba1499b466e1970de9649e0b8f20a |
|
MD5 | 80dc509f7aa97eeae9fd56a00312157e |
|
BLAKE2b-256 | 59c5278d280650d3a92b60d43b5880c8bae6f36866a1923dfd8d88ac5951ad52 |