Changed version to 0.0.4
This commit is contained in:
parent
872faacfe8
commit
25d1aad6b6
BIN
dist/nuwavsource-0.0.3.tar.gz
vendored
Normal file
BIN
dist/nuwavsource-0.0.3.tar.gz
vendored
Normal file
Binary file not shown.
66
nuwavsource.egg-info/PKG-INFO
Normal file
66
nuwavsource.egg-info/PKG-INFO
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
Metadata-Version: 2.1
|
||||||
|
Name: nuwavsource
|
||||||
|
Version: 0.0.3
|
||||||
|
Summary: A package for source exclusion in NuStar observation data using wavelet decomposition
|
||||||
|
Home-page: https://github.com/Andreyousan/nuwavsource
|
||||||
|
Author: Andrey Mukhin
|
||||||
|
Author-email: amukhin@phystech.edu
|
||||||
|
License: UNKNOWN
|
||||||
|
Platform: UNKNOWN
|
||||||
|
Classifier: Programming Language :: Python :: 3
|
||||||
|
Classifier: License :: OSI Approved :: MIT License
|
||||||
|
Classifier: Operating System :: OS Independent
|
||||||
|
Description-Content-Type: text/markdown
|
||||||
|
License-File: LICENSE.md
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
6. Average count rate on unmasked area
|
||||||
|
7. Portion of unmasked area
|
||||||
|
8. Specific statistical metric[1] before and after masking the detected sources
|
||||||
|
9. 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
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install nuwavsource
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
To use the package in your project, import it in by writing
|
||||||
|
|
||||||
|
```python
|
||||||
|
from nuwavsource import nuwavsource
|
||||||
|
```
|
||||||
|
|
||||||
|
You can process the cl.evt file by creating an Observation class object:
|
||||||
|
|
||||||
|
```python
|
||||||
|
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].
|
||||||
|
|
||||||
|
```python
|
||||||
|
obs = nuwavsource.Observation(path_to_evt_file,E_borders=[E_min,E_max])
|
||||||
|
```
|
||||||
|
|
||||||
|
|
13
nuwavsource.egg-info/SOURCES.txt
Normal file
13
nuwavsource.egg-info/SOURCES.txt
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
LICENSE.md
|
||||||
|
MANIFEST.in
|
||||||
|
README.md
|
||||||
|
setup.py
|
||||||
|
nuwavsource/__init__.py
|
||||||
|
nuwavsource/nuwavsource.py
|
||||||
|
nuwavsource.egg-info/PKG-INFO
|
||||||
|
nuwavsource.egg-info/SOURCES.txt
|
||||||
|
nuwavsource.egg-info/dependency_links.txt
|
||||||
|
nuwavsource.egg-info/requires.txt
|
||||||
|
nuwavsource.egg-info/top_level.txt
|
||||||
|
nuwavsource/pixpos/nuApixpos20100101v007.fits
|
||||||
|
nuwavsource/pixpos/nuBpixpos20100101v007.fits
|
1
nuwavsource.egg-info/dependency_links.txt
Normal file
1
nuwavsource.egg-info/dependency_links.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
5
nuwavsource.egg-info/requires.txt
Normal file
5
nuwavsource.egg-info/requires.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
astropy==5.1
|
||||||
|
numpy==1.23.2
|
||||||
|
pandas==1.4.4
|
||||||
|
scipy==1.9.1
|
||||||
|
setuptools==57.4.0
|
1
nuwavsource.egg-info/top_level.txt
Normal file
1
nuwavsource.egg-info/top_level.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
nuwavsource
|
BIN
nuwavsource/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
nuwavsource/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
nuwavsource/__pycache__/nuwavsource.cpython-39.pyc
Normal file
BIN
nuwavsource/__pycache__/nuwavsource.cpython-39.pyc
Normal file
Binary file not shown.
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="nuwavsource",
|
name="nuwavsource",
|
||||||
version="0.0.3",
|
version="0.0.4",
|
||||||
author="Andrey Mukhin",
|
author="Andrey Mukhin",
|
||||||
author_email="amukhin@phystech.edu",
|
author_email="amukhin@phystech.edu",
|
||||||
description="A package for source exclusion in NuStar observation data using wavelet decomposition",
|
description="A package for source exclusion in NuStar observation data using wavelet decomposition",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user