PTMCMC sampler for exoplanet search
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:
- 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.Exoplanet_Archive()
exopop = exodus.Exoplanet_Archive('NasaExoplanetArchive')
#exopop = exodus.Exoplanet_Archive('ExoplanetEU2')
#exopop = exodus.Exoplanet_Archive('ExoplanetsOrg')
exopop.display()
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()
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file astroemperor-0.8.7.tar.gz
.
File metadata
- Download URL: astroemperor-0.8.7.tar.gz
- Upload date:
- Size: 68.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9aa70ae006771595d8b40e6d95b8b5c9fb4017fa297531699ed9ddab57a3db |
|
MD5 | a3166beff6368bcf61894dcd29acf175 |
|
BLAKE2b-256 | 397818731669365b267c659f048b5c973c06af1aa88af3b750caf00b08650963 |
File details
Details for the file astroemperor-0.8.7-py3-none-any.whl
.
File metadata
- Download URL: astroemperor-0.8.7-py3-none-any.whl
- Upload date:
- Size: 80.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f093027b7d0554cd17609ad99f191d3e8099ae9df6cacecb6902fc4fefde17 |
|
MD5 | 4872b8c5fc8dcb46fb98df7e4b97521c |
|
BLAKE2b-256 | 0071b1c10a46e87db88f2d6b68e612de21886bfc730f49c9a1d753fc5ac5be69 |