-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from nanograv/package-rename
Package Rename to PINT Pal
- Loading branch information
Showing
38 changed files
with
157 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,52 @@ | ||
# Timing analysis | ||
# PINT Pal | ||
|
||
[![Notebook Pipeline (Ubuntu)](https://github.com/nanograv/pint_pal/actions/workflows/test_notebook.yml/badge.svg)](https://github.com/nanograv/pint_pal/actions/workflows/test_notebook.yml) | ||
|
||
A repository for standardizing timing analysis and data combination work with a Jupyter notebook framework and corresponding tools. | ||
|
||
`timing_analysis` includes tools and notebook templates to facilitate transparency and reproducibility in timing pulsars using PINT. Configuration (`.yaml`) files contain relatively compact metadata to capture decisions made during the timing process so that such information can naturally be version controlled. Configuration files can be "plugged into" standardized notebook templates to asses and update results. | ||
`pint_pal` includes tools and notebook templates to facilitate transparency and reproducibility in timing pulsars using PINT. Configuration (`.yaml`) files contain relatively compact metadata to capture decisions made during the timing process so that such information can naturally be version controlled. Configuration files can be "plugged into" standardized notebook templates to asses and update results. | ||
|
||
More information about available tools and use cases coming soon! | ||
|
||
Getting started | ||
--------------- | ||
|
||
PINT is necessary for core functionality of timing_analysis, but the following packages are also required to do detailed outlier inspection and run noise analyses: | ||
[PINT](https://github.com/nanograv/PINT) is necessary for core functionality of `pint_pal`, but the following packages are also required to do detailed outlier inspection and run noise analyses: | ||
|
||
- [enterprise](https://github.com/nanograv/enterprise) | ||
- [enterprise_extensions](https://github.com/nanograv/enterprise_extensions) | ||
- [enterprise_outliers](https://github.com/nanograv/enterprise_outliers) | ||
- [pypulse](https://github.com/mtlam/PyPulse) | ||
|
||
- enterprise | ||
- enterprise_extensions | ||
- enterprise_outliers | ||
- pypulse | ||
There are instructions for installing these packages and setting up your environment here: https://github.com/ipta/pulsar-env. Please note that installing `mamba` must be done from a clean (base) `conda` environment; you can make and activate a fresh environment with, e.g.: | ||
|
||
There are instructions for installing these packages and setting up your environment here: https://github.com/ipta/pulsar-env. Note that installing `mamba` must be done from a clean (base) conda environment; you can make a fresh environment with, e.g.: `conda create --name myenv`. | ||
``` | ||
$ conda create --name installer && conda activate installer | ||
``` | ||
|
||
Installation | ||
------------ | ||
|
||
`timing_analysis` is now available on PyPI, so users who do not wish to develop code can grab the latest tagged version with: | ||
`pint_pal` is now available on PyPI, so users who do not wish to develop code can grab the latest tagged version with: | ||
|
||
``` | ||
$ pip install timing_analysis | ||
$ pip install pint_pal | ||
``` | ||
|
||
You may also access the latest development (not tagged) version of the repository by cloning it from GitHub, then installing: | ||
|
||
``` | ||
$ git clone https://github.com/nanograv/timing_analysis.git | ||
$ cd timing_analysis | ||
$ git clone https://github.com/nanograv/pint_pal.git | ||
$ cd pint_pal | ||
$ pip install . | ||
``` | ||
|
||
To further develop `timing_analysis` code, fork this repository, clone your fork, then: | ||
To further develop `pint_pal` code, fork this repository, clone your fork, then: | ||
|
||
``` | ||
$ cd timing_analysis | ||
$ cd pint_pal | ||
$ pip install -e . | ||
$ git remote add upstream https://github.com/nanograv/timing_analysis | ||
$ git remote add upstream https://github.com/nanograv/pint_pal | ||
``` | ||
|
||
Before making changes, we highly recommend using `pulsar-env` (see above) to set up a consistent environment. Submit changes for review by opening a PR from your fork. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ requires = ["setuptools>=61.0"] | |
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "timing-analysis" | ||
version = "1.2.1" | ||
name = "pint_pal" | ||
version = "0.1.0" | ||
authors = [ | ||
{ name="Joe Glaser", email="[email protected]" }, | ||
{ name="Joe Swiggum", email="[email protected]" }, | ||
|
@@ -23,5 +23,5 @@ classifiers = [ | |
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/nanograv/timing_analysis" | ||
"Bug Tracker" = "https://github.com/nanograv/timing_analysis/issues" | ||
"Homepage" = "https://github.com/nanograv/pint_pal" | ||
"Bug Tracker" = "https://github.com/nanograv/pint_pal/issues" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[metadata] | ||
name = timing-analysis | ||
name = pint_pal | ||
|
||
[options] | ||
package_dir = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ | |
long_description = fh.read() | ||
|
||
setup( | ||
name="timing_analysis", | ||
version="1.0.0", | ||
description="NANOGrav Timimg Analysis", | ||
name="pint_pal", | ||
version="0.1.0", | ||
description="Notebook/PINT-based Pulsar Timimg Analysis Software", | ||
author="Joe Swiggum", | ||
author_email="[email protected]", | ||
url="", | ||
|
@@ -29,5 +29,5 @@ | |
"jupyter", | ||
"seaborn" | ||
], | ||
python_requires=">=3.7", | ||
python_requires=">=3.8", | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.