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

Uploaded Source

File details

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

File metadata

  • Download URL: nuwavsource-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f0a3234863beb7acb03676b2f80eb652b3377aea9fb2c21d6f2afdeef34affed
MD5 24bdb2bfceb76d5cf4ca057bc2ce8eb2
BLAKE2b-256 67c0f44e2aa2e2e8f255fc5d05774b38bd69c6e042a48ce967670dad9fc3f990

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