Investigations of positron lifetimes in InP with a pulsed positron beam