Skip to main content

Small package for personal use

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reddutils-1.0.7.tar.gz (409.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reddutils-1.0.7-py3-none-any.whl (422.7 kB view details)

Uploaded Python 3

File details

Details for the file reddutils-1.0.7.tar.gz.

File metadata

  • Download URL: reddutils-1.0.7.tar.gz
  • Upload date:
  • Size: 409.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for reddutils-1.0.7.tar.gz
Algorithm Hash digest
SHA256 16d2d260b7ca361a56e5572a6e3e97a6430599b1ccb9f886ac1d0fbec594b53f
MD5 96f653354c4d6c5bf5dd8c119fb884e7
BLAKE2b-256 166042fdcf76ec5d2915323e7bafebb4ac014e9a86b466cc74fa760f8610f483

See more details on using hashes here.

File details

Details for the file reddutils-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: reddutils-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 422.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for reddutils-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fa174b077e37fb601319a9d0b2998fc81752d0c42121382c58b94a4b737d75be
MD5 efabcb663a61ba3f56b4793961f4bf70
BLAKE2b-256 698c4c85e458e2c35f0807ae7687acf85f919eda0dd7003eedd4faa409741447

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page