# gyr: rotation

> Raw three-axis angular rate from the gyroscope, in degrees per second.

The `gyr` table holds the raw gyroscope signal. Like `acc`, it is stored in packets of evenly spaced samples, and the API gives every sample its own time.

## Fields

| Field | Type | Unit | Description |
| --- | --- | --- | --- |
| `gyr_x`, `gyr_y`, `gyr_z` | series | °/s | Angular rate on each axis, one point per sample. With `combined_tuple` or `combined_dict` these become one `gyr` series. |
| `odr` | number | Hz | Output data rate. Only with `merge=false`. |
| `scale` | number | °/s | Full-scale range the gyroscope was set to. Only with `merge=false`. |
| `seq` | integer | | Packet counter from the device. Only with `merge=false`. |

Merging works as for [`acc`](https://asense.semitronica.pt/docs/data-model/acc/): with `merge=true` the page becomes one item.

## Aligned with the accelerometer

The gyroscope and the accelerometer are separate parts with separate clocks. With `sync_acc_gyr` on, the API moves each gyroscope packet onto the time of the accelerometer packet recorded up to 200 ms before it. The two signals then share one time base, which matters when you combine them, for example to estimate orientation. [Timing and accuracy](https://asense.semitronica.pt/docs/timing-and-accuracy/) has the details.

Source page: https://asense.semitronica.pt/docs/data-model/gyr/
