Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Astronomy

Binary Star Eclipse Light Curve and Rossiter-McLaughlin Radial Velocity Fitter

Start using

· Last updated:2026-09-06

Fit spectroscopic-binary radial velocities with a Levenberg-Marquardt orbit solver, derive the mass ratio and mass function, analyse eclipse-time O−C residuals, estimate the Rossiter-McLaughlin spin-orbit angle, and preview a geometric eclipse light curve.

Details

What this tool helps you do

The model is v(t) = γ + K[cos(ν+ω) + e cos ω] for both components; LM is restarted over a (P × phase × ω × e) grid to defeat phase-wrapped false minima; derived quantities follow the standard mass-function and projected-separation relations; the RM estimate is first-order; the light-curve preview is an exact-circle-overlap uniform-disk model, not a full Wilson-Devinney solution.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Astronomy
Input types
textarea, number
Output type
html
Sample coverage
4
API ready
Yes

Overview

The Binary Star Eclipse Light Curve and Rossiter-McLaughlin Radial Velocity Fitter models single-lined (SB1) and double-lined (SB2) spectroscopic binary orbits using a grid-restarted Levenberg-Marquardt solver. It extracts key orbital parameters, computes binary mass functions and mass ratios, analyzes eclipse timing O−C residuals, estimates the Rossiter-McLaughlin spin-orbit alignment angle (λ), and generates a phase-folded geometric eclipse light-curve preview in a single HTML report.

When to use

  • Fitting spectroscopic radial velocity timeseries for SB1 or SB2 systems to determine systemic velocity, semi-amplitudes, period, and eccentricity.
  • Analyzing historical or newly observed eclipse minimum timings to detect orbital period changes through O−C residual analysis.
  • Estimating the projected spin-orbit alignment angle (λ) from an observed Rossiter-McLaughlin radial velocity anomaly during transit or eclipse.

How it works

  1. 1Parses primary and optional secondary radial velocity observations (time, RV, error) along with optional eclipse timings and stellar parameters.
  2. 2Executes a Levenberg-Marquardt orbital fit across a multi-dimensional parameter grid (period, phase, longitude of periastron, and eccentricity) to bypass local phase-wrapped minima.
  3. 3Computes derived orbital properties including the mass function, mass ratio (q), semi-major axis projections, minimum companion mass, or absolute masses when inclination and primary mass are provided.
  4. 4Generates an interactive HTML summary containing fitted parameters, phase-folded RV and O−C plots, a first-order Rossiter-McLaughlin calculation, and an exact-circle-overlap light-curve preview.

Use cases

  • Determining fundamental stellar parameters and mass ratios for newly discovered double-lined eclipsing binary systems.
  • Evaluating minimum companion masses (M2 sin i) for single-lined spectroscopic binaries and exoplanet-hosting stars.
  • Assessing stellar spin-orbit obliquity by modeling in-eclipse Rossiter-McLaughlin velocity deviations against rotational broadening.

Examples

1. Double-Lined Eccentric Binary Orbit and Timing Fit

Observational Astrophysicist

Background

A researcher has obtained 20 primary and 12 secondary radial velocity measurements from high-resolution echelle spectra, along with 5 mid-eclipse epochs.

Problem

Determine the eccentric orbital parameters (P, e, ω, γ), compute component semi-amplitudes (K1, K2), evaluate the mass ratio, and check for period drift via O−C timings.

How to use

Paste primary RV data into rv1Data, secondary RV data into rv2Data, input the period hint (4.3 days), paste the 5 eclipse times, and provide primary mass (2.1 M☉) and inclination (87°).

rv1Data: 20 rows (HJD, RV, err)
rv2Data: 12 rows (HJD, RV, err)
periodHintDays: 4.3
eclipseTimes: 5 timestamps
mass1Msun: 2.1
inclinationDeg: 87
radiusRatio: 0.28
vsiniKmS: 45
rmAmplitudeKmS: 1.9
impactParam: 0.3

Outcome

Yields an HTML report with fitted P ≈ 4.29 d, e ≈ 0.21, mass ratio q ≈ 0.81, mass function ≈ 0.25 M☉, corrected ephemeris, and spin-orbit angle λ ≈ 56°.

2. Single-Lined Radial Velocity and Mass Function Fit

Astronomy Graduate Student

Background

An investigator has radial velocity tracking of a candidate binary star where only the primary spectral lines are visible.

Problem

FAQ

What input format is required for radial velocity data?

Provide whitespace-separated or tabular rows with observation time (HJD/BJD), radial velocity (km/s), and measurement uncertainty (km/s), one per line.

Can this tool handle both SB1 and SB2 systems?

Yes. Entering data into Primary RV only fits an SB1 orbit; supplying Secondary RV data automatically triggers a coupled double-lined (SB2) fit.

How does the solver avoid false local minima?

The Levenberg-Marquardt algorithm restarts across a grid of period, phase, argument of periastron (ω), and eccentricity (e) initial guesses.

What is required to calculate the Rossiter-McLaughlin spin-orbit angle?

You must supply the primary star's projected rotational velocity (v sin i⋆), the measured RM anomaly amplitude in km/s, the radius ratio, and the impact parameter.

Does the light-curve preview compute full Roche lobe deformation?

No. The preview uses an exact-circle-overlap uniform-disk model for geometric evaluation rather than a full Wilson-Devinney numerical synthesis.

Home
Tools3216
Samples593
Visualizations473
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web194

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Astronomy

Sun Position & Shadow Length Simulator

Compute the sun’s elevation and azimuth (NOAA algorithm) for any latitude, longitude, date and time, plus the length and direction of the shadow cast by an object of a given height, with sunrise/sunset and a full-day shadow curve

Astronomy

Telescope Field of View Calculator

Compute telescope optics for visual astronomy: magnification, true field of view, focal ratio, exit pupil, limiting magnitude, Dawes/Rayleigh resolution and useful-magnification range. Enter aperture, telescope focal length, an eyepiece focal length and its AFOV (metric mm or imperial inches), pick a target (deep-sky, planetary, lunar or terrestrial), and get a scaled field-of-view overlay plus target-specific advice on exit pupil and framing.

Astronomy

Blue Hour Calculator

Calculate blue hour times - the magical time before sunrise and after sunset with deep blue skies

Astronomy

Golden Hour Calculator

Calculate golden hour times - the best time for photography with soft, warm light

Fit a circular spectroscopic orbit to find the systemic velocity, velocity amplitude, and minimum companion mass without secondary line data.

How to use

Enter the 6 primary RV timestamps and velocities into rv1Data, leave rv2Data blank, set periodHintDays to 0.5, and specify primary mass as 1.2 M☉.

rv1Data: 6 rows (HJD, RV, err)
rv2Data: (empty)
periodHintDays: 0.5
mass1Msun: 1.2

Outcome

Generates a phase-folded RV curve showing a circular orbit solution (e ≈ 0, K1 ≈ 35 km/s) and outputs the binary mass function and minimum companion mass.