Skip to content

Improvements to calculate_efh()

Jason Moore requested to merge efh-improve into master
  • takeoff_angle should be in radians not degrees (all classes work on radians for consistency)
  • uses a different approach to the nan slope[0] value so that we don't have to drop a value
  • ensures an exact 0.2 interval as the docstring states
  • clarified some items in the documentation string
  • updated test to work with radians

@bryncloud I've made some changes to calculate_efh(), main one you may need to worry about is that it now accepts radians instead of degrees for consistency.

Merge request reports