window function is selectable in gwpsdCore