Astro tools
Project description
Astrophysical routines.
- Documentation:
- Source:
- Download:
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 searching for optimal PSF stars and other.
Installation
$ pip install astwro
You should setup paths to executables (e.g. your daophot). See documentation.
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 please 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file astwro-0.7.5.tar.gz
.
File metadata
- Download URL: astwro-0.7.5.tar.gz
- Upload date:
- Size: 5.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32e45dedb161adac1838b883f6da4a981d3ae9d2b142e08416018d09d31609c |
|
MD5 | f9f536125714727829e712bd94da8319 |
|
BLAKE2b-256 | e10e7d8dbe40ab14c40acdb7c4ee6f81b022bd82251f62c1a3823072dcf41cbe |
File details
Details for the file astwro-0.7.5-py3-none-any.whl
.
File metadata
- Download URL: astwro-0.7.5-py3-none-any.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5369d90ff4adf00444baf78f53321a4eb6811f32dcf30b771e4b125f0d6c6618 |
|
MD5 | 835bdee74bf8ccb84e142f982670a75a |
|
BLAKE2b-256 | aed88f1a68991c89650c83525dbdd6e983cb9aa47a060df22092c8d3150fdb02 |