> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Upswing Duration

> Duration from Takeaway (P2) to Top of Swing (P4).

## Technical Details

* **Variable Type:** Discrete Metric
* **Data Type:** Float
* **Units:** seconds (s)
* **Column Name:** `upswing_duration`
* **Aggregation:** mean
* **Precision:** 2
* **Calculation:** (P4 Top of Swing frame − P2 Takeaway frame) / fps
* **Optimal Direction:** N/A

## Description

Upswing Duration measures the time spent in the backswing, from Takeaway to the Top of Swing. It is used together with Downswing Duration to compute the Dynamic Tempo Ratio.

## Use Cases

* Tempo analysis
* Dynamic Tempo Ratio input
