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:
- Numpy
- pandas
- Scipy
- PyAstronomy (http://www.hs.uni-hamburg.de/DE/Ins/Per/Czesla/PyA/PyA/index.html)
- tqdm (https://pypi.python.org/pypi/tqdm)
- tabulate
- matplotlib.pyplot
- ipywidgets
- IPython.display
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)
Exodus
Use for visualising the NASA Exoplanet Archive:
from reddutils import exodus
exopop = exodus.NASA_Exoplanet_Archive()
exopop.display()
Fourier Transform Visualiser
For visualising fourier transforms and the nyquist limit.
from reddutils import fourier
fou = fourier.fourier()
fou.display()
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)
Metadata
Release files for reddutils-test 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reddutils_test-1.0.0.tar.gz | 18.0 kB | Without provenance | Details for reddutils_test-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reddutils_test-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for reddutils_test-1.0.0-py3-none-any.whl |
Total release size: 40.7 kB
Release files / reddutils_test-1.0.0.tar.gz
| Download URL | reddutils_test-1.0.0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74f9607e063b87a8ec30e88696da96bccc9ac5f5071d7b1831e57e81d84022ee
|
|
BLAKE2b-256 checksum How to use checksums |
529efea3cd6b4e2250b6c5de01c61e367aacbe900b3633e01fd13ecaa772e69e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / reddutils_test-1.0.0-py3-none-any.whl
| Download URL | reddutils_test-1.0.0-py3-none-any.whl |
|---|---|
| Size | 22.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c5d3ca702678ec69f3d399820e0ba27d8a11e27801c3ca4dd74562593b81336
|
|
BLAKE2b-256 checksum How to use checksums |
e3bdfb5f804c22df996a13dc749456ade986625c81e4da4cc104fd27375e8c40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Security for reddutils-test 1.0.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.