Skip to main content

No project description provided

Project description

Formula Data Processing Library

The python windarab loader

Unit Tests Coverage Report

Formula data processing library or fdplib for short is a library for accessing the custom text file format exported by Windarab by Bosch Motorsports

Installation

FDPLib requires tqdm (used as status bar for loading large data files) and Numpy (used to return data in numpy arrays)

To install FDPLib use pip:

python3 -m pip install fdplib

Usage

In order to use the main functionality of this library, import the fdplib module in your python code

import fdplib

From this a DarabData object can be created by passing the textfile name to the constructor

import fdplib.darab as darab
data = darab.DarabData("<FILENAME>.txt")

With this object, data can be easily accessed using the following methods. First, to get all of the variables in the dataset do data.list_vars()

The main method that you will use to interact with the data is data.get_var("<VARIABLE_NAME>") This method returns a list of all the datapoints associated with the variable. Likewise data.get_var_np("<VARIABLE_NAME>") returns a numpy array of the data. There is an optional boolean parameter called timeseries for both of the previously mentioned methods. If set to True this instead returns the data and the time values associated with it as a 2D array, much in the way matlab does.

Examples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fdplib-1.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

fdplib-1.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file fdplib-1.4.tar.gz.

File metadata

  • Download URL: fdplib-1.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for fdplib-1.4.tar.gz
Algorithm Hash digest
SHA256 44fa38c4244d2ec031888be108f5c248f2d34ac0f1ed1af251750c69d448dab9
MD5 900d3d22b920c66029c8fc3c73eb172d
BLAKE2b-256 540a7940a95cbdd5a7fbf97625246438f7dfdb35225e32ead7549a7b22a2497e

See more details on using hashes here.

File details

Details for the file fdplib-1.4-py3-none-any.whl.

File metadata

  • Download URL: fdplib-1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for fdplib-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c6bc58fb250c5c1d81bb3e0c9ef295f2b270d1de0e6f7132556f322352fe670
MD5 37a08fb2f098fffe7107a23641d2c608
BLAKE2b-256 76f1be0ef0c326d0ba266c110e9f45d88bf74e20faf359ffe874929f0a7901be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page