def __init__(self, template, detections=None, catalog=None):
self.template = template<EOL>if isinstance(detections, Detection):<EOL><INDENT>detections = [detections]<EOL><DEDENT>self.detections = detections or []<EOL>self.__catalog = get_catalog(self.detections)<EOL>if catalog:<EOL><INDENT>warnings.warn("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>
Instantiation of Family object.