1. A method of correcting attenuation in a magnetic resonance (MR) scanner and a positron emission tomography (PET) unit, the method comprising: acquiring PET sinogram data of an object within a field of view of the PET unit; and producing an attenuation map based on a maximum likelihood expectation maximization (MLEM) of a parameterized model instance and the PET sinogram data.