<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transform(self, maps):
 """This function transforms from chirp distance to luminosity distance, given the chirp mass. Parameters maps : a mapping object Examples -------- Convert a dict of numpy.array: {'mchirp': array([ 1.2]), 'chirp_distance': array([ 40.]), 'distance': array([ 39.48595679])} Returns ------- out : dict A dict with key as parameter name and value as numpy.array or float of transformed values. """

        out = {}
        out[parameters.distance] = \
                conversions.distance_from_chirp_distance_mchirp(
                                                    maps[parameters.chirp_distance],
                                                    maps[parameters.mchirp],
                                                    ref_mass=self.ref_mass)
        return self.format_output(maps, out)