Choose the signs such that when the source or detector moves towards the other, fD becomes higher, and when one moves away from the other, fD becomes lower.