code: def transform(self, maps):
          
          out = {}
          out[parameters.mass1] = conversions.mass1_from_mchirp_eta(
                                                  maps[parameters.mchirp],
                                                  maps[parameters.eta])
          out[parameters.mass2] = conversions.mass2_from_mchirp_eta(
                                                  maps[parameters.mchirp],
                                                  maps[parameters.eta])
          return self.format_output(maps, out)
docs: This function transforms from chirp mass and symmetric mass ratio to
          component masses.
  
          Parameters
          ----------
          maps : a mapping object
  
          Examples
          --------
          Convert a dict of numpy.array:
  
          >>> import numpy
          >>> from pycbc import transforms
          >>> t = transforms.MchirpEtaToMass1Mass2()
          >>> t.transform({'mchirp': numpy.array([10.]), 'eta': numpy.array([0.25])})
          {'mass1': array([ 16.4375183]), 'mass2': array([ 8.21875915]),
           'mchirp': array([ 10.]), 'eta': array([ 0.25])}
  
          Returns
          -------
          out : dict
              A dict with key as parameter name and value as numpy.array or float
              of transformed values.