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.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 tessapps 0.2.1
File Size Uploaded Provenance Actions
tessapps-0.2.1.tar.gz 7.3 kB Without provenance Details for tessapps-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / tessapps-0.2.1.tar.gz

Download URL tessapps-0.2.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
59d217e485182899c16de2ef1d35d7122f3e4cc86b8c3ff5fdd356473f7545d2
BLAKE2b-256 checksum
How to use checksums
90f1bc6ec44a60cb31abd83e64d7a98fa4b702e9e28e65ee394a8ddf03ecebf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

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

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

Security for tessapps 0.2.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.

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