Trend filtering – I. A modern statistical tool for time-domain astronomy and astronomical spectroscopy. Issue 3 (14th January 2020)