Figures

Recreates some of the figures in Annex F [1].

class casex.figures.Figures[source]

This class provides some static methods that will were used to make some of the figures in Annex F [1]. The methods take a number of boolean variables to control the content of the figures. The specific choice of parameters for each figure is shown in example 8.

static figure_angle_vs_speed(show_matrix=False, show_contours=False, save_fig=False)[source]

Recreates the figure in Annex F relating impact angles and impact speed for the different size classes.

This method also outputs a variety of computations for the ballistic descent as listed in Annex F Appendix A [1].

Parameters
  • show_matrix (bool, optional) – Set to False to get plots in Annex F (the default is False).

  • show_contours (bool, optional) – Set to True to see the CA matrix (the default is False).

  • save_fig (bool, optional) – If True save the figure to a PNG (default is False).

Returns

Return type

None

static figure_iGRC_CA_vs_PopDensity(filename, show_with_obstacles=False, show_reduced_CA_axis=True, show_old_quantization=True, show_iGRC_prefix=True, show_additional_grid=False, show_colorbar=False, show_x_wingspan=True, show_x_velocity=True, show_x_CA=False, show_x_CA_above=False, show_title=True, save_fig=False, return_fig=False, show_descriptors=False)[source]

Recreates the figures showing iGRC values and iGRC table in Annex F Section 1 [1].

Parameters
  • filename (str) – Name of the output file (only applicable if save_image is True).

  • show_with_obstacles (bool, optional) – If True show the calculated iGRC values with a reduction due to obstalces (see Annex F Appendix A) (default is False).

  • show_reduced_CA_axis (bool, optional) – If True use a reduced granularity on the CA axis (default is True).

  • show_old_quantization (bool, optional) – If True uses the SORA V2.0 quantization (only applicable if ?show_reduced_CA_axis? is True) (default is True).

  • show_iGRC_prefix (bool, optional) – If True show the iGRC numbers as iGRC-X instead of just X (default is True).

  • show_additional_grid (bool, optional) – If True show additional grid lines. Makes it a bit cluttered, but assists in reading the table (default is False).

  • show_descriptors (bool, optional) – If True and if ?show_old_quantization? is True, then the descriptors of population density from SORA V2.0 is added to the second axis.

  • show_colorbar (bool, optional) – If True show colorbar instead of numbers for the background ISO plot (default is False).

  • show_x_wingspan (bool, optional) – If True show wingspan on the x axis (default is True).

  • show_x_velocity (bool, optional) – If True show velocities on the x axis (default is True).

  • show_x_CA (bool, optional) – If True show size of CA on the x axis (default is False).

  • show_x_CA_above (bool, optional) – If True and CA is shown, show it above the figure instead of below (default is False).

  • show_title (bool, optional) – If True show the title (default is True).

  • save_fig (bool, optional) – If True save the figure to a PNG with the given filename (default is False).

  • return_fig (bool, optional) – If True return the created matplotlib figure instead of showing it (default is False).

Returns

Return type

None

static figure_obstacle_critical_area_reduction(save_fig=False)[source]

Recreates the figure in Annex F Appendix B for the CA reduction used in the iGRC table..

Parameters

save_fig (bool, optional) – If True save the figure to a PNG (default is False).

Returns

Return type

None

1(1,2,3,4)

JARUS. JARUS guidelines on SORA - Annex F - Theoretical Basis for Ground Risk Classification. Technical Report, 2022. JAR-WG6-QM.01.