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.7.tar.gz (91.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.7-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flightdata-0.3.7.tar.gz
  • Upload date:
  • Size: 91.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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.7.tar.gz
Algorithm Hash digest
SHA256 1835d553e3a3d12dc03aedf377f35c99dff0034ae666cd54b057794a342a9cac
MD5 dc58c58ff1a71f320fc3d92879382172
BLAKE2b-256 9d5b5ea300cfded59869976d46e17e90726699c21776c6fe7f1e84cd0608761c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flightdata-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5ce81dfbc158159341cf2dd08e766db55309a9ca6520e17d3195a837cdfd08
MD5 66d142053591af8bdcad8c7fac1ecbce
BLAKE2b-256 9b9539a2802a848ab2717b9f8f784d4689c8a0db6307e3ae8baa5c4eb02b2acd

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