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

Uploaded Source

File details

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

File metadata

  • Download URL: nuwavsource-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 1247212b008e903114a3698611e98b4db6c6770495cf7634fc991ced54e4fe26
MD5 2a6336317e6d1d818e6f9d0961fc1090
BLAKE2b-256 ba19c3f0193658466851e64e199a76d199a36d72c53df05100974dd2a07a5597

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