semvec/pypi-packages huggingface dataset:
f1-2021-race-strategist 0.0.1
Display telemetry data and spot anomalies.

# F1 2021 - The Official Video Game from Codemasters
A tool for forwarding the UDP telemetry data from the simulator game F1 2021 to InfluxDB
for display via any graphing application.

[UDP Specification](https://forums.codemasters.com/topic/80231-f1-2021-udp-specification/)

# Data Storage
Is done by [InfluxDB](https://www.influxdata.com/) which is a great time series 
database.
See [Docker Hub](https://hub.docker.com/_/influxdb).
```bash
docker pull quay.io/influxdb/influxdb:latest
```

# Graphing Using Grafana
You can use Grafana to connect to InfluxDB. See - https://grafana.com/docs/grafana/latest/installation/docker/
```bash
docker run -d -p 3000:3000 grafana/grafana
```

## Connection to InfluxDB
Connecting to InfluxDB 2 requires Grafana 7.1 and above.

![Top half of config of datasource](docs/images/influxdb_grafana_config_1.png)
![Bottom half of config of datasource](docs/images/influxdb_grafana_config_2.png)

## Refresh Rate
To enable sub second updates, alter the following in `/etc/grafana/grafana.ini`

```ini
#################################### Dashboards History ##################
[dashboards]
# Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1
;versions_to_keep = 20
min_refresh_interval = 100ms
```

Next add the refresh rate as an option in the dashboard setting, otherwise you won't be able
to select it.

![Set refresh rate](docs/images/grafana_refresh_rate.png)

# Links
* Excellent Telemetry tool [PXG F1](https://bitbucket.org/Fiingon/pxg-f1-telemetry/src)
* Similar project using [Kafka](https://www.youtube.com/watch?v=Re9LOAYZi2A) and
  with [Camel](https://www.youtube.com/watch?v=2efOtyFAZ4s)

# Demo
YouTube:
* [Grafana Demo](https://youtu.be/zWDqIcY03e0)


# Telemetry
Wheel speed in meters per second.
Wheel slip is 0 -> 1  


https://www.reddit.com/user/jeppe96/posts/
race-strategist 0.0.1
Display telemetry data and spot anomalies.

# F1 2021 - The Official Video Game from Codemasters
A tool for forwarding the UDP telemetry data from the simulator game F1 2021 to InfluxDB
for display via any graphing application.

[UDP Specification](https://forums.codemasters.com/topic/80231-f1-2021-udp-specification/)

# Data Storage
Is done by [InfluxDB](https://www.influxdata.com/) which is a great time series 
database.
See [Docker Hub](https://hub.docker.com/_/influxdb).
```bash
docker pull quay.io/influxdb/influxdb:latest
```

# Graphing Using Grafana
You can use Grafana to connect to InfluxDB. See - https://grafana.com/docs/grafana/latest/installation/docker/
```bash
docker run -d -p 3000:3000 grafana/grafana
```

## Connection to InfluxDB
Connecting to InfluxDB 2 requires Grafana 7.1 and above.

![Top half of config of datasource](docs/images/influxdb_grafana_config_1.png)
![Bottom half of config of datasource](docs/images/influxdb_grafana_config_2.png)

## Refresh Rate
To enable sub second updates, alter the following in `/etc/grafana/grafana.ini`

```ini
#################################### Dashboards History ##################
[dashboards]
# Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1
;versions_to_keep = 20
min_refresh_interval = 100ms
```

Next add the refresh rate as an option in the dashboard setting, otherwise you won't be able
to select it.

![Set refresh rate](docs/images/grafana_refresh_rate.png)

# Links
* Excellent Telemetry tool [PXG F1](https://bitbucket.org/Fiingon/pxg-f1-telemetry/src)
* Similar project using [Kafka](https://www.youtube.com/watch?v=Re9LOAYZi2A) and
  with [Camel](https://www.youtube.com/watch?v=2efOtyFAZ4s)

# Demo
YouTube:
* [Grafana Demo](https://youtu.be/zWDqIcY03e0)


# Telemetry
Wheel speed in meters per second.
Wheel slip is 0 -> 1  


https://www.reddit.com/user/jeppe96/posts/
lagrange-polynomial 0.0.1
Lagrange polynomials over finite fields
Requires Python: >=3.9
Keywords: lagrange polynomials,interpolation

# Lagrange Polynomials

Module to generate Lagrange polynomials over integers for 1-dimensional data.
This is generally useful for interpolation.

## Installation

Install with `pip`.

## Usage

### Example

```python
from lagrange_polynomial import LagrangePolynomial

xs = range(100)
ys = [f(x) for x in xs]          # For some function f

lp = LagrangePolynomial(xs, ys)  # Instantiate a polynomial with sequences of
                                 # x- and y-coordinates.

for x in xs:
    assert ys[x] == lp(x)        # Polynomial will intersect original points
    coefficient = lp.basis[0](x) # Get the 0th basis vector at x
```

### Interface

The `LagrangePolynomial` class takes two equally-sized sequences and an optional integer _p_.
The instance is a Lagrange polynomial _L_: _x_ -> _L_(_x_) over GF(_p_). If _p_ is not provided, it defaults to the 8<sup>th</sup> Mersenne prime _M_<sub>31</sub>.

It has a `basis` property, a `LagrangeBasis` object subclassing `Sequence`.
Each element _ℓⱼ_ indexed by integers _j_ in `range(len(xs))` is a function taking _x_ to its _j_<sup>th</sup> basis vector _ℓⱼ_(_x_).

## Test

Test with `make test`.