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")
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SpectroscopicBinarySystem-1.0.13.tar.gz.
File metadata
- Download URL: SpectroscopicBinarySystem-1.0.13.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88abcfef5823c9af521ecdc5ad436a6d1a7fe8cdcf1f17859793339f4b79b499
|
|
| MD5 |
05f2eb28f2c5607a6a8636c9aa54cd04
|
|
| BLAKE2b-256 |
5b467c5f18684e079acd45d8ecd78e543ada13c970da8c47fcd17a78ed091a1b
|
File details
Details for the file SpectroscopicBinarySystem-1.0.13-py3-none-any.whl.
File metadata
- Download URL: SpectroscopicBinarySystem-1.0.13-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06f35d1a0b6c7ad7364e2efac9c98ff554fbebd6f8583ee109c057a8b8b90294
|
|
| MD5 |
63ea66af4727ed6170bd23a04d11519a
|
|
| BLAKE2b-256 |
84404453df768689ec2b5584c19e88836b44a73d067a3e5bd6df9e3076d4a43d
|