Separated get_snapshot_relative into it's own function. Will be used to calculae derivatives for more accurate trend recognition.