'**SUMMARY**
The function the global minima in the line scan.
**RETURNS**
Returns a list of tuples of the format:
(LineScanIndex,MinimaValue,(image_position_x,image_position_y))
**EXAMPLE**
>>>> import matplotlib.pyplot as plt
>>>> img = Image(\'lenna\')
>>>> sl = img.getLineScan(y=128)
>>>> minima = sl.smooth().minima()
>>>> plt.plot(sl)
>>>> for m in minima:
>>>>    plt.plot(m[0],m[1],\'ro\')
>>>> plt.show()'

def minima(self):

    minvalue = np.min(self)
    idxs = np.where((np.array(self) == minvalue))[0]
    minvalue = (np.ones((1, len(idxs))) * minvalue)
    minvalue = minvalue[0]
    pts = np.array(self.pointLoc)
    pts = pts[idxs]
    pts = [(p[0], p[1]) for p in pts]
    return zip(idxs, minvalue, pts)
