def __repr__(self):
        form = "<MCA %s, nchans=%d, counts=%d, realtime=%.1f>"
        return form % (self.name, self.nchans, self.total_counts, self.real_time)
dataset/ETHPy150Open xraypy/xraylarch/plugins/xrf/mca.py/MCA.__repr__/original