Fix strict testing for starttime/endtime as ints or floats
In 755edeb0 the heterodyne code explicitly starting checking that start times and end time variable types were float or int. This causes problems if they are, for example, numpy float types. This fixes the bug by using isinstance
instead of type
. Essentially this reverts to what was previously used.
This bug is in the v0.8.0 release.