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

Double Star Calculator - Orbit

- Revision: $Rev: 1216 $
- Report created: 2025-07-11 18:44:28

Orbital Elements for BAR7
WDS: BAR7 WDS ID/Discoverer
P: 390.000 Orbital period (years)
a: 1.878 Semi-major axis (arcseconds)
i: 140.4 Inclination (degrees)
Ω: 177.8 Longitude of ascending node (degrees)
T: 2081.400 Epoch of periastron passage (year)
e: 0.204 Eccentricity
ω: 206.9 Longitude of periastron (degrees)
Start-Year: 1830.0 Year
End-Year: 2220.0 Year
Epoch: 2025.0 Besselian Epoch

Further data from the WDS Sixth Catalog of Orbits for BAR7
Position: 171408.07-082413.8 Epoch-2000 right ascension and declination
WDS-ID: 17141-0824 WDS designation
Discoverer Code: BAR7 Discover designation and components
ADS number: 10404 Aitken Double Star catalog
HD number: 155802 HD catalog number
Hipparcos number: 84303 Hipparcos catalog number
V1: 8.64 Magnitude of the primary
V2: 11.69 Magnitude of the secondary
Equinox: Equinox
Date: 2018 Date of last observation
Orbit grade: 5 Orbit grade, ranging from 1 'definitive' to 5 'indeterminate'
Flags: Flags

Double Star Orbit for BAR7
--> -->
 
 
ValueError
Python 3.12.3: /usr/bin/python3
Fri Jul 11 18:44:28 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>
    891 
    892 # Smooth curve if necessary
=>  893 x_smooth, y_smooth = Q_get_smoothed_orbit(x_list, y_list)
    894 plt.plot(x_smooth, y_smooth, label=f'Orbit of {wds}', color='#528B8B')
    895 
x_smooth undefined, y_smooth undefined, Q_get_smoothed_orbit = <function Q_get_smoothed_orbit>, x_list = [0.19011210960654815, 0.17064723258719833, 0.15115314174163463, 0.13163330472153098, 0.1120911571777564, 0.09253010333174977, 0.07295351654516119, 0.053364739887333215, 0.03376708670035257, 0.014163841161337992, -0.005441741158295636, -0.025046432736859924, -0.04464703354993935, -0.06424037052168471, -0.08382329698003119, -0.1033926921160482, -0.12294546044757933, -0.14247853128730753, -0.16198885821541525, -0.1814734185569315, ...], y_list = [-2.1335931062433966, -2.140584016589978, -2.14720850785297, -2.1534673017630546, -2.1593611498419656, -2.164890832539351, -2.1700571584041874, -2.1748609632898614, -2.1793031095920097, -2.1833844855182547, -2.187106004389005, -2.1904686039684913, -2.1934732458252606, -2.1961209147213463, -2.198412618029389, -2.200349385176967, -2.2019322671174626, -2.2031623358267667, -2.2040406838251863, -2.204568423723922, ...]
 /var/www/cgi-bin/ds_orbit.py in Q_get_smoothed_orbit(x_list=[0.19011210960654815, 0.17064723258719833, 0.15115314174163463, 0.13163330472153098, 0.1120911571777564, 0.09253010333174977, 0.07295351654516119, 0.053364739887333215, 0.03376708670035257, 0.014163841161337992, -0.005441741158295636, -0.025046432736859924, -0.04464703354993935, -0.06424037052168471, -0.08382329698003119, -0.1033926921160482, -0.12294546044757933, -0.14247853128730753, -0.16198885821541525, -0.1814734185569315, ...], y_list=[-2.1335931062433966, -2.140584016589978, -2.14720850785297, -2.1534673017630546, -2.1593611498419656, -2.164890832539351, -2.1700571584041874, -2.1748609632898614, -2.1793031095920097, -2.1833844855182547, -2.187106004389005, -2.1904686039684913, -2.1934732458252606, -2.1961209147213463, -2.198412618029389, -2.200349385176967, -2.2019322671174626, -2.2031623358267667, -2.2040406838251863, -2.204568423723922, ...])
    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([-1.54083007, -1.54511106, -1.54906215, -1...9, -1.5259899 , -1.53127124, -1.53621739]), y = array([-0.02137992, -0.04925477, -0.07711911, -0...7, 0.06224803, 0.03437754, 0.00649952]), s undefined, per undefined
 /usr/lib/python3/dist-packages/scipy/interpolate/_fitpack_py.py in splprep(x=[array([-1.54083007, -1.54511106, -1.54906215, -1...9, -1.5259899 , -1.53127124, -1.53621739]), array([-0.02137992, -0.04925477, -0.07711911, -0...7, 0.06224803, 0.03437754, 0.00649952])], 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([-1.54083007, -1.54511106, -1.54906215, -1...9, -1.5259899 , -1.53127124, -1.53621739]), array([-0.02137992, -0.04925477, -0.07711911, -0...7, 0.06224803, 0.03437754, 0.00649952])], 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([[-1.54083007, -1.54511106, -1.54906215, -... 0.06224803, 0.03437754, -0.02137992]]), 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.00271372, 0.0054218 , 0.008...9236, 0.99182686, 0.99455644, 1. ]), ub=0, ue=1, k=3, task=0, s=0.0, t=array([], dtype=float64), full_output=0, nest=397, 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([[-1.54083007, -1.54511106, -1.54906215, -... 0.06224803, 0.03437754, -0.02137992]]), 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.00271372, 0.0054218 , 0.008...9236, 0.99182686, 0.99455644, 1. ]), ub = 0, ue = 1, k = 3, task = 0, ipar = False, s = 0.0, nest = 397, 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>