def __init_image(self):
    self.img_width = 2048
    self.img_height = ((((self.end_cycle - self.start_cycle) + self.img_width) // self.img_width) * (2 + (self.xdim * self.ydim)))
    self.img = Image.new('RGB', (self.img_width, self.img_height), 'black')
    self.pixel = self.img.load()
    return
def __init_image(self):
    self.img_width = 2048
    self.img_height = ((((self.end_cycle - self.start_cycle) + self.img_width) // self.img_width) * (2 + (self.xdim * self.ydim)))
    self.img = Image.new('RGB', (self.img_width, self.img_height), 'black')
    self.pixel = self.img.load()
    return