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

example nmot data

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-2.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

fdplib-2.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fdplib-2.0.tar.gz
Algorithm Hash digest
SHA256 ffded7eca0432d5cce59aa6556d9d0d09648567dddc4d64845f719afe1d88a5a
MD5 fa1259e5c2675f61a18bc404983337bc
BLAKE2b-256 e23e2c0e72c10a277789f3f5fd0b282fab6c4680b948a0c59fe5ea3b678b9f6c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fdplib-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77cb9abb6fc0c34167c4ef0686249eb5225a8ac6f509b29b61d9936a39008866
MD5 431b4826c8099ccd232cb8372b92696f
BLAKE2b-256 df212a8d9b91de1902daa6e0a0a95a4d72b25729925f9ad426563d60268c2c4d

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