Sampling Techniques in Near‐Infrared Transmission Spectroscopy