def test_list_parameters(self):
     params = list_parameters()
     self.assertIn('Airspeed', params)  # LFL
     self.assertIn('Altitude AAL', params)  # Derived Node
     # ensure dependencies of other modules (not in derived) are included
     self.assertIn('TAWS General', params)
     self.assertIn('Key Satcom (1)', params)
     # ensure KPV and KTIs are excluded
     self.assertNotIn('AOA With Flap 15 Max', params)  # KPV
     self.assertNotIn('Landing Turn Off Runway', params)  # KTI
     self.assertNotIn('FDR Takeoff Runway', params)  # Attribute
    # other non base 2 frequencies
    0.016666667,
    0.05,
    0.1,
    0.2,
    5,
    10,
    20,
}

# -----------------------------------------------------------------------------
# Collection of parameters known to Polaris
# -----------------------------------------------------------------------------

# Main list of parameters that from the Polaris analysis engine
PARAMETERS_ANALYSIS = list_parameters()

# Minimum list of parameters (including alternatives) needed in the HDF file.
# See check_for_core_parameters method
PARAMETERS_CORE = [
    u'Airspeed',
    u'Heading',
    u'Altitude STD',
    # Helicopter only
    u'Nr',
    # Alternatives
    u'Heading True',
    u'Nr (1)',
    u'Nr (2)',
]
示例#3
0
    # other non base 2 frequencies
    0.016666667,
    0.05,
    0.1,
    0.2,
    5,
    10,
    20,
}

# -----------------------------------------------------------------------------
# Collection of parameters known to Polaris
# -----------------------------------------------------------------------------

# Main list of parameters that from the Polaris analysis engine
PARAMETERS_ANALYSIS = list_parameters()

# Minimum list of parameters (including alternatives) needed in the HDF file.
# See check_for_core_parameters method
PARAMETERS_CORE = [
    u'Airspeed',
    u'Heading',
    u'Altitude STD',
    # Helicopter only
    u'Nr',
    # Alternatives
    u'Heading True',
    u'Nr (1)',
    u'Nr (2)',
]