Skip to main content

No project description provided

Project description

Formula Data Processing Library

The python windarab loader

UNIT TESTS WIP

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 only requires tqdm (used as status bar for loading large data files)

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.

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

Uploaded Source

Built Distribution

fdplib-0.5-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fdplib-0.5.tar.gz
Algorithm Hash digest
SHA256 b6c86304ecf78735977410e11f1d3f11c59a77b95726c03fae6e09606390e245
MD5 eae7271d7ddd9b84f10869d7b3719450
BLAKE2b-256 5886f1696bd6fd0f66c9bbbcf87232dc145974ab447294ac9868a0429c4a82f6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fdplib-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 214b115658b1bc30224b02c384aa7d9cd0f8ac107207a6e72a95beb8eca12de0
MD5 ead5a0c60e1e40809b295db33c9066d3
BLAKE2b-256 7b557ac219ee1a5c5b3f4be5265b2b9e9ca8bbdc708b1e249a4fb37d6a35f15b

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