Skip to main content

Unredden-stars

Build Status Code PyPI version License

This package allows to determine the interstellar extinction for stars lying on the color-color plane. Using:

  1. theoretical stars sequence
  2. reddening line slope
  3. positions of stars

package functions calculate which part of the sequence the reddened stars come from. This allows to determine the color excess and hence the extinction of each star.

unredden-stars

Installation

To install the package please type from the command line:

$ sudo pip3 install unred

or alternatively:

$ git clone https://github.com/pbrus/unredden-stars
$ cd unredden-stars
$ sudo python3 setup.py install

Usage

At the beginning call the script from the terminal window with the -h option:

$ unred_stars.py -h

This will give you a description of available options. If you need to see the program in action immediately, you can use files from the example_data/ directory:

$ unred_stars.py example_data/stars.dat example_data/ub_bv_dwarfs.dat 0.72 3.1

Moreover, you can filter the output (by extinction value for each star) using --min or --max option:

$ unred_stars.py example_data/stars.dat example_data/ub_bv_dwarfs.dat 0.72 3.1 --min

I encourage to visit my website to see more detailed description of this program. The current link can be found on my GitHub profile.

License

Unredden-stars is licensed under the MIT license.

Metadata

Release files for unred 0.1.2

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

Source distribution (sdist)

Source distribution for unred 0.1.2
File Size Uploaded
unred-0.1.2.tar.gz 5.6 kB Details

Built distribution (wheel)

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

Total release size: 11.9 kB

Release files / unred-0.1.2.tar.gz

Download URL unred-0.1.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f8de51ecc7dd689e3f7fc534823533a65b017ee0a5383329cae0313eacc857ed
BLAKE2b-256 checksum
How to use checksums
f325494abc9bf97e7ea5be83039bb137abadfcf09233045b7c53045d689a25e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release files / unred-0.1.2-py3-none-any.whl

Download URL unred-0.1.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
738c63dacf39707611b05a3f2ac8f719357280e76b498876a695156c7cfa09e9
BLAKE2b-256 checksum
How to use checksums
684fbc78e592f6841e918029657cc097766c3e2d47a53e9f229ec3c2227f7180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

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