Text this: Theory and practice of measuring the petrophysical characteristics of rocks