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

Uploaded Source

Built Distribution

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

nuwavsource-0.0.8-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nuwavsource-0.0.8.tar.gz
  • Upload date:
  • Size: 6.3 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.8.tar.gz
Algorithm Hash digest
SHA256 741cc86e377e483e5bbd12986c126555a34a3049f2c16bc560bed9d10ea2663c
MD5 a24f7e94e5ed0f642a2df7e2440fe466
BLAKE2b-256 2339ac87701be8ba474b12d55520b8af9f8e272f18a4f2443139c6828c61bda8

See more details on using hashes here.

File details

Details for the file nuwavsource-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: nuwavsource-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for nuwavsource-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b50841dc1505dc66a536edbd52041c7be8375861086df65b8b6835384d563f8c
MD5 8a9e0da7426ddec124107eda9cd27add
BLAKE2b-256 6f0cfe781296057f59bb732551dc29d5217f1a2d9fa411e8d128f0f184982bfb

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