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 Distributions

astwro-0.7.1-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

astwro-0.7.1-py2-none-any.whl (5.6 MB view details)

Uploaded Python 2

File details

Details for the file astwro-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: astwro-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.2.3 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.14

File hashes

Hashes for astwro-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a84c133a3d3c8fe2890d3cfad7bfca650f53a007dcf6787c4d58b6677832953
MD5 c8766273a1c35c776087eff160236ad0
BLAKE2b-256 2627e09582df8a57ef3743224077c3b3a10b2de3e55a899800a7f2dc6a4d16cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astwro-0.7.1-py2-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.2.3 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.14

File hashes

Hashes for astwro-0.7.1-py2-none-any.whl
Algorithm Hash digest
SHA256 31c1720d5c6cd53ce460dfb2c3c38ec6a42e1cce87edc097c0d780486e8d5803
MD5 63a25f83292c0b6281034ecf64a28b7c
BLAKE2b-256 c45dd0a06c860c5356605086fb1efa19d8890c71355179e21e7392bee51e3bec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page