For use in conjunction with a logging device downhole in an earth borehole, in which a method is employed for determining a property of a substance in a downhole measurement region, including the following steps:
- providing a static magnetic field in the measurement region having a static magnetic field gradient;
- applying, in the measurement region, a pulse sequence that includes RF pulses and pulsed field gradient pulses, said pulsed field gradient pulses including pulsed field gradient pulses of a given polarity;
- and
- receiving one or a plurality of spin echoes from the measurement region;
- the improvement comprising:
- applying corrective pulses in said pulse sequence to obtain cancellation of a component of the spin echoes that depends on the magnitude and direction of the static magnetic field gradient of said static magnetic field.