def addOffset(self, image, transducer, NRI):
    '\n\t\tHandle Offset\n\n\t\t'
    NXL = np.size(self.XL, 0)
    Ntheta = np.size(self.Theta, 0)
    (M_pml, N_pml) = np.shape(image.Itemp)
    self.YL += np.around((((transducer.Offset * image.Pixel_mm) * NRI) / float(N_pml)))
    self.IR = np.zeros((Ntheta, Ntheta), dtype=np.float32)
    B = list(range(0, Ntheta))
    self.IR[:, 0] = np.int32(B[:])
    for i in range(1, Ntheta):
        B = np.roll(B, (- 1))
        self.IR[:, i] = np.int32(B)
Handle Offset
def addOffset(self, image, transducer, NRI):
    '\n\t\t\n\n\t\t'
    NXL = np.size(self.XL, 0)
    Ntheta = np.size(self.Theta, 0)
    (M_pml, N_pml) = np.shape(image.Itemp)
    self.YL += np.around((((transducer.Offset * image.Pixel_mm) * NRI) / float(N_pml)))
    self.IR = np.zeros((Ntheta, Ntheta), dtype=np.float32)
    B = list(range(0, Ntheta))
    self.IR[:, 0] = np.int32(B[:])
    for i in range(1, Ntheta):
        B = np.roll(B, (- 1))
        self.IR[:, i] = np.int32(B)