Skip to content

Commit

Permalink
preparing for arxiv release, and fixing typos
Browse files Browse the repository at this point in the history
Update README.md
Create README.md
Update README.md
Update pyproject.toml

updated version and description
Update README.md
Update README.md
Update README.md
  • Loading branch information
aurelio-amerio committed Jun 28, 2023
1 parent f27e09b commit c7389c3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# gPCS
# gPCS: Gamma-ray Photon-Counts Statistics
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8070852.svg)](https://doi.org/10.5281/zenodo.8070852)
[![Downloads](https://pepy.tech/badge/gPCS)](https://pepy.tech/project/gPCS)
[![](https://img.shields.io/pypi/v/gPCS.svg?maxAge=3600)](https://pypi.org/project/gPCS)

This repository contains the code for the paper **Gamma-ray point-source catalogue from photon-count statistics**.
This repository contains the code for the paper **Deepening gamma-ray point-source catalogues with sub-threshold information**.

We provide our results in the form of a [precomputed FITS table](examples/firing_pixels.fits), as well as python package which can be used to read the data as `numpy` arrays, as well as export a similar FITS table.
We provide our results in the form of a [precomputed FITS](examples/firing_pixels.fits), as well as python package which can be used to read the data as `numpy` arrays, as well as export a similar FITS table.

# Installation
This package can easily be installed through pip:
Expand Down Expand Up @@ -102,6 +102,10 @@ export_fits_table(filename, QF, alpha, overwrite=False, **kwargs)
- QF_min : lower bound of the QF range
- QF_max : upper bound of the QF range

In order to export the FITS table available in the examples folder, we can run the command
```python
gPCS.export_fits_table(filename="firing_pixels.fits", QF=0.50, alpha=[0.01, 0.05, 0.1])
```
# List of functions
- `get_QF_from_TS(TS, alpha)`: computes the quality factor from a given TS and alpha

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ build-backend = "hatchling.build"

[project]
name = "gPCS"
version = "1.0.1"
version = "1.0.2"
authors = [
{ name="Aurelio Amerio", email="[email protected]" },
{ name="Francesca Calore", email=""},
{ name="Pasquale Serpico", email=""},
{ name="Bryan Zaldìvar", email=""}

]
description = "Code for the paper Gamma-ray point-source catalogue from photon-count statistics"
description = "Code for the paper Deepening gamma-ray point-source catalogues with sub-threshold information"
dependencies = [
"numpy",
"healpy",
Expand Down
2 changes: 2 additions & 0 deletions src/gPCS/data/fits/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
4FGL-DR3 source catalogue provided by the Fermi-LAT collaboration.
The `gll_psc_v30.fit` file was retrieved from [https://fermi.gsfc.nasa.gov/ssc/data/access/lat/12yr_catalog/](https://fermi.gsfc.nasa.gov/ssc/data/access/lat/12yr_catalog/).

0 comments on commit c7389c3

Please sign in to comment.