Skip to main content

Python astronomy tools for spectroscopic binary system

Project description

Spectroscopic Binary System

Spectroscopic Binary System is a package intended to contain functionality and some common tools needed for performing astrophysics on spectroscopic binary stars with Python. It allows, among other things, to automatically measure the radial velocity of SB1 type systems and to find their orbital solution with BinaryStarSolver (https://github.com/NickMilsonPhysics/BinaryStarSolver)

Installation

mac/unix

  pip install spectroscopicbinarysystem

windows

  py -m pip install spectroscopicbinarysystem

Usage/Examples

Download sample data (see /examples/alphadra directory)

And run this code :

from spectroscopicbinarysystem import SpectroscopicBinarySystem

sbs = SpectroscopicBinarySystem('hd123299', 
                                './examples/alphadra/', 
                                t0=2451441.804, 
                                period_guess=51, 
                                debug=True)

# plot result with matplotlib and save the results
sbs.plotRadialVelocityCurve(title="α Dra - HD123299 - Phased radial velocities", savefig=True)

# display result with plotly
sbs.plotlyRadialVelocityCurve(
    title="α Dra - HD123299 - Phased radial velocities")

results

Project details


Download files

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

Source Distribution

SpectroscopicBinarySystem-1.0.13.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

SpectroscopicBinarySystem-1.0.13-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file SpectroscopicBinarySystem-1.0.13.tar.gz.

File metadata

File hashes

Hashes for SpectroscopicBinarySystem-1.0.13.tar.gz
Algorithm Hash digest
SHA256 88abcfef5823c9af521ecdc5ad436a6d1a7fe8cdcf1f17859793339f4b79b499
MD5 05f2eb28f2c5607a6a8636c9aa54cd04
BLAKE2b-256 5b467c5f18684e079acd45d8ecd78e543ada13c970da8c47fcd17a78ed091a1b

See more details on using hashes here.

File details

Details for the file SpectroscopicBinarySystem-1.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for SpectroscopicBinarySystem-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 06f35d1a0b6c7ad7364e2efac9c98ff554fbebd6f8583ee109c057a8b8b90294
MD5 63ea66af4727ed6170bd23a04d11519a
BLAKE2b-256 84404453df768689ec2b5584c19e88836b44a73d067a3e5bd6df9e3076d4a43d

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