Content-Type: text/html; charset=UTF-8 Double Star Calculator - Orbital Elements

Double Star Calculator - Orbit

- Revision: $Rev: 1216 $
- Report created: 2025-07-11 19:16:59

Orbital Elements for SPF2
WDS: SPF2 WDS ID/Discoverer
P: 32.000 Orbital period (years)
a: 0.147 Semi-major axis (arcseconds)
i: 45.0 Inclination (degrees)
Ω: 327.0 Longitude of ascending node (degrees)
T: 2005.776 Epoch of periastron passage (year)
e: 0.005 Eccentricity
ω: 98.0 Longitude of periastron (degrees)
Start-Year: 2009.0 Year
End-Year: 2041.0 Year
Epoch: 2025.0 Besselian Epoch

Further data from the WDS Sixth Catalog of Orbits for SPF2
Position: 205235.31-160929.8 Epoch-2000 right ascension and declination
WDS-ID: 20526-1609 WDS designation
Discoverer Code: SPF2 Discover designation and components
ADS number: . Aitken Double Star catalog
HD number: . HD catalog number
Hipparcos number: . Hipparcos catalog number
V1: 15.57k Magnitude of the primary
V2: 16.30k Magnitude of the secondary
Equinox: 2000 Equinox
Date: 2010 Date of last observation
Orbit grade: 5 Orbit grade, ranging from 1 'definitive' to 5 'indeterminate'
Flags: n Flags

Double Star Orbit for SPF2


--> -->
 
 
ValueError
Python 3.12.3: /usr/bin/python3
Fri Jul 11 19:17:00 2025

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/cgi-bin/ds_orbit.py in <module>
    956 
    957 # Smooth curve if necessary
=>  958 xa_smooth, ya_smooth = Q_get_smoothed_orbit(xa_list, ya_list)
    959 plt.plot(xa_smooth, ya_smooth, label=f'Orbit of {wds}', color='#528B8B')
    960 
xa_smooth undefined, ya_smooth undefined, Q_get_smoothed_orbit = <function Q_get_smoothed_orbit>, xa_list = [0.11781056973826268, 0.1147636098940287, 0.1072617610015974, 0.09560594949738684, 0.08025727482553555, 0.0618172718085806, 0.04100302222559539, 0.018618338690084876, -0.004477689114742592, -0.027403503078045573, -0.049288021295847737, -0.06930260066373228, -0.08669101881674741, -0.1007965997738161, -0.11108572504700583, -0.11716707770750363, -0.1188060640418693, -0.11593395113386051, -0.10865135402557317, -0.09722581994280968, ...], ya_list = [0.0460832933368023, 0.07019223767080086, 0.09157683247618176, 0.10941535687322353, 0.12302817783083221, 0.13190292999525347, 0.1357125314121025, 0.13432560937356852, 0.12780926758150812, 0.11642443318447676, 0.10061426889699683, 0.08098631999410026, 0.05828919499054728, 0.03338466427666165, 0.0072161159374889575, -0.019225651640382747, -0.044938284173883083, -0.0689443233470017, -0.09032715662993934, -0.10826532771130608, ...]
 /var/www/cgi-bin/ds_orbit.py in Q_get_smoothed_orbit(x_list=[0.11781056973826268, 0.1147636098940287, 0.1072617610015974, 0.09560594949738684, 0.08025727482553555, 0.0618172718085806, 0.04100302222559539, 0.018618338690084876, -0.004477689114742592, -0.027403503078045573, -0.049288021295847737, -0.06930260066373228, -0.08669101881674741, -0.1007965997738161, -0.11108572504700583, -0.11716707770750363, -0.1188060640418693, -0.11593395113386051, -0.10865135402557317, -0.09722581994280968, ...], y_list=[0.0460832933368023, 0.07019223767080086, 0.09157683247618176, 0.10941535687322353, 0.12302817783083221, 0.13190292999525347, 0.1357125314121025, 0.13432560937356852, 0.12780926758150812, 0.11642443318447676, 0.10061426889699683, 0.08098631999410026, 0.05828919499054728, 0.03338466427666165, 0.0072161159374889575, -0.019225651640382747, -0.044938284173883083, -0.0689443233470017, -0.09032715662993934, -0.10826532771130608, ...])
    272     # Nur wenn ausreichend Punkte vorhanden sind
    273     if len(x) >= 4:
=>  274         tck, u = splprep([x, y], s=0.0, per=True) # per=True für geschlossene Kurve (Orbit)
    275         u_fine = np.linspace(0, 1, 300)           # Feinere Parameterwerte
    276         return splev(u_fine, tck)
tck undefined, u undefined, splprep = <function splprep>, x = array([-0.11716708, -0.11880606, -0.11593395, -0... , -0.08669102, -0.1007966 , -0.11108573]), y = array([-0.01922565, -0.04493828, -0.06894432, -0...2, 0.05828919, 0.03338466, 0.00721612]), s undefined, per undefined
 /usr/lib/python3/dist-packages/scipy/interpolate/_fitpack_py.py in splprep(x=[array([-0.11716708, -0.11880606, -0.11593395, -0... , -0.08669102, -0.1007966 , -0.11108573]), array([-0.01922565, -0.04493828, -0.06894432, -0...2, 0.05828919, 0.03338466, 0.00721612])], w=None, u=None, ub=None, ue=None, k=3, task=0, s=0.0, t=None, full_output=0, nest=None, per=True, quiet=1)
    153     """
    154 
=>  155     res = _impl.splprep(x, w, u, ub, ue, k, task, s, t, full_output, nest, per,
=>  156                         quiet)
    157     return res
res undefined, global _impl = <module 'scipy.interpolate._fitpack_impl' from '...ist-packages/scipy/interpolate/_fitpack_impl.py'>, _impl.splprep = <function splprep>, x = [array([-0.11716708, -0.11880606, -0.11593395, -0... , -0.08669102, -0.1007966 , -0.11108573]), array([-0.01922565, -0.04493828, -0.06894432, -0...2, 0.05828919, 0.03338466, 0.00721612])], w = None, u = None, ub = None, ue = None, k = 3, task = 0, s = 0.0, t = None, full_output = 0, nest = None, per = True, quiet = 1
 /usr/lib/python3/dist-packages/scipy/interpolate/_fitpack_impl.py in splprep(x=array([[-0.11716708, -0.11880606, -0.11593395, -... 0.05828919, 0.03338466, -0.01922565]]), w=array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1... 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.]), u=array([0. , 0.03250076, 0.0629989 , 0.091...2466, 0.89439206, 0.93049664, 1. ]), ub=0, ue=1, k=3, task=0, s=0.0, t=array([], dtype=float64), full_output=0, nest=39, per=True, quiet=1)
    172     wrk = _parcur_cache['wrk']
    173     iwrk = _parcur_cache['iwrk']
=>  174     t, c, o = _fitpack._parcur(ravel(transpose(x)), w, u, ub, ue, k,
=>  175                                task, ipar, s, t, nest, wrk, iwrk, per)
    176     _parcur_cache['u'] = o['u']
t = array([], dtype=float64), c undefined, o undefined, global _fitpack = <module 'scipy.interpolate._fitpack' from '/usr/...polate/_fitpack.cpython-312-x86_64-linux-gnu.so'>, _fitpack._parcur = <built-in function _parcur>, global ravel = <function ravel>, global transpose = <function transpose>, x = array([[-0.11716708, -0.11880606, -0.11593395, -... 0.05828919, 0.03338466, -0.01922565]]), w = array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1... 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.]), u = array([0. , 0.03250076, 0.0629989 , 0.091...2466, 0.89439206, 0.93049664, 1. ]), ub = 0, ue = 1, k = 3, task = 0, ipar = False, s = 0.0, nest = 39, wrk = array([], dtype=float64), iwrk = array([], dtype=int32), per = True

ValueError: Invalid inputs.
      add_note = <built-in method add_note of ValueError object>
      args = ('Invalid inputs.',)
      with_traceback = <built-in method with_traceback of ValueError object>