Signal Scripts: Dynamic View To Average Amplitude

I wrote this procedure to create views on Hana dynamically for any
signal. The generated views show for each patient the average amplitude
(with adjusted gain) for any chosen signal.