Skip to main content

astwro

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 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

Metadata

Release files for astwro 0.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astwro 0.7.5
File Size Uploaded
astwro-0.7.5.tar.gz 5.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for astwro 0.7.5
File Interpreter ABI Platform
astwro-0.7.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 MB

Release files / astwro-0.7.5.tar.gz

Download URL astwro-0.7.5.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
e32e45dedb161adac1838b883f6da4a981d3ae9d2b142e08416018d09d31609c
BLAKE2b-256 checksum
How to use checksums
e10e7d8dbe40ab14c40acdb7c4ee6f81b022bd82251f62c1a3823072dcf41cbe
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / astwro-0.7.5-py3-none-any.whl

Download URL astwro-0.7.5-py3-none-any.whl
Size 5.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5369d90ff4adf00444baf78f53321a4eb6811f32dcf30b771e4b125f0d6c6618
BLAKE2b-256 checksum
How to use checksums
aed88f1a68991c89650c83525dbdd6e983cb9aa47a060df22092c8d3150fdb02
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.7.5 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.14

1 release file

0.5.13

1 release file

0.5.12

1 release file

0.5.10

1 release file

0.5.9

1 release file

0.5.7

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page