use double() instead of uint8() stimulus file