determine_larger_box

determine_larger_box(minx: None | float, miny: None | float, maxx: None | float, maxy: None | float, chip_box: tuple) Tuple[float, float, float, float][source]

Return box which includes the two boxes.

Parameters:
  • minx (Union[None, float]) – Minimum of x coordinate

  • miny (Union[None, float]) – Minimum of y coordinate

  • maxx (Union[None, float]) – Maximum of x coordinate

  • maxy (Union[None, float]) – Maximum of y coordinate

  • chip_box (tuple) – Second box in following format: minx, miny, maxx, maxy

Returns:

The size: minx, miny, maxx, maxy of

box which includes both boxes.

Return type:

Tuple[float, float, float, float]