Scintillator-based Timepix3 detector for neutron spin-echo techniques using intensity modulation