So the standard min max is $$\ \frac{x - \min(x)}{ \max(x) - \min(x)}$$ or something like that.
Given a range like 0 to 500 I would like 250 to normalize to 1, 0 and 500 to 0. What is the proper way to do this? Apologies if this is duplicate, I wasn't sure how to search for the question, because I don't know if this exists and has a name.