Python tools for handling flight data
Project description
FlightData
This repo is contains a set of datastructures and tools for handling flight log data.
Flight
The Flight object represents the data logged by a flight controller. The class wraps a pandas dataframe which is indexed on a single time axis. Where data is logged at different rates for different sensors it is mapped to the closest time index. Attribute access provides individual columns or sets of columns in the groups defined in Fields. Item access subsets the data in the time axis.
Table
The Table is the base type for most of the datastructures. It allows attribute access to individual columns. Attribute access is also available to return basic entities subclassed from the base type in the pfc-geometry package. For example in the state object table.x provides the x position, table.pos provides a Point representing the xyz position. columns that are not represented by geometric base types are considered to be labels for the data.
State
The State object is a table representing the position and orientation of the aircraft along with their derivatives, it can be constructed from a Flight or from scratch by extrapolating in lines or around arcs. Many tools are provided to manipulate the data. The position and attitude are in a reference frame (with Z up), the derivatives move with the aircraft in either the body, wind, stability or track (like the wind axis but with no wind) frame.
Further documentation will be provided here: https://pfcdocumentation.readthedocs.io/pyflightcoach/flightdata.html
Installation
pip install flightdata
# or to include ardupilot dataflash log parsing capability:
pip install flightdata[dataflash]
Setup from source
pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flightdata-0.2.25.tar.gz
.
File metadata
- Download URL: flightdata-0.2.25.tar.gz
- Upload date:
- Size: 71.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0fb47383d3e9ade940b8b25683b38b65082c869f500bececdabf3b8cfcab06 |
|
MD5 | 79ced8ab22bbe943557020ebedb088ed |
|
BLAKE2b-256 | f55bdd6b34a5b4c50eb541d393ea90f3ead9a58a10f0df4976f03d84e7b9390e |
File details
Details for the file flightdata-0.2.25-py3-none-any.whl
.
File metadata
- Download URL: flightdata-0.2.25-py3-none-any.whl
- Upload date:
- Size: 40.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d59bfd579d4f7e7d8b65877c2a7ef2175df28b4acd9d58a120b3c8fa156ce2a |
|
MD5 | 23b4f4d9e22cc77e3e07b3a21e4e4c6c |
|
BLAKE2b-256 | b1346f572e5a10a4a08c1243e3598fc895b07cb57cf1984b5d89982a70aa4ca2 |