getMapping function

Get mapping object from a study