def __init__(self, fh):
(dhead, dcmetrics_ascii, dcmetrics_name, dkernpairs, dcomposite) =parse_afm(fh)<EOL>self._header = dhead<EOL>self._kern = dkernpairs<EOL>self._metrics = dcmetrics_ascii<EOL>self._metrics_by_name = dcmetrics_name<EOL>self._composite = dcomposite<EOL>
Parse the AFM file in file object *fh*