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.

HAT-P-1 example

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

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

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

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

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

  • add description
  • specify dependencies' versions
  • add file organization
  • add options to run the module
  • add more stuff in this to-do list

Metadata

Release files for tessapps 0.2.2

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

Built distribution (wheel)

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

Total release size: 16.9 kB

Release files / tessapps-0.2.2.tar.gz

Download URL tessapps-0.2.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
38814d8f32283a9a78cd79445a681a3660edf8287e768f6f0557327da24f0a94
BLAKE2b-256 checksum
How to use checksums
c0767074cb0a4f8926dc5d10dbfb20ec965c1f66d438b4ffd06997635df26b72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

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

Download URL tessapps-0.2.2-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ade387e61ee7ded4ee63112a1e17e4a0887ac11c7e613880509bb9aec8dcd803
BLAKE2b-256 checksum
How to use checksums
8b77b49942cd7b19877a915cd09665761a005e02d6530847efe4c3151924b375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Security for tessapps 0.2.2

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