STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
animation_fixed Namespace Reference

Functions

go.Figure create_working_animation (np.ndarray time_history, np.ndarray recession_history, float D_chamber_initial, float D_throat_initial, float L_chamber, int max_frames=15)

Detailed Description

Fixed recession animation that actually works.

Simple, robust animation showing:
1. Recession vs time
2. Diameter evolution

Function Documentation

◆ create_working_animation()

go.Figure animation_fixed.create_working_animation ( np.ndarray time_history,
np.ndarray recession_history,
float D_chamber_initial,
float D_throat_initial,
float L_chamber,
int max_frames = 15 )
Create working animation.

Parameters:
-----------
time_history : np.ndarray
    Time array [s]
recession_history : np.ndarray
    Recession array [m]
D_chamber_initial : float
    Initial chamber diameter [m]
D_throat_initial : float
    Initial throat diameter [m]
L_chamber : float
    Chamber length [m]
max_frames : int
    Max frames

Returns:
--------
fig : go.Figure
    Plotly figure

Definition at line 16 of file animation_fixed.py.

References max.