attfilter creates the attitude-drift GTI as a filtering of the attitude time-series over the duration of the exposure being processed. The median pointing within that window is first computed and then all excursions in pointing beyond the specified limit (parameter driftlimit) are rejected.