Skip to main content

Annotate transient sources or galaxies with the percentage credibility region they reside within on a given HealPix sky map.

Project description

skytag

Annotate transient sources or galaxies with the percentage credibility region they reside within on a given HealPix sky map..

Documentation for skytag is hosted by Read the Docs (development version and main version). The code lives on github. Please report any issues you find here. If you want to contribute, pull requests are welcomed! true

Features

  • A command-line tool to report the credibility region a sky-location is found within on a HealPix skymap.
  • Providing a MJD will also return the time since the map event.
  • A python interface to provide the same functionality reported above, but can handle large lists of sky-locations or transient events.

Installation

The easiest way to install skytag is to use conda:

conda create -n skytag python=3.11 pip skytag -c conda-forge
conda activate skytag

To upgrade to the latest version of skytag use the command:

conda upgrade skytag -c conda-forge

It is also possible to install via pip if required:

pip install skytag

To check installation was successful run skytag -v. This should return the version number of the install.

Command-Line

Here is the command-line usage:

Usage:
    skytag <ra> <dec> <mapPath>
    skytag <ra> <dec> <mjd> <mapPath>

If you need an example skymap, download one from here.

For example, to find the probability of the location RA=170.343532, Dec=-40.532255 then run:

skytag 170.343532 -40.532255 bayestar.multiorder.fits

This returns:

This location is found in the 74.55 credibility region of the map.

If you also supply an MJD:

skytag 170.343532 -40.532255 60065.2232 bayestar.multiorder.fits

We get:

This transient is found in the 74.55 credibility region, and occurred 2.85564 days after the map event.

Python API

To use skytag in your own Python code, see here.

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

skytag-0.2.0.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

skytag-0.2.0-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file skytag-0.2.0.tar.gz.

File metadata

  • Download URL: skytag-0.2.0.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.16

File hashes

Hashes for skytag-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c34ba365ddfc79fdeb3d15ba4b72f7653fa017014832e7d63524a0b0127758a3
MD5 f538f1949a577aecb8d60c9dde5befdf
BLAKE2b-256 749dd3b397df5b2d19c280821350093d690d0c411997b971d53daa0080c73ca5

See more details on using hashes here.

File details

Details for the file skytag-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: skytag-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.16

File hashes

Hashes for skytag-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbf86b9f5a791ab85250817133909dbd1c3a8c6baee1baf06f8c56fc7a39bdd2
MD5 084c95cfc2c1196f3df33e2091dad351
BLAKE2b-256 16d90b1a4f89df72b8870602c22e6cb8e9eb0c85bc5b65fbd78ff47e58c8a555

See more details on using hashes here.

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