Skip to main content

A Parallel Tempering wrapper for emcee 3 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

reddemcee-0.3.0.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

reddemcee-0.3.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

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