fastoad.models.performances.mission.segments.registered.start module

Class for mission start point.

class fastoad.models.performances.mission.segments.registered.start.Start(name: str = '', target: ~fastoad.model_base.flight_point.FlightPoint = <object object>, isa_offset: float = 0.0)[source]

Bases: AbstractFlightSegment

Provides a starting point for a mission.

compute_from() will return only 1 flight points that matches the target.

compute_from_start_to_target(start: FlightPoint, target: FlightPoint) DataFrame[source]

Here should come the implementation for computing flight points between start and target flight points.

Parameters:
  • start

  • target – Definition of segment target

Returns:

a pandas DataFrame where column names match fields of FlightPoint

property target: FlightPoint

The base class of the class hierarchy.

When called, it accepts no arguments and returns a new featureless instance that has no instance attributes and cannot be given any.