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

Functions

 load_logs (str filepath)
 extract_data (logs)
 plot_controller_run (data, str output_file=None)
 main ()

Detailed Description

Analyze controller run logs and generate plots.

Loads controller logs and plots:
- F_ref vs F_hat
- MR
- P_copv, P_reg, P_u_i, P_d_i
- duty / valve states
- constraint margins

Function Documentation

◆ extract_data()

analyze_controller_run.extract_data ( logs)
Extract data arrays from logs.

Definition at line 30 of file analyze_controller_run.py.

Referenced by main().

◆ load_logs()

analyze_controller_run.load_logs ( str filepath)
Load logs from file.

Definition at line 25 of file analyze_controller_run.py.

Referenced by main().

◆ main()

analyze_controller_run.main ( )
Main function.

Definition at line 171 of file analyze_controller_run.py.

References extract_data(), load_logs(), main(), and plot_controller_run().

Referenced by main().

◆ plot_controller_run()

analyze_controller_run.plot_controller_run ( data,
str output_file = None )
Plot controller run data.

Definition at line 76 of file analyze_controller_run.py.

Referenced by main().