Skip to main content

Reddutils

This is ReddTea's small package compiling useful self-made functions for an astrophysical context.

Overview

Reddutils contains many functions and classes for personal use. Some of them may be of use for the community.

Dependencies

This code makes use of:

Most of them come with conda, if some are missing they can be easily installed with pip.

Installation

In the console type in your work folder

pip install reddutils

Usage

Correlator

For a pandas dataframe or three-column table:

from reddutils import correlator as rc
import pandas as pd

df = pd.read_csv('data.csv')

cor = rc.correlator()
cor.display(df)

correlator

Exodus

Use for visualising the NASA Exoplanet Archive:

from reddutils import exodus

#exopop = exodus.Exoplanet_Archive()
exopop = exodus.Exoplanet_Archive('NasaExoplanetArchive')
#exopop = exodus.Exoplanet_Archive('ExoplanetEU2')
#exopop = exodus.Exoplanet_Archive('ExoplanetsOrg')

exopop.display()

exodus

Try out the histogram mode:

exopop.display_hist()

Fourier Transform Visualiser

For visualising fourier transforms and the nyquist limit.

from reddutils import fourier

fou = fourier.fourier()
fou.display()

fourier

Periodogram

For a pandas dataframe:

from reddutils import periodogram as rp
import pandas as pd

df = pd.read_csv('data.csv')

per = rp.LSP()
per.display(df)

periodogram

Metadata

Release files for reddutils 1.0.7

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

Source distribution (sdist)

Source distribution for reddutils 1.0.7
File Size Uploaded Provenance Actions
reddutils-1.0.7.tar.gz 409.6 kB Without provenance Details for reddutils-1.0.7.tar.gz

Built distribution (wheel)

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

Total release size: 832.3 kB

Release files / reddutils-1.0.7.tar.gz

Download URL reddutils-1.0.7.tar.gz
Size 409.6 kB
Tags Source
SHA-256 checksum
How to use checksums
16d2d260b7ca361a56e5572a6e3e97a6430599b1ccb9f886ac1d0fbec594b53f
BLAKE2b-256 checksum
How to use checksums
166042fdcf76ec5d2915323e7bafebb4ac014e9a86b466cc74fa760f8610f483
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / reddutils-1.0.7-py3-none-any.whl

Download URL reddutils-1.0.7-py3-none-any.whl
Size 422.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa174b077e37fb601319a9d0b2998fc81752d0c42121382c58b94a4b737d75be
BLAKE2b-256 checksum
How to use checksums
698c4c85e458e2c35f0807ae7687acf85f919eda0dd7003eedd4faa409741447
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for reddutils 1.0.7

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