Skip to main content

PEEBEE

Copyright Tom Donlon, 2024 UAH

github user: thomasdonlon

Requires Python v.>3.6.0


A python package for the intersection between pulsar timing, accelerations, and Galactic structure. Currently, this package mainly includes convenience functions for various things I have needed to do in pulsar acceleration research. This package will also form the foundation for the pulsars.uah.edu backend.

CONTENTS

A non-exhaustive list of contents of the package is given below:

  • Ability to compute accelerations (including line-of-sight accelerations) for user-defined potentials (including support for gala and galpy potentials)
  • Convenience functions for computing Pdots, including the Shklovskii effect, Relativistic orbital decay, Galactic accelerations, etc.
  • An extensive model framework to build potentials and compute accelerations (3D and line-of-sight) at arbitrary locations
  • An optimization package to find the best-fit potential to a list of data

DOCUMENTATION

Read the docs here: https://peebee.readthedocs.io/en/latest/

INSTALLATION

For Users:

  1. Open your terminal, and run

python3 -m pip install peebee

Note that some potential models may only work if the gala and galpy packages are installed. However, peebee will install and run perfectly fine without these packages.

For Developers:

  1. Clone the peebee github repository

  2. Make the desired changes in the source code

  3. Navigate to the directory where you cloned the repo, and then run

python3 setup.py develop --user

(note, you will probably need to uninstall any previous versions of peebee you had on your machine before running this)

  1. To test your changes, insert import statements for the subpackages that you want to use in your .py files as you normally would:
import peebee.{peebee subpackage} 
<...>
  1. Once you are done making changes to the source code, put in a pull request to master

  2. Navigate to the directory where you cloned the repo, and then run

python3 setup.py develop --uninstall
pip3 install peebee 

Your changes will not be available in the main peebee build until a new release comes out.

TODO

MAJOR:

  • Add support for astropy units
  • Development tests to pass before pushing a new version

MINOR:

  • Agama potentials?

KNOWN ISSUES

  • Certain versions of astropy (v6.1.0) and gala (v1.8.1) result in an error being produced when computing accelerations using Gala potentials. This can be resolved by downgrading astropy to v5.3.0 or upgrading Gala to the most recent version.

Metadata

Release files for peebee 1.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peebee 1.3.5
File Size Uploaded Provenance Actions
peebee-1.3.5.tar.gz 203.0 kB Without provenance Details for peebee-1.3.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for peebee 1.3.5
File Interpreter ABI Platform Actions
peebee-1.3.5-py3-none-any.whl Python 3 none any Details for peebee-1.3.5-py3-none-any.whl

Total release size: 338.0 kB

Release files / peebee-1.3.5.tar.gz

Download URL peebee-1.3.5.tar.gz
Size 203.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4c055f9146a14c4b27e991ec49c4d1281abfe8eb6da5c30e8a898a9ff4730972
BLAKE2b-256 checksum
How to use checksums
739ea7557ae00d1b28fc1ffd7dd97c9adcb940a17abafa5fe95740e03d985b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

Release files / peebee-1.3.5-py3-none-any.whl

Download URL peebee-1.3.5-py3-none-any.whl
Size 135.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c776e59e4e3e39ca1383196f4ecc700cfc5e7ba72d10f0b33a8cc04137848b0a
BLAKE2b-256 checksum
How to use checksums
b41c56eca9ea41fad222f55feba159d215b7d378dfdf854f4a800082688a261e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

Security for peebee 1.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page