Skip to main content
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}”)

Metadata

Release files for platos-closet 1.1.1

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

Source distribution (sdist)

Source distribution for platos-closet 1.1.1
File Size Uploaded Provenance Actions
platos_closet-1.1.1.tar.gz 3.5 kB Without provenance Details for platos_closet-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for platos-closet 1.1.1
File Interpreter ABI Platform Actions
platos_closet-1.1.1-py3-none-any.whl Python 3 none any Details for platos_closet-1.1.1-py3-none-any.whl

Total release size: 7.4 kB

Release files / platos_closet-1.1.1.tar.gz

Download URL platos_closet-1.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c20e930a73c8ee1496a9f2b79bd0e5a401b0363d09ca72c240d1d41c3fd692f6
BLAKE2b-256 checksum
How to use checksums
90adc1724a0662b949e8b5282de20b45786c9bf7c77c7811fac04e1fbd0c6c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / platos_closet-1.1.1-py3-none-any.whl

Download URL platos_closet-1.1.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba2dcca3c5e859b45679272f33c56ebbca24f736f9f0f6a2dde3e706ecc803a7
BLAKE2b-256 checksum
How to use checksums
42d095de0ef5f2c39f829f238fba68303707618c3cce5ae341b541124d1bfd99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for platos-closet 1.1.1

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.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files No provenance

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