SBART.utils.telluric_utilities.compute_overlaps_blocks

SBART.utils.telluric_utilities.compute_overlaps_blocks#

Functions

check_if_overlap(block_A, block_B)

find_overlaps(input_blocks)

Loop over a list with 1D regions and find intersections among them Used to decrease the number of "standalone" blocks in the telluric template

check_if_overlap(block_A, block_B)#
find_overlaps(input_blocks)#

Loop over a list with 1D regions and find intersections among them Used to decrease the number of “standalone” blocks in the telluric template

E.g:

This:

|----| |----|

|----|

Will be merged into a single “block”, as they are all intersected

Parameters:

input_blocks (List[List[float]]) – [description]

Returns:

[description]

Return type:

List[List[float]]