LapStatisticsAnalyzer - Circuit Session - Lime Rock MX-5
Detailed lap timing statistics with best/worst/average times and consistency metrics
Sample Data
| Attribute | Value |
|---|---|
| Source | garage61 |
| Category | circuit_lap |
| File | 01K451BYJ64G0T2GPQ44AKXC86 |
Configuration
| Setting | Value |
|---|---|
| Slice Type | lap |
| Metadata Only | True |
When to Use
- User asks about lap times or 'what was my best lap'
- User wants consistency analysis across laps
- User asks 'how fast did I go' or lap time distribution
- User wants to see improvement over a session
Key Options
| Option | Description |
|---|---|
lap_selection | all |
n_best_laps | Number of best laps to analyze when lap_selection='best' (default: 5) |
filter_outliers | Remove outlier laps using IQR method (default: True) |
Sample Output
Subjects Analyzed: 1
All Laps (Default)
Options: lap_selection=all, _config_label=All Laps (Default)
Error: Invalid options for analyzer 'LapStatisticsAnalyzer': 1 validation error for LapStatsOptions
_config_label
Extra inputs are not permitted [type=extra_forbidden, input_value='All Laps (Default)', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden
Best Lap Only
Options: lap_selection=best, _config_label=Best Lap Only
Error: Invalid options for analyzer 'LapStatisticsAnalyzer': 1 validation error for LapStatsOptions
_config_label
Extra inputs are not permitted [type=extra_forbidden, input_value='Best Lap Only', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden
No Outlier Filtering
Options: filter_outliers=False, _config_label=No Outlier Filtering
Error: Invalid options for analyzer 'LapStatisticsAnalyzer': 1 validation error for LapStatsOptions
_config_label
Extra inputs are not permitted [type=extra_forbidden, input_value='No Outlier Filtering', input_type=str]
For further information visit https://errors.pydantic.dev/2.12/v/extra_forbidden
Example Calls
Show me detailed lap times for that Formula Vee session
analyze(analyzers='lapstats', event='01H8SP4HK4')
Displays all lap times with statistics including best, worst, average, and consistency
What were my 10 best laps?
analyze(analyzers='lapstats', event='01H8SP4HK4', lap_selection='best', n_best_laps=10)
Shows only the top 10 fastest laps with detailed statistics
How consistent were my lap times today?
analyze(analyzers='lapstats', after='2023-08-26', lap_selection='all')
Analyzes all laps to show consistency metrics (std dev, coefficient of variation)
Generated from b4racing.analysis.analyzers.lapstats.LapStatisticsAnalyzer