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.8.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.8-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flightdata-0.3.8.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.8.tar.gz
Algorithm Hash digest
SHA256 692ae9a7c6cf4a50b1fdf0a1e05a6b36a736f62e066eb80cdbb37b5e7a57af74
MD5 421596c8d18f9c3a4014be222760f359
BLAKE2b-256 a243139ef86d43aae4b133dbccb04878d33d9da6f34dcc158eba9fd6c3f85079

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flightdata-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 52.1 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 df2c6919d211ea98165d92ca290b277fc4ae9c6479ca853936839cd2b2524254
MD5 f2472a2177b07bae8d6dc0110b4df3f6
BLAKE2b-256 cf6dc169515c952236ddf1866f4aa5baf24468440a5720465fb60644025c8f3b

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