figured out how to select a region of interest using numpy array