I am using Python 3 in jupyter notebook and I data that looks like this:
x = [5100. 5100.05 5100.1 ... 5399.85 5399.9 5399.95] Angstrom
y = [1.83400998 1.26499399 0.85423358 ... 0.78314406 0.76861344 0.77460277]
Is there a way in Python 3 to grab the maximum y value for x between 5120 and 5250?