Skip to main content

planetary system population synthesis

Project description

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.

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

psps-0.0.9.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psps-0.0.9-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file psps-0.0.9.tar.gz.

File metadata

  • Download URL: psps-0.0.9.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for psps-0.0.9.tar.gz
Algorithm Hash digest
SHA256 9b6a3bbfbcb5ed5582e1e5d089654a9786ec5aec98559821baa864b63595760c
MD5 d3e34e5762695f683bde6d12f0ace07f
BLAKE2b-256 9f6f02a77c92f14153649962ca303146306ff6fc635cf540ab0637bcef514867

See more details on using hashes here.

File details

Details for the file psps-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: psps-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for psps-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ed1f9d5eae3274cfa907f12d9624a8111f3f1f316cbdf13ab3780bbbc50f48a3
MD5 3d4f9426b051b9acd62ccc7b6878525c
BLAKE2b-256 ae26f4ce7d48d702697a1a79c7d056886c93dcad444f58492d4505feabf3b915

See more details on using hashes here.

Supported by

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