'**SUMMARY**
Transform a single or a set of y values from one reference frame to another.
Options are:
SRC - the coordinates of the source image.
ROI - the coordinates of the ROI
ROI_UNIT - unit coordinates in the frame of reference of the ROI
SRC_UNIT - unit coordinates in the frame of reference of source image.
**PARAMETERS**
* *y* - A list of y values or a single y value.
* *intype* - A string indicating the input format of the data.
* *output* - A string indicating the output format of the data.
**RETURNS**
A list of the transformed values.
**EXAMPLE**
>>> img = Image(\'lenna\')
>>> blobs = img.findBlobs()
>>> roi = ROI(blobs[0])
>>> y = roi.crop()..... /find some y values in the crop region
>>> yt = roi.CoordTransformY(y)
>>> #yt are no in the space of the original image.'

def CoordTransformY(self, y, intype='ROI', output='SRC'):

    if (self.image is None):
        logger.warning('No    image    to    perform    that    calculation')
        return None
    if isinstance(y, (float, int)):
        y = [y]
    intype = intype.upper()
    output = output.upper()
    if (intype == output):
        return y
    return self._transform(y, self.image.height, self.h, self.ytl, intype, output)
