Rename, add setup/packaging files

This commit is contained in:
Andrey Mukhin 2022-09-09 12:04:06 +03:00
parent 1585952693
commit 8c16656761
4 changed files with 13 additions and 4 deletions

View File

@ -1 +1 @@
# wavsource_nustar
# nuwavsource

View File

@ -108,7 +108,6 @@ def fill_poisson(array, size_input=32):
mask[idx] = False
size *= 2
return output
def mirror(array):
size = array.shape[0]
output = np.tile(array,(3,3))

3
setup.cfg Normal file
View File

@ -0,0 +1,3 @@
[metadata]
description-file=README.md
license_files=LICENSE.md

View File

@ -4,9 +4,9 @@ with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="wavsource_nustar",
name="nuwavsource",
version="1.0.0",
author="Andrey_Mukhin",
author="Andrey Mukhin",
author_email="amukhin@phystech.edu",
description="A package for source exclusion in NuStar observation data using wavelet decomposition",
long_description=long_description,
@ -18,4 +18,11 @@ setuptools.setup(
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
install_requires = [
'astropy==5.1',
'numpy==1.23.2',
'pandas==1.4.4',
'scipy==1.9.1',
'setuptools==57.4.0',
]
)