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.4.tar.gz (6.0 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: nuwavsource-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e93f1db155c015d4d3fc348aa101f7953b95522a8fe15269a5bcb7b2e5b7617c
MD5 7e4ea18b5c8f2aa8f3c53b0b63641df4
BLAKE2b-256 f441b81421fd178e39942098747f638b3febf3abac6892b658bcf5cd641a9cc2

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