starling.data.data_wrangler.read_tsv_file

read_tsv_file(tsv_file: str) Iterator[Tuple[str, str]][source]

A function that reads the paths to distance maps from a tsv file

Parameters:

tsv_file (str) – A path to a tsv file containing the paths to distance maps as a first column and index of a distance map to load as a second column

Returns:

An iterator of tuples containing paths to distance maps and their indices

Return type:

Iterator[Tuple[str, str]]