Skip to main content

A program that retrieves NICER observational data sets and performs a default data reduction process on the NICER observational data

Project description

PyPI PyPI Downloads

autoNICER

A CLI that allows for the automated retrieval, and default data reduction of NICER data. This software was developed to automate the retrieval of NICER data and perform standardized data reduction on the retrieved NICER data.

Contributing

Anyone considering contribiting to this project is encouraged to do so. Constributing can be something as small as submitting issues you have found or requesting enhancements. Your feedback is incredibly valuable for improving the project. All that is asked is that if you wish to contribute code please reach out in one way or another to nkphysics, and submit a pull request.

If you are reading this and considering contributing, know that you even taking the time to consider contributing is greatly appreciated.

Thank you.

Disclaimer

This software is licensed under the Apache 2.0 license, so it is free for you to use. This project is unaffiliated with the NICER mission, NASA, the Goddard Space Flight Center (GSFC), and HEASARC. Under no circumstances should anyone consider this project endorsed by or recommended by the afformentioned agencies and organizations.

Watch a video Tutorial on how to use autoNICER

After v1.0.2 I a made a video going over autoNICER and demoing some of its functionality. See it here: https://youtu.be/q23dvn3Da7Q

For more in depth instructions and documentation check out the wiki: https://github.com/nkphysics/autoNICER/wiki

Pre-Requisite Software

A video tutorial on how to generally install heasoft can be found here: https://youtu.be/3-gobnSEuDo

A video tutorial on how to setup Remote CALDB can be found here: https://youtu.be/s01DF0cwOvM

  • wget (Only for versions < v1.3.0)

Installation

For standard non-dev use cases download via pip.

$ pip3 install autonicer

OR

$ pip install autonicer

For development cases:

  • Clone the repo
  • cd into the project directory
  • Install with dev deps python -m pip install .[dev]
  • Start working!
  • Run tests locally before submitting a PR

Basic Usage

  1. Initialize HEASoft.

  2. Go to the HEASARC archive in your web browser and query the NICERMASTER catalog for the source of your choice.

  3. Navigate to the desired directory where you want the NICER data that will be retrieved to be stored.

  4. Run autonicer by calling the local installation (i.e. $ autonicer)

  5. Upon starting autoNICER you will be asked to input the target source that you would like to query. Input the same source that you queryed in the web browser (ex: PSR_B0531+21).

  6. Next you will be prompted to select the settings. You can select the following

    • If you want a barycenter correction performed
    • If a .csv log of the autoNICER run is written out
    • If the *ufa.evt files are compressed after reduction
  7. Next you will see the following prompt autoNICER > . Enter in the desired OBSID for the observation that you want retrieved and reduced. Better yet, copy the desired observation ID from the HEASARC archive and paste into the program. This will query that observation to be retrieved and processed. Type sel to see all the OBSID's you've selected. Type cycle [cycle number](not with the brackets) to select all OBSID's from a specific cycle. You can use the rm [all or OBSID] or back commands to remove unwanted OBSID's that you may have selected by mistake. Type done when you have entered in all the observation IDs you want retrieved and reduced.

  8. You will see autoNICER start retrieving the data with wget, then that will be fed directly into nicerl2, then it will be barycenter corrected and lastly compressed in a .gz format if you selected for it to happen. Selected OBSID's are retrieved and processed in series so autoNICER will move on the the next OBSID you've queryed up and give you back command of your terminal after it has retrieved and reduced all selected OBSIDs.

  • Run autonicer --help for a list of CLI options

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

autonicer-1.3.0.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autonicer-1.3.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file autonicer-1.3.0.tar.gz.

File metadata

  • Download URL: autonicer-1.3.0.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for autonicer-1.3.0.tar.gz
Algorithm Hash digest
SHA256 4471f54368cdcac5c6ec7e7d0fafc90f59728eeadf102905e9c063bc75a70c80
MD5 c1f2f44d3d256249381d2cad7a3044ac
BLAKE2b-256 52e026e6c0d8398c717fe53b559bc1a913c08366999fedd5436e17c664b6a2dd

See more details on using hashes here.

File details

Details for the file autonicer-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: autonicer-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for autonicer-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c1af3c23eaeb520ea93eeee9c9e6f714a115a21aba01149433c485aa8ab13c6
MD5 fb1510f6bc2e765b976ddec76f3fa5f3
BLAKE2b-256 3ca1fc296e543085899d50b6dff6dd312ee0eb64d635f6ebe44298fea5ff6764

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page