StageProfileAnalyzer - Circuit Session - Lime Rock MX-5
Rally stage characterization from pacenote data (no telemetry required)
Sample Data
| Attribute | Value |
|---|---|
| Source | garage61 |
| Category | circuit_lap |
| File | 01K451BYJ64G0T2GPQ44AKXC86 |
Configuration
| Setting | Value |
|---|---|
| Metadata Only | True |
When to Use
- User asks about stage characteristics before driving
- User wants to understand stage difficulty or technicality
- User asks about corner distribution or density
- User wants to compare stage profiles
- User asks 'what kind of stage is this?'
Key Options
| Option | Description |
|---|---|
technical_threshold_corners | Corners needed within window to mark as technical (default: 3) |
technical_threshold_distance_m | Window size for technical detection (default: 500m) |
fast_section_gap_m | Gap between corners to mark as fast section (default: 1000m) |
Sample Output
Subjects Analyzed: 1
Default
Metrics Summary
01K451BYJ64G0T2GPQ44AKXC86
| Metric | Value |
|---|---|
| Track Name | Lime Rock Park |
| Stage Length M | 2462 |
| Surface Type | tarmac |
| Corners | {"total_count": 6, "density_per_km": 2.4370430544272947, "avg_segment_length_m": 328.0, "min_segment_length_m": 176.0, "max_segment_length_m": 404.0, "density_formatted": "2.4/km"} |
| Flags | {"tightens_count": 0, "narrows_count": 0, "wide_out_count": 0, "tightens_bad_count": 0, "dont_cut_count": 0, "cut_count": 0, "long_count": 0, "maybe_count": 0} |
| Sections | {"technical_section_count": 0, "fast_section_count": 0, "technical_distance_m": 0, "fast_distance_m": 0, "technical_pct": 0.0} |
| Character | {"technical_rating": 0.24370430544272947, "speed_rating": 0.0, "danger_rating": 0.0, "elevation_rating": 0.0, "technical_formatted": "24%", "speed_formatted": "0%", "danger_formatted": "0%"} |
| Stage Length Km | 2.46 |
Raw JSON output
{
"metrics": [
{
"subject_id": "01K451BYJ64G0T2GPQ44AKXC86",
"track_name": "Lime Rock Park",
"stage_length_m": 2462,
"surface_type": "tarmac",
"corners": {
"total_count": 6,
"density_per_km": 2.4370430544272947,
"avg_segment_length_m": 328.0,
"min_segment_length_m": 176.0,
"max_segment_length_m": 404.0,
"density_formatted": "2.4/km"
},
"flags": {
"tightens_count": 0,
"narrows_count": 0,
"wide_out_count": 0,
"tightens_bad_count": 0,
"dont_cut_count": 0,
"cut_count": 0,
"long_count": 0,
"maybe_count": 0
},
"sections": {
"technical_section_count": 0,
"fast_section_count": 0,
"technical_distance_m": 0,
"fast_distance_m": 0,
"technical_pct": 0.0
},
"character": {
"technical_rating": 0.24370430544272947,
"speed_rating": 0.0,
"danger_rating": 0.0,
"elevation_rating": 0.0,
"technical_formatted": "24%",
"speed_formatted": "0%",
"danger_formatted": "0%"
},
"stage_length_km": 2.462
}
],
"metadata": {
"analyzer": "stage_profile",
"title": "Stage Profile",
"subjects_analyzed": 1
}
}
Example Calls
What kind of stage is Chirdonhead?
analyze(analyzers='stage_profile', track='Chirdonhead')
Analyzes stage character without needing any telemetry
How technical is this Finnish stage?
analyze(analyzers='stage_profile', track='Ouninpohja')
Returns technical rating, corner density, and section breakdown
Generated from b4racing.analysis.analyzers.stage_profile.StageProfileAnalyzer