def METHOD_NAME(self, obj):
    """
    Defined to generate header for channel python class.
    """
    for inst, id in enumerate(obj.get_ids()):
        c = ChannelHeader.ChannelHeader()
        d = datetime.datetime.now()
        c.date = d.strftime("%A, %d %B %Y")
        c.user = getuser()
        c.source = obj.get_xml_filename()
        self._writeTmpl(c, self.__fp[inst], "channelHeaderVisit")