forked from PaulKuin/uvotpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (49 loc) · 2.7 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from distutils.core import setup
setup(name='uvotpy',
version='2.0.1',
description='Swift UVOT grism spectral processing software',
long_description="""
This software was written to extract astronomical spectra from grism images
taken with the Ultraviolet and Optical Telescope on the Swift spacecraft.
See http://www.swift.ac.uk or http://swift.gsfc.nasa.gov for details.
The Swift spacecraft observes faint objects in the sky that usually cannot
be seen by the naked eye, concentrating mostly on variables, like
supernovae, gamma ray bursts, x-ray binaries and such in gamma rays, X-rays
and the uv and optical spectral regions with three instruments.
The UVOT uv grism observes the spectrum from 165 - 500 nm, while the optical
grism does that from 270-650 nm. The grisms make images of 2048x2048 pixels
which are distortion corrected by the ground processing. The Swift software
is part of the HEADAS software distributed by HEASARC at Goddard Space Flight
Center (NASA). That software is required to be installed and operational
for the spectral extraction to work. WCStools, written by Doug Mink at SAO
are also required, as well as an active internet connection in order to
query the USNO-B1 catalogue.
The spectral extraction will locate the spectrum in the image based on
the provided sky coordinates which must be provided in RA, Dec (J2000).
The output is in the form of plots and FITS formatted files compatible
with XSPEC.
""",
author='Paul Kuin',
author_email='[email protected]',
url='http://www.mssl.ucl.ac.uk/www_astro/uvot/',
platforms=['MacOS X 10.6-10.9','linux Debian'],
license='Releases under a 3-clause BSD style license',
packages = ['uvotpy'],
package_dir = {'' : ''},
package_data = {'uvotpy' : [ 'licence/licence.txt',
'calfiles/usnob1.spec',
'calfiles/uvw1_dummy.img',
'calfiles/zemaxlsf.fit',
'calfiles/README',
'calfiles/*.arf',
'calfiles/*.fits',
'calfiles/superseded/*',
'README',
'RELEASE_NOTES.txt',
'uvotgrism/*'
'doc/*']},
requires = ['numpy','matplotlib','scipy','astropy','stsci.convolve','stsci.imagestats'],
# requires HEADAS, WCStools, internet connection
# environment setup requires UVOTPY to point to the installed uvotpy library and calfiles.
scripts=['uvotpy/scripts/uvotgrism','uvotpy/scripts/fileinfo','uvotpy/scripts/grismpipe'],
)