Skip to main content

TheoreticalBestAnalyzer - Circuit Session - Lime Rock MX-5

Calculate theoretical best lap time by combining fastest mini-sectors from all laps

Sample Data

AttributeValue
Sourcegarage61
Categorycircuit_lap
File01K451BYJ64G0T2GPQ44AKXC86

Available Channels (23): LongAccel, VertAccel, YawRate, abs_active, brake, clutch, distance, drs_active, gear, lap_distance_pct, lat_accel, latitude, longitude, position_type, rpm, speed, steering, throttle, time, track_pct, x, y, yaw


Configuration

SettingValue
Slice Typelap
Metadata OnlyFalse
Required Channelstime, distance

When to Use

  • User asks 'what's my theoretical best' or 'what if I put it all together'
  • User wants to know their potential with current skill level
  • User asks how much time is 'on the table' if they drive perfectly
  • User wants to see which sectors have the most improvement potential

Key Options

OptionDescription
lap_selectionall
n_best_lapsLimit to N best laps for sector comparison (default: 5)
sector_size_mMini-sector size in meters for granular analysis (default: 50)

Sample Output

Subjects Analyzed: 1

Top 5 Laps (Default)

Options: n_best_laps=5, _config_label=Top 5 Laps (Default) Error: Invalid options for analyzer 'TheoreticalBestAnalyzer': 1 validation error for TheoreticalBestOptions _config_label Extra inputs are not permitted [type=extra_forbidden, input_value='Top 5 Laps (Default)', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden

Top 3 Laps

Options: n_best_laps=3, _config_label=Top 3 Laps Error: Invalid options for analyzer 'TheoreticalBestAnalyzer': 1 validation error for TheoreticalBestOptions _config_label Extra inputs are not permitted [type=extra_forbidden, input_value='Top 3 Laps', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden


Example Calls

What's my theoretical best lap if I put all my best sectors together?

analyze(analyzers='theoretical_best', event='01H8SP4HK4')

Calculates theoretical best by taking fastest mini-sector times across all laps

How much faster could I go in this session?

analyze(analyzers='theoretical_best', event='01H8SP4HK4', lap_selection='best', n_best_laps=10)

Uses only top 10 laps to calculate realistic theoretical best


Generated from b4racing.analysis.analyzers.theoretical_best.TheoreticalBestAnalyzer