Skip to main content

hasasia

https://img.shields.io/pypi/v/hasasia.svg https://github.com/Hazboun6/hasasia/workflows/Build/badge.svg Documentation Status https://codecov.io/gh/Hazboun6/hasasia/branch/master/graph/badge.svg?token=GBKYR808FO Zenodo Badge JOSS Status

A Python package to calculate gravitational-wave sensitivity curves for pulsar timing arrays.

https://raw.githubusercontent.com/Hazboun6/hasasia/master/hasasia_calligraphy.jpg

حساسية (hasasia) is Arabic for sensitivity . Image Credit: Reem Tasyakan

Features

Calculates the following structures needed for signal analysis with pulsars:

  • Pulsar transmission functions

  • Inverse-noise-weighted transmission functions

  • Individual pulsar sensitivity curves.

  • Pulsar timing array sensitivity curves as characteristic strain, strain sensitivity or energy density.

  • Power-law integrated sensitivity curves.

  • Sensitivity sky maps for pulsar timing arrays

Getting Started

hasasia is on the Python Package Inventory, so the easiest way to get started is by using pip to install:

pip install hasasia

The pulsar and spectrum objects are used to build sensitivity curves for full PTAs. The Spectrum object has all of the information needed for the pulsar.

import hasasia.senstivity as hsen

toas = np.arange(54378,59765,22) #Choose a range of times-of-arrival
toaerrs = 1e-7*np.ones_like(toas) #Set all errors to 100 ns
psr = hsen.Pulsar(toas=toas,toaerrs=toaerrs)
spec = hsen.Spectrum(psr)

Publication

This work is featured in a publication, currently released on the arXiv. If you would like to reference the formalism used in this work please use the following attribution:

@article{Hazboun:2019vhv,
            author = {{Hazboun}, Jeffrey S. and {Romano}, Joseph D. and {Smith}, Tristan L.},
             title = "{Realistic sensitivity curves for pulsar timing arrays}",
           journal = {\prd},
          keywords = {General Relativity and Quantum Cosmology, Astrophysics - Instrumentation and Methods for Astrophysics},
              year = 2019,
             month = nov,
            volume = {100},
            number = {10},
               eid = {104028},
             pages = {104028},
               doi = {10.1103/PhysRevD.100.104028},
       archivePrefix = {arXiv},
            eprint = {1907.04341},
       primaryClass = {gr-qc},
            adsurl = {https://ui.adsabs.harvard.edu/abs/2019PhRvD.100j4028H},
           adsnote = {Provided by the SAO/NASA Astrophysics Data System}
         }

Otherwise if you would like to reference the Python package use the following citation:

@article{Hazboun2019Hasasia,
               journal      = {Journal of Open Source Software},
               doi          = {10.21105/joss.01775},
               issn         = {2475-9066},
               number       = {42},
               publisher    = {The Open Journal},
         title        = {Hasasia: A Python package for Pulsar Timing Array Sensitivity Curves},
         url          = {http://dx.doi.org/10.21105/joss.01775},
               volume       = {4},
               author       = {Hazboun, Jeffrey and Romano, Joseph and Smith, Tristan},
               pages        = {1775},
               date         = {2019-10-23},
               year         = {2019},
               month        = {10},
               day          = {23},
         }

Credits

Development Team: Jeffrey S. Hazboun, Joseph D. Romano and Tristan L. Smith

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

History

1.2.3 (2021-09-14) Remove pytest-runner from setup.py

1.2.2 (2021-09-14) Check Build status

1.2.1 (2021-09-14) Fix auto deploy.

1.2.0 (2021-09-14) Added new single source functionality to SkyMap.

1.1.2 (2020-09-12) Added test for the tutorials and a new version of make_corr.

1.1.1 (2020-06-11) Fix pulsar term functionality in SkySensitivity

1.1.0 (2020-06-11) Various extra functionality added, including non-GR polarizations and pulsar term flags.

1.0.5 (2019-10-21) JOSS/Zenodo Release with various changes from JOSS Refereeing and correct Zenodo .json

1.0.4 (2019-10-21) JOSS/Zenodo Release with various changes from JOSS Refereeing and correct Zenodo .json

1.0.3 (2019-10-21) JOSS/Zenodo Release with various changes from JOSS Refereeing and correct Zenodo .json

1.0.2 (2019-10-21) JOSS/Zenodo Release with various changes from JOSS Refereeing and correct Zenodo .json

1.0.1 (2019-10-21) JOSS/Zenodo Release with various changes from JOSS Refereeing

1.0.0 (2019-09-20) The Official Release.

0.1.7 (2019-08-30)

0.1.6 (2019-08-29)

0.1.5 (2019-08-13)

0.1.4 (2019-08-13)

0.1.3 (2019-08-13)

0.1.2 (2019-06-23)

0.1.1 (2019-06-23)

0.1.0 (2019-06-23)*

  • First release on PyPI.

Metadata

Release files for hasasia 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hasasia 1.2.3
File Size Uploaded Provenance
hasasia-1.2.3.tar.gz 6.9 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hasasia 1.2.3
File Interpreter ABI Platform
hasasia-1.2.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 7.1 MB

Release files / hasasia-1.2.3.tar.gz

Download URL hasasia-1.2.3.tar.gz
Size 6.9 MB
Tags Source
SHA-256 checksum
How to use checksums
87ab202bb6c07b24922169fc12115f9fe074c9d6ae33df08b91cb3c4ca48436f
BLAKE2b-256 checksum
How to use checksums
1bc13346578887b0a04d015de25b9c6fb487c0ac35557c26ad82c32b75965faa
Upload date
Uploaded using Trusted Publishing?
What is 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.2 CPython/3.9.6

Release files / hasasia-1.2.3-py2.py3-none-any.whl

Download URL hasasia-1.2.3-py2.py3-none-any.whl
Size 197.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
381326f0092a2abb58486cf4e84e6d3866e1b0893ef1deac8d7e770064d1e922
BLAKE2b-256 checksum
How to use checksums
7de9ac1bc1e307e919b28af920a28050a78c1548d1243ffae0f8611b9e90a9f9
Upload date
Uploaded using Trusted Publishing?
What is 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.2 CPython/3.9.6

Security for hasasia 1.2.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page