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

Functions

dict load_lut (Path npz_path)
None plot_policy_lut (dict lut, Path out_path)
None plot_engine_lut (dict lut, Path out_path)
None main ()

Detailed Description

Plot controller LUT as heatmaps and slices.
Produces a multi-panel figure showing F, duty_F, duty_O over the pressure/thrust grid.

Function Documentation

◆ load_lut()

dict controller_lut.plot_lut.load_lut ( Path npz_path)
Load LUT from .npz, return dict with axes and data arrays.

Definition at line 16 of file plot_lut.py.

Referenced by main().

◆ main()

None controller_lut.plot_lut.main ( )

Definition at line 223 of file plot_lut.py.

References load_lut(), main(), plot_engine_lut(), and plot_policy_lut().

Referenced by main().

◆ plot_engine_lut()

None controller_lut.plot_lut.plot_engine_lut ( dict lut,
Path out_path )
Plot 2D engine LUT (P_u_fuel, P_u_ox).

Definition at line 165 of file plot_lut.py.

Referenced by main().

◆ plot_policy_lut()

None controller_lut.plot_lut.plot_policy_lut ( dict lut,
Path out_path )
Create multi-panel plot for 4D policy LUT (P_u_fuel, P_u_ox, thrust_desired, MR_ref).

Definition at line 38 of file plot_lut.py.

References flatten(), and min.

Referenced by main().