pip amount --> intensity, new amount function, dsd gain correction removed