Double Star Calculator - Technical Documentation

Version : 1.1 (Draft)
Author  : H.Wichmann
Date    : 06.04.2026
License : CC BY 4.0

Content

Abstract

Core Astrometric and Kinematic Functions

Auxiliary Astrometric Functions

Orbit Determination

  • History

  • Disclaimer

  • Acknowledgements



  • Abstract

    This document provides a detailed methodological description of the procedures implemented in the Double Star Calculator (https://www.stella-vega.de/ds/). It is intended to serve as a technical reference for users of the Double Star Calculator. The current version of this document is located at https://stella-vega.de/ds/ds_documentation.html.

    The Double Star Calculator derives a comprehensive set of astrometric and kinematic quantities for double star systems, including angular and spatial separations, position angles, proper motion vectors, distance estimates, tangential and spatial velocities, and derived physical parameters such as absolute magnitudes, luminosities, and mass estimates. All computations are based on established geometrical relations, classical error propagation, and standard astronomical conventions. The mathematical formulations underlying each calculation are documented to ensure transparency, reproducibility, and independent verification of the results.



    Core Astrometric and Kinematic Functions

    This section describes the core astrometric and kinematic computations performed for stars and double star systems. These calculations form the basis of the physical interpretation and are directly used in the analyses.

    For the uncertainty estimation, the following conditions apply:



    Angular Separation

    This section describes the mathematical formulation used to compute the angular separation (ρ) between two stellar components (A and B) based on Gaia astrometric data.

    Arguments

    Results

    The function returns the angular separation ρ (radians) and its associated uncertainty σρ (radians).

    Angular Separation

    To calculate the angular separation ρ between two celestial objects based on their Gaia DR3 equatorial coordinates (αA, δA) and (αB, δB), the Haversine Formula is used. This method is numerically superior to the Spherical Law of Cosines for small angular distances, as it avoids precision loss when the cosine of a small angle approaches. The calculation is performed in radians using the following steps:

    Δδ = δB - δA
    Δα = αB - αA
    hav (ρ) = sin2(Δδ 2) + cos(δA) cos(δB) sin2(Δα 2)
    Calculation of Separation ρ :

    The final angular separation is derived using the atan2(y, x) function. The atan2 implementation is preferred because it is better conditioned for all angles and avoids potential domain errors due to floating-point rounding.

    ρ = 2 · atan2 hav(ρ) , 1-hav(ρ)

    Error Propagation

    The uncertainty of the separation was derived using first-order Gaussian error propagation, assuming uncorrelated uncertainties in right ascension and declination:

    σρ = i=1 4 ( ρ x i σ x i ) 2 Where xi ∈ {αA, δA, αB, δB}


    Position Angle

    This function computes the position angle θ of a double star measured from North towards East (0°–360°), based on Gaia DR3 coordinates of the two components.

    Arguments

    Results

    Position Angle

    The position angle θ is calculated using the arctangent of the differential coordinates, where atan2(y, x) denotes the quadrant-correct two-argument arctangent, ensuring the correct quadrant of the position angle.

    θ = atan2 ( cos δ B sin ( α B α A ) , cos δ A sin δ B sin δ A cos δ B cos ( α B α A ) )

    The resulting angle is converted to degrees and shifted to the range 0°–360°.

    Error Propagation

    The uncertainty σθ is calculated using first-order Gaussian error propagation, based on the partial derivatives of atan2:

    σθ = i=1 4 ( θ x i σ x i ) 2

    Where xi ∈ {αA, δA, αB, δB}



    Separation and position angle as a function of Epoch

    The Double Star Calculator extrapolates the position of two stars, as well as their separation and position angle, from the Gaia DR3 reference epoch J2016.0 to user-defined target epochs (Δt = target-epoch - J2016.0). The calculation assumes a linear motion model over time.

    Coordinates are projected using a linear motion model. The calculation accounts for the spherical geometry of the celestial coordinate system. The total uncertainty is calculated using Gaussian error propagation, combining the initial position error with the cumulative error of the proper motion over the elapsed time.

    Right Ascension for target epoch

    αtarget-epoch= αref+ ( μα*cos(δref) ) Δt

    Declination for target epoch

    δtarget-epoch= δref+ μδΔt

    Error Propagation

    σi,total = σi,ref2 + ( Δt σμi ) 2

    Where i ∈ {α, δ}

    Parameters



    Spatial Separation

    This function calculates the spatial separation between two stars in parsecs, using their distances and angular separation. It also computes the uncertainty of the spatial separation via error propagation.

    Arguments

    Results

    Spatial separation

    s = dA2 + dB2 2 dA dB cos ( θ )

    Error propagation

    The uncertainty of the spatial separation is calculated using partial derivatives:

    σs = ( ∂s ∂dA σdA ) 2 + ( ∂s ∂dB σdB ) 2 + ( ∂s ∂θ σθrad ) 2

    Parallax Significance Indicator

    This function calculates the Parallax Significance Indicator, referred to as the Reliability Index (RI) of the 3D separation. It quantifies whether the observed difference in parallaxes between two stars is statistically significant or merely a result of measurement uncertainties.

    A high significance indicates that the stars are physically located at different distances, whereas a low significance suggests that the stars could be at the same distance within their measurement errors. The indicator is calculated by dividing the absolute difference of the parallaxes by the combined standard deviation (quadratic sum of the individual errors):

    R I = | ϖ A - ϖ B | σ ϖ , A 2 + σ ϖ , B 2

    Classification Thresholds:

    The Parallax Significance Indicator is mapped to qualitative labels to simplify the interpretation of the 3D data:

    Parallax Significance (σ) Label Reliability Description
    0 ≤ σ < 3 LOW Stat. unresolved The parallax difference is within the 3-sigma measurement uncertainty; 3D separation is statistically unresolved.
    3 ≤ σ < 5 MED Moderate Difference is likely real, but the 3D distance carries significant uncertainty.
    σ ≥ 5 HIGH Significant Highly significant difference. Stars are clearly located at different depths.

    Example:

    Spatial Separation                 :       38.97     pc
      1-Sigma Range                    : [     36.55,    41.39] pc
      Significance                     :       13.09     σ 
      Note: High-confidence 3D separation
    



    Proper Motion and Velocity Analysis

    This function performs a kinematic analysis of a single star based on Gaia astrometric data. It derives the direction and magnitude of the proper motion vector, the tangential velocity, and, if available, the total space velocity including the radial component. All quantities are accompanied by uncertainty estimates.

    Proper Motion Vector Angle

    The position angle of the proper motion vector is calculated relative to the north direction, measured counterclockwise from north through east (0°–360°). The quadrant-correct two-argument arctangent is used.

    θ = atan2 ( μ α , μ δ )

    Here, μα and μδ denote the proper motion components in right ascension and declination, respectively. The function atan2(y, x) ensures correct quadrant assignment.

    Uncertainty of the Proper Motion Angle

    The uncertainty of the proper motion position angle (σθ) is derived via Gaussian error propagation of the atan2 function. By using partial derivatives with respect to μα and μδ, the following equation provides an error estimation that accounts for the relative magnitudes of the proper motion components:

    σ θ = ( μ δ μ α 2 + μ δ 2 σ μ α ) 2 + ( μ α μ α 2 + μ δ 2 σ μ δ ) 2


    Total Proper Motion

    The total proper motion is calculated as the magnitude of the proper motion vector:

    μ = μα2 + μδ2

    Uncertainty of Total Proper Motion

    σμ = ( μα μ σμα ) 2 + ( μδ μ σμδ ) 2


    Tangential Velocity

    The tangential velocity is derived from the total proper motion and the parallax:

    Vt = 4.74057 μ ϖ

    The numerical factor 4.74057 converts proper motion in milliarcseconds per year and distance in parsecs into velocity in km s−1.

    Uncertainty of Tangential Velocity

    σVt = ( 4.74057 ϖ σμ ) 2 + ( 4.74057 ϖ2 μ σϖ ) 2


    Space Velocity

    By default, the Radial Velocity is retrieved from the Gaia DR3 record. If this data is missing, the Double Star Calculator automatically queries the SIMBAD database as a fallback. In this case, the field is labeled Radial Velocity (Simbad) and includes the corresponding Bibcode to identify the original scientific publication and its precision. If a Radial Velocity measurement is available, the total space velocity is computed as:

    V = Vt2 + Vr2

    Uncertainty of Space Velocity

    σV = ( Vt V σVt ) 2 + ( Vr V σVr ) 2


    Results



    Kinematic and Dynamical Linkage Analysis

    This chapter describes algorithms to analyze the association between the two components of a double star. It details the calculation of the traditional Harshaw rPM (2D) algorithm and evaluates potential associations based on the Uncertainty Weighted Likelihood Estimator (UWLE). Furthermore, the equations describing orbital and binding dynamics are presented.



    Harshaw 2D Methodology (rPM)

    The Harshaw method (JDSO Vol. 12 No. 4 April 22, 2016, Richard W. Harshaw, CCD Measurements of 141 Proper Motion Stars: The Autumn 2015 Observing Program at the Brilliant Sky Observatory, Part 3) focuses on the ratio of Proper Motion (rPM), a dimensionless quantity comparing the angular velocity difference to the maximum magnitude. It is robust against distance uncertainties but ignores depth (parallax) and radial motion.

  • Right ascension: αA, αB (degrees)
  • Declination: δA, δB (degrees)
  • μ 1 = μ αA 2 + μ δA 2 μ 2 = μ αB 2 + μ δB 2
    rPM = ( μ α A - μ α B ) 2 + ( μ δ A - μ δ B ) 2 max ( | μ 1 | , | μ 2 | )

    Harshaw Classification Levels

    Indicator Type Threshold Classification
    Harshaw rPM < 0.2 CPM (Common Proper Motion)
    Harshaw rPM 0.2 - 0.6 SPM (Similar Proper Motion)
    Harshaw rPM > 0.6 DPM (Distinct Proper Motion)


    Double Star Calculator 3D Kinematics

    This approach converts observed angular motion and radial velocity into a unified 3D velocity vector in km/s. By utilizing the parallax (ϖ), we account for the physical scale of the system.

    Space Velocity Transformation
    vtan=4.74057·μϖ
    Relative Velocity Magnitude

    This equation calculates the 3D relative velocity magnitude including the error between two stars by combining their tangential (dvra, dvdec) and radial (dvr) velocity differences. The weighting factor (wr) acts as a binary toggle (1.0 or 0.0), allowing the formula to seamlessly switch between a full 3D space velocity and a 2D transverse velocity depending on data availability. For details refer to chapter Relative Velocity (3D) Difference.




    Uncertainty-Weighted Likelihood Estimator

    The core algorithm uses a variance-summation model. The Evidence Indicator "E" is defined by a Gaussian kernel multiplied by a normalization pre-factor that accounts for the relative weight of the measurement uncertainty.

    E = s 0 s 0 2 + σ 2 e ( Δ x 2 s 0 2 + σ 2 )

    Normalization Pre-factor: This term term of the equation above acts as a data-quality weight. It has two functions:


    Impact of Measurement Uncertainty (σ)

    This plot demonstrates how the Likelihood Estimator adapts to varying levels of data quality while keeping the scale factor constant (s0 = 1.0).

    Evidence Factor for different sigma
    Likelihood Estimator for different σ and for a Scale Parameters s0 = 1.0

    Note: An increasing σ not only lowers the peak (Data Quality Weighting) but also broadens the distribution, meaning that at high uncertainty levels, the estimator becomes less sensitive to small changes in Δx.




    Velocity Evidence Indicator

    A specialized version of the Uncertainty-Weighted Likelihood Estimator is used to calculate the Velocity Evidence Indicator. It evaluates the kinematic consistency of a pair by analyzing relative velocities while accounting for physical constraints and data quality.


    1. Robustness against Signal-to-Noise (SNR) Issues

    To maintain reliability in the presence of measurement noise, the algorithm monitors the Signal-to-Noise Ratio (SNR). In cases of a Low SNR (< 3.0), the system additionally calculates the Evidence Indicator based on the projected separation. This mitigates the risk of large radial distance uncertainties distorting the kinematic assessment.


    2. Scale Factor Configuration (s0 / v0)

    The scale factor v0 determines the tolerance of the likelihood curve. The algorithm distinguishes between two search modes:

    • Co-Moving (CoMov): Uses a fixed v0 = 5.0 km/s. This provides a balanced, "forgiving" filter suitable for identifying wide stellar associations and moving groups.
    • Potential Binary Systems (DS): Employs a dynamic v0 based on gravitational scaling (v0 ∝ √1/d). It is anchored to the El-Badry & Rix (2021) benchmark of 2.1 km/s at 1000 AU. Closer pairs require a tighter velocity match, approximating the physical escape velocity limits.

    3. Evidence Classification Labels

    To assist in the interpretation of the numerical results (ranging from 0.0 to 1.0), the Velocity Evidence Index is categorized into four qualitative labels:

    Evidence Index Label Interpretation
    0.7 – 1.0 Strong High probability of physical association (CoMov or Binary).
    0.3 – 0.7 Moderate Potential association; data supports kinematic similarity.
    0.1 – 0.3 Weak Low kinematic agreement; likely a chance alignment.
    < 0.1 Unlikely Significant velocity discrepancy; association improbable.




    Distance Evidence Indicator

    The Distance Evidence Indicator utilizes a specialized version of the Uncertainty-Weighted Likelihood Estimator to evaluate the spatial proximity of a stellar pair. By analyzing geometrical consistency and relative distance while accounting for physical constraints and data quality, it provides a robust measure of whether two stars are truly co-located.


    1. Robustness against Signal-to-Noise (SNR) Issues

    To maintain reliability in the presence of measurement noise, the algorithm monitors the Signal-to-Noise Ratio (SNR). In cases of a Low SNR (< 3.0), the system additionally calculates the Evidence Indicator based on the projected separation. This mitigates the risk of large radial distance uncertainties distorting the kinematic assessment.


    2. Scale Factor Configuration s0

    Depending on the selected type (CoMov, Binary), the algorithm switches its internal scale factor (s0) and units to match the expected physical dimensions:

    • Co-Moving (CoMov): Operates in Parsecs (pc) with s0 = 1.0 pc. This scale is roughly equivalent to the Jacobi Radius of typical stellar clusters in the solar neighborhood, making it ideal for identifying wide associations.
    • Potential Binary Systems (DS): Switches to Astronomical Units (AU) with s0 = 20,000 AU. This focuses on much smaller scales.

    3. Evidence Classification Labels

    Similar to the kinematic assessment, the Distance Evidence Index is mapped to qualitative labels to provide a quick interpretation of spatial consistency:

    Evidence Index Label Interpretation
    0.7 – 1.0 Strong Excellent spatial agreement; the pair is clearly co-located.
    0.3 – 0.7 Moderate Good spatial agreement; consistent with a common origin or group.
    0.1 – 0.3 Weak Marginal spatial agreement; distance difference is significant.
    < 0.1 Unlikely Significant spatial discrepancy; co-location is improbable.





    Total Evidence Indicator

    The kinematic and spatial results are synthesized into a single, unified metric. This provides a final assessment of the physical association between two stars. The total evidence is calculated using the geometric mean of the Velocity Evidence (Evelocity) and the Distance Evidence (Edistance):

    E total = E velocity E distance

    1. Final Probability Classification

    The resulting index serves as the final "Confidence Score" for the pair's Co-Moving (CoMov) or Binary status:

    Total Evidence Final Label Physical Interpretation
    0.7 – 1.0 Strong High confidence pair; kinematic and spatial data are fully consistent.
    0.3 – 0.7 Moderate Likely association; supported by data but may have moderate uncertainties.
    0.1 – 0.3 Weak Suspicious pair; discrepancies in either motion or distance suggest a chance alignment.
    < 0.1 Unlikely No physical association; the stars are very likely independent field stars.





    Orbital & Binding Dynamics

    When a potential binary is identified, the tool evaluates the gravitational relationship:

    Est. Orbital Period
    The estimated time (in years) required for one full revolution. This calculation assumes the current projected separation as the semi-major axis of a circular orbit.
    Escape Velocity (vesc)
    The maximum relative velocity at which the two stars remain gravitationally bound. If the measured velocity difference exceeds this threshold, the stars are considered "Likely Unbound."
    Circular Orbital Velocity (vcirc)
    The theoretical velocity required for a stable, perfectly circular orbit at the given separation. It serves as a benchmark for the "depth" of the gravitational bond.
    Binding Energy Ratio (Eratio)
    A dimensionless index representing the ratio of kinetic energy to the magnitude of gravitational potential energy.
    Eratio < 0.5 : Strongly bound system (deep gravity well)
    0.5 ≤ Eratio < 1.0 : Bound, but on a high-energy or highly eccentric orbit
    Eratio ≥ 1.0 : Unbound; the system has reached or exceeded escape velocity


    Calculation of Orbital Period (P):
    P = r 3 M A + M B

    Calcuation of Escape Velocity (vesc):
    v esc = 42.12 M A + M B r

    Calcuation of Circular Orbital Velocity (vcirc):
    v circ = v esc 2

    Calculation of the Binding Energy Ratio (Eratio):
    E ratio = ( v rel v esc ) 2

    Derivation of the Binding Energy Ratio (Eratio)

    Definition of specific energy:

    ε = ε kin + ε pot = v rel 2 2 - G M r

    Definition of Escape Velocity:

    v esc 2 2 = G M r

    Substitution:

    ε = v rel 2 2 - v esc 2 2

    Final equation:

    E ratio = v rel 2 / 2 v esc 2 / 2 = ( v rel v esc ) 2

    Definitions:






    Metallicity Analysis [M/H]

    The Metallicity Analysis [M/H] routine is designed for the comparative analysis of the chemical composition of stellar pairs using Gaia DR3 GSP-Phot (Aeneas) data. By comparing the iron abundance ([M/H]), the algorithm assesses whether a stellar pair exhibits a consistent chemical signature—a primary indicator of a shared origin (co-natal stars). The methodology incorporates the statistical processing of asymmetric MCMC (Markov Chain Monte Carlo) confidence intervals, the calculation of combined uncertainties in quadrature, and a quality weighting based on photometric transit integrity.

    1. Deriving Standard Deviation from MCMC Percentiles

    Gaia GSP-Phot provides metallicity as the median of an MCMC sample, along with the 16th (lower) and 84th (upper) percentiles. To convert these asymmetric confidence intervals into a symmetric standard deviation σ suitable for error propagation, the routine calculates the arithmetic mean of the absolute deviations:

    σM/H = |[M/H]-[M/H]lower| + |[M/H]-[M/H]upper| 2

    2. Statistical Significance (Z-Score)

    To evaluate the chemical consistency between both stars, a Z-Score is calculated. While measurement errors are assumed to be independent and normally distributed, the statistical uncertainties from Gaia DR3 often underestimate systematic effects like parameter degeneracies. To ensure a robust comparison, a systematic uncertainty floorsys = 0.21 dex) is incorporated into the Gaussian error propagation. This floor is based on the Median Absolute Deviation (MedAD) observed in validation studies (cf. R.Andrae, M.Fouesneau et al. (2023), Gaia Data Release 3 - Analysis of the Gaia BP/RP spectra using the General Stellar Parameterizer from Photometry) comparing Gaia GSP-Phot with high-resolution spectroscopy.

    σcombined = σA2 + σB2 + σsys2

    The resulting Z-Score represents the number of standard deviations separating the two measurements:

    Z = |[M/H]A-[M/H]B| σcombined

    3. Photometric Metallicity Confidence Factor (PMCF)

    To evaluate the reliability of the spectroscopic data, a proprietary Photometric Metallicity Confidence Factor (PMCF) is calculated. This factor accounts for contaminated and blended transits in the BP/RP spectra. Contaminated transits are fully weighted, while blended transits are weighted at 50% (0.5) to reflect their partial impact on spectral purity:

    PMCF = 1.0 - ncontam + 0.5 · nblend ntotal_obs

    Note: A low PMCF (< 0.80) indicates poor data quality, suggesting that even low Z-scores should be interpreted with caution.


    Interpretation of Results
    Z-Score Range Scientific Interpretation
    Z ≈ 0 Chemically consistent. High probability of a shared origin.
    Z < 3 Marginally consistent within the 3σ threshold.
    Z ≥ 5 Highly significant difference. Physical association is statistically excluded.


    Auxiliary Astrometric Functions

    This chapter describes auxiliary functions used in the analysis of stellar kinematics and physical association. These functions support the main astrometric routines and provide derived quantities and comparison metrics.



    Distance from Parallax

    This function converts the stellar parallax into distance, expressed in parsecs and light-years, including the propagation of the parallax uncertainty.

    The calculation follows the standard astronomical relation between parallax and distance and assumes Gaussian error propagation.

    Distance in parsecs

    dpc = 1000 ϖ

    where ϖ is the parallax in milliarcseconds (mas).

    Uncertainty of the distance

    σdpc = 1000 ϖ2 σϖ

    The uncertainty is derived using standard Gaussian error propagation.

    Conversion to light-years

    dly = dpc Cpc→ly
    σdly = σdpc Cpc→ly

    with the conversion constant Cpc→ly = 3.26156 .

    Results



    Projected Separation

    Calculates a conservative lower bound of the projected physical separation in parsec between two stars by evaluating the projected separation at the average distance davg of both components.

    s = d avg tan ( θ )

    where θ is the angular separation in radians.



    Absolute Magnitude

    This function calculates the absolute magnitude of a star from its apparent Gaia G-band mean magnitude and its distance in parsecs. The uncertainty of the absolute magnitude is derived using the propagation of uncertainty, correctly accounting for the logarithmic dependence on distance.

    Absolute magnitude

    M = m 5 log10 ( dpc ) + 5

    where m is the apparent Gaia G-band mean magnitude, and dpc is the distance in parsecs.

    Uncertainty of absolute magnitude

    σM = 5 ln10 σdpc dpc

    This expression uses exact error propagation, taking into account the logarithmic dependence on distance.

    Results



    Proper Motion Angular Difference

    Computes the absolute angular difference between two proper motion position angles, normalized to the range 0°–180°.

    Δθ = | θB θA |

    Uncertainty:

    σΔθ = σA2 + σB2

    Total Proper Motion Difference

    Computes the absolute difference in total proper motion between two stars.

    Δμ = | μA μB |

    Uncertainty:

    σΔμ = σA2 + σB2

    Velocity Differences

    The following auxiliary functions compute absolute differences in tangential, radial, and total space velocity using identical mathematical formulations.

    Generic Equation:

    Δv = | vA vB |

    Uncertainty:

    σΔv = σA2 + σB2

    This formulation applies to:



    Relative Velocity (3D) Difference

    The magnitude of the vectorial difference between the stars' 3D velocity vectors. Unlike the scalar version, this value accounts for the stars' actual directions of motion. It represents the total relative speed between the two components. The following function computes the 3D velocity difference.

    Velocity Component Calculation:

    vα,i = k · μα*,i ϖi , vδ,i = k · μδ,i ϖi

    Error Propagation of Individual Components:

    σvα,i = ( kϖi σμα*,i ) 2 + ( k·μα*,i ϖi2 σϖi ) 2

    Total Velocity Difference (Δvrel):

    Δvrel = Δvα2 + Δvδ2 + (wr·Δvr) 2

    Final Error Propagation (σΔv):

    σΔvrel = ( Δvα·σΔvα Δvrel ) 2 + ( Δvδ·σΔvδ Δvrel ) 2 + ( wr·Δvr·σΔvr Δvrel ) 2

    Nomenclature & Constants

    Symbol Description Value / Unit / Definition
    k AU to km/s conversion factor 4.74057
    wr Radial velocity weighting factor 1.0 (enabled) or 0.0 (disabled)
    ϖ Parallax mas
    μα* Proper Motion in Right Ascension (μα · cos δ) mas/yr
    μδ Proper Motion in Declination mas/yr
    σ Standard uncertainty (Sigma) Associated error of a variable
    vtan Tangential velocity component km/s
    vr Radial velocity component km/s
    Δvrel 3D Space Velocity Difference km/s (Vectorial Difference)



    Spectral Type Estimation

    Estimates the stellar spectral class and temperature using the Gaia BP–RP color index based on empirical color boundaries. The temperatures are derived from data provided by the University of Northern Iowa / https://sites.uni.edu/morgans/astro/course/Notes/section2/spectraltemps.html.

        Spectral class |  BP-RP  Color-Index    |  Temperature 
        ---------------|--------------------------------------
        O:             |         bp_rp < -0,1   |    50000
        B:             | -0,1  ≤ bp_rp ≤  0,3   |    15000
        A:             |  0,3  < bp_rp ≤  0,5   |     8750
        F:             |  0,5  < bp_rp ≤  0,72  |     6700
        G:             |  0,72 < bp_rp ≤  1,14  |     5800
        K:             |  1,14 < bp_rp ≤  1,8   |     4800
        M:             |         bp_rp >  1,8   |     3300
        ------------------------------------------------------
    

    The function returns one of the spectral classes: O, B, A, F, G, K, M.

    This is an approximate classification intended for statistical and comparative analysis.



    Mass–Luminosity Relation

    This chapter describes the estimation of stellar luminosity and mass for main-sequence stars based on their absolute magnitude and spectral type. The implemented method follows the segmented mass–luminosity relations presented by Eker et al. (2018), adapted here to broad spectral-type intervals for practical application. The luminosity is derived from the absolute magnitude relative to the Sun. The stellar mass is subsequently computed by inverting the logarithmic mass–luminosity relation.

    Luminosity:

    The stellar luminosity expressed in units of the solar luminosity where M is the absolute magnitude of the star and M is the solar absolute magnitude, adopted here as M = 4.74. A Bolometric correction factor acc. to Pecaut and Mamajek (2013) is applied:

    	"O" => -3.5
    	"B" => -1.4
    	"A" => -0.05
    	"F" => -0.05
    	"G" => -0.15
    	"K" => -0.70
    	"M" => -3.30
    	

    L L = 10 0.4 ( M M )

    Given an uncertainty σM in the absolute magnitude, lower and upper luminosity limits are computed as:

    Lmin = 10 0.4 ( M + σM M ) Lmax = 10 0.4 ( M σM M )

    Mass–Luminosity Relation and Mass estimation:

    Eker et al. (2018) describe the mass–luminosity relation for main-sequence stars as a segmented power law:

    log10 ( L ) = α log10 ( M ) + C

    Here, α is the slope and C the intercept of the logarithmic relation, both depending on the stellar mass regime. For mass estimation, the relation is inverted to yield:


    M = 10 log10 ( L ) C α Notes and Assumptions

    Hertzsprung-Russell Diagram

    The positions of both components are plotted in a simplified Hertzsprung–Russell diagram (HRD). The positions are derived from their calculated stellar luminosities, expressed in solar luminosities and converted to logarithmic scale, and from their effective temperatures (Teff) as provided by Gaia (plotted as solid circles). The effective temperatures are taken from the Gaia GSP-Phot Aeneas solution based on BP/RP spectra (teff_gspphot) and are likewise converted to logarithmic scale. In case the effective temperature is not available, the temperature is estimated from the color index (bp_rp) measured by Gaia (plotted as open circles). Upper and lower bounds of both luminosity and effective temperature are propagated into logarithmic space to derive symmetric uncertainties for the HRD coordinates.

    In addition to the stellar positions, the HRD includes schematic regions indicating the approximate locations of the main sequence, giant stars, supergiants, and white dwarfs. These regions are intended for qualitative orientation within the HR diagram and are based on standard tabulated relations between spectral type and effective temperature, such as those provided by the University of Northern Iowa / https://sites.uni.edu/morgans/astro/course/Notes/section2/spectraltemps.html.





    Orbit Determination

    The Double Star Calculator – Orbit Determination processes historical measurements of the separation and position angle of a double star and attempts to determine its orbital elements.



    Optimization Summary

    The Optimization Summary provides quantitative measures describing the quality, robustness, and statistical consistency of the orbit determination based on the supplied observations and measurement uncertainties. It should be interpreted as a whole. Individual metrics are most meaningful when considered together, particularly in relation to the number of observations, the orbital phase coverage, and the assumed measurement uncertainties.

    N observations

    Number of observations used in the orbit determination. Each observation consists of a measured separation (ρ) and position angle (θ), contributing two residuals (x and y) to the fit.

    Time span

    Time interval covered by the observations, given by the minimum and maximum observation epochs. A larger time span generally improves orbit determination, especially for long-period systems, as it increases orbital phase coverage.

    χ² (Chi-squared)

    The total chi-squared value of the fit, defined as the sum of squared, uncertainty-weighted residuals, where (x, y) are the Cartesian coordinates derived from the separation and position angle, and σx, σy are the corresponding propagated uncertainties. χ² measures the overall disagreement between the model and the observations. In this implementation, χ² is calculated from normalized Cartesian residuals.

    χ² = Σ [ (xmodel − xobs) / σx ]² + [ (ymodel − yobs) / σy

    Degrees of freedom (dof)

    Number of independent residuals available to evaluate the fit after accounting for the fitted model parameters. For N observations and seven fitted orbital elements (P, a, i, Ω, T, e, ω), the degrees of freedom are given by the equation below. A positive and sufficiently large number of degrees of freedom is required for a meaningful statistical interpretation of χ² and reduced χ².

    dof = 2 · N − 7

    Reduced χ²

    The reduced χ² indicates how well the orbital model matches the observations relative to the assumed measurement uncertainties.

    χ²red = χ² / dof

    RMS separation

    Root-mean-square (RMS) residual of the separation (ρ), calculated from the differences between observed and modeled separations. This value quantifies the typical deviation of the observations from the model.

    RMS ( ρ ) = [ 1 N · ( ρ model ρ obs ) 2 ]

    RMS position angle

    Root-mean-square (RMS) residual of the position angle (θ), calculated from the differences between observed and modeled angles. The RMS position angle is given in degrees and reflects the typical angular discrepancy between the model and the observations.

    RMS ( θ ) = [ 1 N · ( θ model θ obs ) 2 ]

    Max separation residual

    Maximum absolute residual of the separation (ρ). This value highlights the largest individual deviation between an observed separation and the corresponding model prediction.

    max | ρmodel − ρobs |

    Max PA residual

    Maximum absolute residual of the position angle (θ). This value highlights the largest individual deviation between an observed position angle and the corresponding model prediction.

    max | θmodel − θobs |

    Orbital phase coverage

    Fraction of the orbital period covered by the observations, where P is the fitted orbital period. Values close to or exceeding one full period generally provide stronger constraints on the orbital elements, while smaller values indicate limited phase coverage and potential parameter degeneracies.

    phase coverage = ( tmax tmin ) P



    History

    Version 1.0 : https://doi.org/10.5281/zenodo.19160070



    Disclaimer

    The algorithms used in the Double Star Calculator were developed and implemented by me to the best of my knowledge and belief. I have thoroughly tested the tool, and it provides plausible results based on GAIA data. However, I do not warrant the accuracy, completeness, or correctness of the results. This tool is provided "as is" without any guarantees regarding its suitability for a specific purpose or non-infringement of third-party rights.

    The use of this tool is entirely at your own risk. I assume no liability for any damages, including but not limited to direct, indirect, incidental, or consequential damages, arising from the use of this tool or any errors or inaccuracies in the results.

    This tool is intended for informational and research purposes only and is not a substitute for professional scientific or astronomical analysis. I reserve the right to modify, update, or discontinue the tool at any time without prior notice.

    If the Double Star Calculator has been helpful in your work, a citation or acknowledgment would be greatly appreciated.

    Privacy Notice: This tool does not collect, store, or process any personal data from users.

    Copyright (C) 2026. The documentation is licensed under CC BY 4.0. Unless otherwise noted, all output generated by the Double Star Calculator including orbit diagrams, ephemerides, and analytical reports is licensed under CC BY 4.0.


    Acknowledgements

    The Double Star Calculator makes use of data from the European Space Agency (ESA) mission Gaia, processed by the Gaia Data Processing and Analysis Consortium (DPAC). Funding for the DPAC has been provided by national institutions, in particular the institutions participating in the Gaia Multilateral Agreement. Additionally, it incorporates data from the Washington Double Star Catalog, maintained at the U.S. Naval Observatory, makes use of the Aladin Sky Atlas developed at CDS, Strasbourg Observatory, France, and makes use of the SIMBAD database, operated at CDS, Strasbourg, France.



    www.stella-vega.de