> Actually, because of the slope, inter processing in the dataobj, I > think you'll find you can do: > > data = np.array(img.dataobj).astype(np.float32) * dataobj.slope + dataobj.inter Oops, I should have looked at the code... Thanks for clarifying.