My main goal is to make .raw mask from two lists of x and y values of each ROI point. Those lists are presented like this:
x_vals = [94, 95, 96, 97, 98, 99, 1