s kleiner 0

This commit is contained in:
Tammo.Weber
2026-02-09 11:50:07 +01:00
parent b44c25928e
commit 2864ce50ff

View File

@@ -515,8 +515,6 @@ app.layout = html.Div(
) )
# Funktion zur Wahl der Halbachsen # Funktion zur Wahl der Halbachsen
@app.callback( @app.callback(
Output("input-ax", "value"), Output("input-ax", "value"),
@@ -673,8 +671,6 @@ def gha1_method_hint(n, a, nu, st, ap, beta0, lamb0, s, a0, ax, ay, b):
return html.Span("β₀ muss im Bereich [-90°, 90°] liegen.", style={"color": "red"}) return html.Span("β₀ muss im Bereich [-90°, 90°] liegen.", style={"color": "red"})
if not (-180 <= lamb0_f <= 180): if not (-180 <= lamb0_f <= 180):
return html.Span("λ₀ muss im Bereich [-180°, 180°] liegen.", style={"color": "red"}) return html.Span("λ₀ muss im Bereich [-180°, 180°] liegen.", style={"color": "red"})
if s_f <= 0:
return html.Span("s muss > 0 sein.", style={"color": "red"})
if not (-180 <= lamb0_f <= 360): if not (-180 <= lamb0_f <= 360):
return html.Span("α₀ muss im Bereich [-180°, 360°] liegen.", style={"color": "red"}) return html.Span("α₀ muss im Bereich [-180°, 360°] liegen.", style={"color": "red"})