Skip to main content

Python package for conveniently plotting results from pulsar timing array bayesian analyses.

Project description

La Forge

https://img.shields.io/pypi/v/la_forge.svg https://github.com/Hazboun6/la_forge/workflows/Build/badge.svg Documentation Status https://zenodo.org/badge/DOI/10.5281/zenodo.4152550.svg

Pulsar Timing Array Bayesian Data Visualization

Graphic Credit: Stewart Vernon, via Deviant Art

Graphic Credit: Stewart Vernon, via Deviant Art

Python package for conveniently plotting results from pulsar timing array bayesian analyses. Many of the functions are best used with enterprise outputs.

Not yet available on PyPI, please use

pip install git+https://github.com/Hazboun6/la_forge@master

to install or run the setup.py script once cloned to your pc.

Example code

from la_forge import rednoise
from la_forge.core import Core
from la_forge import utils

normal_ul_dir = '../BF_standard/DE436/'
free_spec_ul_dir = '../BF_free_spec/DE436/'

a = Core('plaw',chaindir=normal_ul_dir)
b = Core('free_spec',chaindir=free_spec_ul_dir)

tspan = 11.4*365.25*24*3600

a.set_rn_freqs(Tspan=tspan)
b.set_rn_freqs(Tspan=tspan)

compare = [a,b]
plot_filename = './noise_model_plots.png'
Colors = ['blue','red']
Labels = ['PTA PLaw', 'PTA Free Spec']

rednoise.plot_rednoise_spectrum(pulsar=psr, cores=compare, chaindir=chaindir,
                                show_figure=True, rn_type='', verbose=False,
                                Tspan=tspan, Colors=Colors, n_plaw_realizations=100,
                                labels=Labels, plotpath=plot_filename)

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.4.0 (2021-09-24) Added CI testing suite and cleaned up functions. 0.3.0 (2020-10-28) New docs. 0.2.0 (2020-02-13) Cleaned up various functionality and added more docs. 0.1.0 (2018-09-21)* ——————

  • First release on PyPI.

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

la_forge-0.4.0.tar.gz (64.9 MB view details)

Uploaded Source

Built Distribution

la_forge-0.4.0-py2.py3-none-any.whl (35.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file la_forge-0.4.0.tar.gz.

File metadata

  • Download URL: la_forge-0.4.0.tar.gz
  • Upload date:
  • Size: 64.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for la_forge-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ca7d96d10cd75ae49193f91f0a4451f8259ea4051d2c3a005d9a65a34cddda0a
MD5 d80b77d3f55e6dfbf90eb71eda1570d6
BLAKE2b-256 4710886a4e80fef78d9549caeb473ec13e512935916967f18f98c1735864606f

See more details on using hashes here.

Provenance

File details

Details for the file la_forge-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: la_forge-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for la_forge-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2b46214a12c66b2f07b2843e1d42196415c7053a0070923d86f572d4eb8ed10b
MD5 ce83975cf657df7363dfdf814ea8ce7e
BLAKE2b-256 7328cb50b859b150b342ea10955f02ea3194f1c0ce35a9bc9ab8c714097f85fc

See more details on using hashes here.

Provenance

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