Skip to main content

TESS Aperture Photometry Pollution eStimator PyPI

Description

A python module that calculates a contamination factor for the target star in a tpf file based on the flux of background stars.

Prerequisites

Mandatory:

  • numpy (2.4.2): to make all calculations
  • scipy (1.17.1): to integrate the gaussian function
  • astropy (8.0.1): to build data used in this module
  • astroquery (0.4.11): to find stars in the target's region

Optional:

  • lightkurve (2.6.0): to fetch tpf files
  • matplotlib (3.10.8): to plot the result

Running the module

To run this module, here is an example:

import tessapps as tapps

flux, error = tapps.run(tpf_file)
print(flux, error)

Here is a more complete example:

import tessapps as tapps
import lightkurve as lk

tpf_file = lk.search_targetpixelfile("HAT-P-1", mission="TESS", sector=84, exptime=120).download()  # example file

flux, error = tapps.run(tpf_file)
print(flux, error)

File Organization

Authors

Leonidas Liponis

Email (for contact): leolip128 (at) physics.auth.gr

Github page: https://github.com/leolip128/tessapps

PyPI page: https://pypi.org/project/tessapps/

AI Disclosure

No LLMs were used in the making of this project. All code was generated and verified by humans, so it will only contain human-made mistakes. All commits on github made by bots will be refused, and commits made by humans will be checked: published code should be fully understandable by the authors.

To-Do list

Make a to-do list

Metadata

Release files for tessapps 0.2.0

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

Source distribution (sdist)

Source distribution for tessapps 0.2.0
File Size Uploaded Provenance Actions
tessapps-0.2.0.tar.gz 7.3 kB Without provenance Details for tessapps-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / tessapps-0.2.0.tar.gz

Download URL tessapps-0.2.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7eb9f409f45b8edfe15ae361d3b5bcaccf3a84599d04309aedabe00bf1bacd3e
BLAKE2b-256 checksum
How to use checksums
82570e8ba19bac6b68330f737e6ed35bfb41a4733e026f0ce26739fe84a38280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / tessapps-0.2.0-py3-none-any.whl

Download URL tessapps-0.2.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da2b16ad58e8f83b5f490db050970f49cd06c0cff08824a6edbab35f48c651b7
BLAKE2b-256 checksum
How to use checksums
01efa4bb2e8e09410611f5fab6d1e6bd948933914ce2492056cf366b3a298017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Security for tessapps 0.2.0

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