Skip to main content

psps

pspspspspsps.

psps stands for Planetary System Population Synthesizer. psps makes stars and planets, with an emphasis on intuitive data products. psps is powered in part by JAX and is in active development.

See here for an example of psps in use.

See here as well for another example of psps in use.

You can now install it from PyPI!

pip install psps

The create/ directory contains two archetypes of scripts.

  • berger_batch.py: create synthetic systems, where each record is a system, which may have zero or one or multiple planets.
  • collect_.py: run physical systems through the Kepler sensitivity function (and account for geometric transits) to get a completeness-corrected "detected" yield.

The paper_dir/ directory is messier and was used to generate plots and stats for Lam+25, in review.

The bulk of psps's runtime comes from integrating orbits with Gala in order to calculate the maximum oscillation amplitude (Zmax) for each star in the sample. This takes 4-5 minutes on a M2 Macbook Air for a sample of 70K stars. You can choose not to run gala_galactic_heights(); the runtime for psps without this is about 30s, with the same specs and sample.

Metadata

Release files for psps 0.0.9

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

Source distribution (sdist)

Source distribution for psps 0.0.9
File Size Uploaded
psps-0.0.9.tar.gz 42.6 kB Details

Built distribution (wheel)

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

Total release size: 86.1 kB

Release files / psps-0.0.9.tar.gz

Download URL psps-0.0.9.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9b6a3bbfbcb5ed5582e1e5d089654a9786ec5aec98559821baa864b63595760c
BLAKE2b-256 checksum
How to use checksums
9f6f02a77c92f14153649962ca303146306ff6fc635cf540ab0637bcef514867
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / psps-0.0.9-py3-none-any.whl

Download URL psps-0.0.9-py3-none-any.whl
Size 43.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed1f9d5eae3274cfa907f12d9624a8111f3f1f316cbdf13ab3780bbbc50f48a3
BLAKE2b-256 checksum
How to use checksums
ae26f4ce7d48d702697a1a79c7d056886c93dcad444f58492d4505feabf3b915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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