Skip to main content

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


Download files

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

Source Distribution

flightdata-0.3.5.tar.gz (87.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flightdata-0.3.5-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file flightdata-0.3.5.tar.gz.

File metadata

  • Download URL: flightdata-0.3.5.tar.gz
  • Upload date:
  • Size: 87.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flightdata-0.3.5.tar.gz
Algorithm Hash digest
SHA256 3ab4d8499eba772650f77adcf65449ffec3b51ec708ebd421fc268f246260fde
MD5 1166ae31781288953d604b0f1ba16c7c
BLAKE2b-256 de7e8c762e7fd82deb9df00fd99ec37b3b1447e0c86c6c4fb29ee55e8bf19bd5

See more details on using hashes here.

File details

Details for the file flightdata-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: flightdata-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flightdata-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d7639c3d3120afe96a77ac6b4ff4e02d83299c0233248f32f78eda2b1222d803
MD5 f266a7b1131eae34671db54ff30f8001
BLAKE2b-256 603e7a736338ceeaf90637ef36d5f8c6f80cb004717ebe811c4df8bd76a9c261

See more details on using hashes here.

Supported by

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