Skip to main content

Astro tools

Project description

Astrophysical routines.

Documentation:

http://astwro.readthedocs.io/

Source:

https://github.com/majkelx/astwro

Download:

https://pypi.python.org/pypi/astwro

version badge licence badge pythons badge

Overview

Set of modules developed in Astronomical Institute of Wroclaw University. Contains wrappers for daophot package, star lists manipulation as pandas DataFrames with export/import to daophot and ds9 formats, genetic algorithm for searchin for optimal PSF stars and other.

Instalation

$ pip install astwro

Modules

Package contains following modules:

  • pydaophot - wrapper for Peter Stetson’s DAOPHOT photometry suite:

d = astwro.pydaophot.Daophot(image='i.fits')
res = d.PHotometry(IS=35, OS=50, apertures=[8])
  • starlist - provides pandas objects for stars list, with import/export do daophot and ds9 formats.

s = res.photometry_starlist.sort_values('mag')
psf = astwro.starlist.read_dao_file('i.lst')
astwro.starlist.write_ds9_regions('i.reg', color='blue', indexes=[psf.index], colors=['red']) # PSF stars red
  • utils - some helpers for scripts.

dir = astwro.utils.tempdir('i.lst')
f = open(os.path.join(dir.path,'notimportant.txt'), 'w')
  • tools - command line (callable form python also) tools including gapick for finding optimal PSF-stars set using generic algorithm.

$ gapick.py -od results -c i.coo i.fits

Contact

For any comments or wishes plaese e-mail for the following alias: astwro.0.5@2007.gfdgfdg.com

For any issues please use github tracker: https://github.com/majkelx/astwro/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

astwro-0.5.3-py2-none-any.whl (10.6 MB view details)

Uploaded Python 2

File details

Details for the file astwro-0.5.3-py2-none-any.whl.

File metadata

File hashes

Hashes for astwro-0.5.3-py2-none-any.whl
Algorithm Hash digest
SHA256 1f8f5b75b52ed9203c57bd493febf4db69817e26fa3be78dbd60833e05249d90
MD5 588a10a6180e1467c8ce8970ae14d5c3
BLAKE2b-256 f5df694b78d31e41c338484c0aaddb70a5b236aeb4c08b2cd1ec2573e8743e9a

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