Skip to main content

A package for source exclusion in NuStar observation data using wavelet decomposition

Project description

nuwavsource

This package is supposed to be used to detect the sources in NuStar observations and generate a mask excluding the signal from the sources of any kind.

Additionaly, it generates a table containing:

Useful data about the observation:

  1. OBS_ID
  2. Detector
  3. Coordinates in equatorial (ra,dec) and galactical (lon,lat) systems
  4. Time of the observation in seconds
  5. Exposure

Useful algorythm-related data:

  1. Average count rate on unmasked area
  2. Portion of unmasked area
  3. Specific statistical metric[1] before and after masking the detected sources
  4. Root-mean-square of counts in unmasked area

Installation

This package is to be used with Python 3.x.x

To install tha package write

pip install nuwavsource

Usage

To use the package in your project, import it in by writing

from nuwavsource import nuwavsource

You can process the cl.evt file by creating an Observation class object:

obs = nuwavsource.Observation(path_to_evt_file)

Additionally, the energy band in KeV to get events from can be passed as an argument. The default value is [3,20].

obs = nuwavsource.Observation(path_to_evt_file,E_borders=[E_min,E_max])

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

nuwavsource-0.0.5.tar.gz (6.0 MB view details)

Uploaded Source

File details

Details for the file nuwavsource-0.0.5.tar.gz.

File metadata

  • Download URL: nuwavsource-0.0.5.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for nuwavsource-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e030c845066cc824173a3fd02826ffbbdbe485b97024098e5e6745ae9f7114da
MD5 9f339f3de10778aad1718629f707082b
BLAKE2b-256 6cea3d3a7e703f300bc58567a52790064371fd628cd567e86d39686aea5d94ae

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