Skip to main content

Package that tells the user if a planet can be detected by PLATO space mission

Project description

The Planet class requires the following arguments for initialization
  • name (str): Name of the planet.

  • depth (int): Transit depth of the planet in parts per million (ppm).

  • duration (int): Transit duration of the planet in hours.

  • number (int, optional): Number of transits. Defaults to 3 if not provided.

The Planet class provides the following methods:

  • noise_level(eta=7.1): Calculates the noise level of the planet transit signal at the detector level. The eta parameter is an optional statistical significance value (default: 7.1). Returns the calculated noise level as a float.

  • is_detectable(nsr, nsr_plato=34): Determines if the planet is detectable based on the noise level (nsr). The nsr_plato parameter is an optional threshold noise level for detection (default: 80). Returns a string indicating whether the planet is detectable or not.

To use the package, create an instance of the Planet class by providing the required arguments (name, depth, and duration). Then, you can call the noise_level method to calculate the noise level and the is_detectable method to determine the detectability of the planet.

Example usage:

from package_name import Planet

earth = Planet(‘Earth’, 84, 13) nsr = earth.noise_level() detection_result = earth.is_detectable(nsr) print(f”{earth.name}: {detection_result}”)

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

platos_closet-1.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

platos_closet-1.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file platos_closet-1.1.1.tar.gz.

File metadata

  • Download URL: platos_closet-1.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for platos_closet-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c20e930a73c8ee1496a9f2b79bd0e5a401b0363d09ca72c240d1d41c3fd692f6
MD5 12b7b88ad3fde1a032db5f307733a406
BLAKE2b-256 90adc1724a0662b949e8b5282de20b45786c9bf7c77c7811fac04e1fbd0c6c2d

See more details on using hashes here.

File details

Details for the file platos_closet-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: platos_closet-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for platos_closet-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba2dcca3c5e859b45679272f33c56ebbca24f736f9f0f6a2dde3e706ecc803a7
MD5 40b867f473c5fb6da9bbd990b04bb449
BLAKE2b-256 42d095de0ef5f2c39f829f238fba68303707618c3cce5ae341b541124d1bfd99

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