timing library for high energy Pulsar observation
Project description
TAT-pulsar (Timing Analysis Toolkit for pulsar astrophysics)
Hey there! This is a Python toolbox made for folks interested in messing around with pulsar timing analysis, especially in high-energy scenarios. You know those pesky corrections needed for stuff like the barycentric correction and binary systems? Yeah, we’ve got functions for those. Plus, we’ve included some timing analysis tools and some examples to help you get started with your pulsar timing exploration. Enjoy!
Install the Package using pip
- Open your terminal or command prompt.
- Type in the following command:
pip install tat-pulsar
Install the Package using conda
Download the repository
Download the whole repository to your local directory using git clone or git fetch.
For example, In you local path execute:
git clone https://github.com/tuoyl/tat-pulsar.git
And you will get the folder tat-pulsar, in the folder you will see a file named setup.py. We will install the whole package based on this script.
Create a conda environment
The most elegant thing to do before installing is to create a new conda environment to avoid conflicts with your existing python environment.
conda create -n pulsar-timing python=3
after downloading the dependancies, execute
conda activate pulsar-timing
to enter the pulsar-timing environment of conda, you will see (pulsar-timing) before the shell prompt.
Install the repository
Now you are all set to install the repository. In the directory where the setup.py located, execute:
python3 -m pip install -e .
Uninstall the repository
if you want to uninstall the package for generating the product.
python3 -m pip uninstall tat-pulsar
Command line tools
Installing the project exposes a set of convenience entry points that wrap the utilities in tatpulsar/launcher:
tatpulsar-fold2dfolds event lists into phase-resolved histograms.tatpulsar-residualscalculates and plots timing residuals from par/tim pairs.tatpulsar-gti-generatorlaunches the interactive GTI selection helper.tatpulsar-tempo-guiopens the PyQt timing analysis interface described below.
Timing analysis GUI
The package now bundles a PyQt-based application that wraps the TEMPO2-style timing workflow. After installing the package (either via pip or from source) you can launch the interface with:
tatpulsar-tempo-gui
From the main window you can:
- Load
*.parand*.timfiles, inspect individual TOAs, and toggle them in or out of the fit. - Choose which pulsar parameters are free, then run a weighted least-squares fit using PINT.
- Review interactive residual plots and the weighted RMS of the solution.
- Export the curated TOA list and the fitted timing model to new files.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tat_pulsar-0.4.8-cp37-cp37m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: tat_pulsar-0.4.8-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 69.9 MB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b408c684f7d10cea1672156ecb77dcbb74576fb1a5f79251288b50d34f6b9d6b
|
|
| MD5 |
d984a759b40e82eec668d816107038a1
|
|
| BLAKE2b-256 |
9c8f56d5398776ea37ce1b6faaf63aa84797f1d9ee8ef6b05b791b498e9f71ee
|