Trim Application

pyflysight.trim_app.TrimBy

Bases: StrEnum

PRESSURE_ALTITUDE class-attribute instance-attribute

PRESSURE_ALTITUDE = 'press_alt'

TRACK class-attribute instance-attribute

TRACK = 'track'

Warning

Trimming by GPS Track is currently not supported

pyflysight.trim_app.windowtrim_flight_log

windowtrim_flight_log(
    log_dir: Path,
    trim_by: TrimBy = TrimBy.PRESSURE_ALTITUDE,
    write_csv: bool = False,
    normalize_gps: bool = False,
) -> FlysightV2FlightLog

Interactively window the log data from the provided log directory.

Trimmed data may be optionally exported to CSV by setting the write_csv flag to True.