Skip to main content

No project description provided

Project description

Binara

Code to fit the lightcurves of close main-sequence binary systems. It includes an analytical model for the lightcurves based on Engel 2020, and performs the fitting using a MCMC method.

Lightcurve Model

The lightcurve model includes flux contributions from Doppler beaming, reflection effects, ellipsoidal variations and eclipses. The changes in eclipse depths from limb darkening effects are also modeled. For a more detailed version of the

MCMC Fitting

Table of Contents

Installation

Downloading the code

The code is available on GitHub. Simply run:

# Clone the repository
git clone https://github.com/golmschenk/binara.git

cd binara

Building with CMake

Building with CMake is not necessary since the source code is contained in only three C files. However, it is extremely convenient. In your terminal, simply run:

# Install dependencies
cmake -B build

cd build

# Build the project
make -j

Note: Building with OpenMP support on some of the Apple machines with M1 or M2 chips may require you to specify a different compiler than AppleClang. E.g., if you have downloaded OpenMP and gcc via brew, you may instead want to do:

cmake -B build -D CMAKE_CXX_COMPILER=/opt/homebrew/bin/g++-14 \
-D CMAKE_C_COMPILER=/opt/homebrew/bin/gcc-14

Building Directly

The executable can also be compiled and linked directly.

mkdir build

gcc src/mcmc_wrapper.c src/likelihood.c src/util.c -O3 -fopenmp -o build/binara

Usage

Examples of how to use the project.

# Run the project

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Contact

Siddhant Solanki - siddhant@umd.edu

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

binara-0.0.1.tar.gz (160.6 kB view details)

Uploaded Source

Built Distributions

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

binara-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (168.6 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

binara-0.0.1-cp312-abi3-macosx_14_0_arm64.whl (337.1 kB view details)

Uploaded CPython 3.12+macOS 14.0+ ARM64

binara-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

binara-0.0.1-cp311-cp311-macosx_14_0_arm64.whl (338.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

binara-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

binara-0.0.1-cp310-cp310-macosx_14_0_arm64.whl (338.7 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

binara-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

binara-0.0.1-cp39-cp39-macosx_14_0_arm64.whl (338.8 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

Details for the file binara-0.0.1.tar.gz.

File metadata

  • Download URL: binara-0.0.1.tar.gz
  • Upload date:
  • Size: 160.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for binara-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e1f5a2697d9edb88d63389dbce3aa33450fc9bcad781edda306e82c627ca5c16
MD5 1b40a303c9be52a98aa91ee4517cdd6d
BLAKE2b-256 4b3e54821dccf80996efd8473b04674fc54e327ce670a317e6cd4592650e2f14

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bef81a1eaa476e860b52bcbd0b4517f332bb68af317aa3a2bc639a5a7972c89a
MD5 12d3e8697f5c5b66a39f09071739abcc
BLAKE2b-256 788507ae1ac9f5927552ced0ad104653ccfeba90953edf815be3e4f1432f2bcd

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp312-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp312-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7683b2a6db5ffcf1c43918ac87d0648714b9425827263e6d933c2a9e5a7c6951
MD5 d085460890cb7fc1f7221474677ec38e
BLAKE2b-256 df58cafff66b89c884cf6abdbf320fce8bf67108d7c092dc5c6f05a8f4faef7d

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60e6a534f6999deaa3c4ca987c5f0bb2b1c38c4593a8dc0c8ace216c814a4787
MD5 3dd503d0a9c998ec38d171abee4f960a
BLAKE2b-256 a68cc9a2f648ea7d544fab939d6c7f51718b0be124f9379b007d7b4f3fd00e5d

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8ecb410470046fcc0e93ad63319c6f88a38901824dcaba6d7a8eee59c09805bd
MD5 42134d82a7bd853eb67b3a28a3c40ea2
BLAKE2b-256 24684650d1a5bf6bb1a001730101c8cd4d83b6a8e7334a11d1a7b38f837cde62

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72524ac0dbc66003aef97346ecfbe1e5cd1b0de16e5bacb407e07aee39f7f4bd
MD5 0786e756c4cdb42afbf9afb46f528fb1
BLAKE2b-256 393fbdb5d60a41cbe85ae1a8b3d4d3d1b2f5775218444ae332ea0630572a3095

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dedacb9846bce24fd782140741d6dbf1d251553df89c575e39abf389fb3056c6
MD5 45dc163cca58f3255fc944963de9dfdf
BLAKE2b-256 6db067bbe42002b881be979f5c90162a5dae15659f6168c7b80ba2238f1c57ec

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d3a99127a7d65975b9dddb75fb1115941810e536efdfec1017832e285ef79dd
MD5 11e52cb318064defb9bba77b896b3701
BLAKE2b-256 4a3e6293a09ea7b25b35b94f90a042c5b2d32b433d838459ef1fd176347b317b

See more details on using hashes here.

File details

Details for the file binara-0.0.1-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for binara-0.0.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a0408886ba37ca58a409ed2164458920f49a5bdd3494adf8b9e855c8b479bc8d
MD5 42243c59d7feb7395a2a83db15022220
BLAKE2b-256 446b5133933e37afb3cf8c7784f6c64527bc8622e759d98c6dfadfc1499342c4

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