def make_parameter_dictionary(self, threshold=1e-08):
    '\n\n        Parameters\n        ----------\n        threshold :\n             (Default value = 1.e-8)\n             Neglect amplitudes below the threshold\n\n        Returns\n        -------\n        Dictionary of tequila variables (hash is in the style of (a,i,b,j))\n\n        '
    variables = {}
    if (self.tIjAb is not None):
        nvirt = self.tIjAb.shape[2]
        nocc = self.tIjAb.shape[0]
        assert ((self.tIjAb.shape[1] == nocc) and (self.tIjAb.shape[3] == nvirt))
        for ((I, j, A, b), value) in numpy.ndenumerate(self.tIjAb):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[((2 * (nocc + A)), (2 * I), ((2 * (nocc + b)) + 1), (j + 1))] = value
        for ((i, J, a, B), value) in numpy.ndenumerate(self.tiJaB):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[(((2 * (nocc + a)) + 1), ((2 * i) + 1), (2 * (nocc + B)), J)] = value
        for ((i, j, a, b), value) in numpy.ndenumerate(self.tijab):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[(((2 * (nocc + a)) + 1), ((2 * i) + 1), ((2 * (nocc + b)) + 1), (j + 1))] = value
        for ((I, J, A, B), value) in numpy.ndenumerate(self.tijab):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[((2 * (nocc + A)), (2 * I), (2 * (nocc + B)), J)] = value
    if (self.tIA is not None):
        nocc = self.tIjAb.shape[0]
        assert (self.tia.shape[0] == nocc)
        for ((I, A), value) in numpy.ndenumerate(self.tIA):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[((2 * (A + nocc)), (2 * I))] = value
        for ((i, a), value) in numpy.ndenumerate(self.tIA):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[(((2 * (a + nocc)) + 1), ((2 * i) + 1))] = value
    return variables
Parameters
----------
threshold :
     (Default value = 1.e-8)
     Neglect amplitudes below the threshold

Returns
-------
Dictionary of tequila variables (hash is in the style of (a,i,b,j))
def make_parameter_dictionary(self, threshold=1e-08):
    '\n\n        Parameters\n        ----------\n        threshold :\n             (Default value = 1.e-8)\n             Neglect amplitudes below the threshold\n\n        Returns\n        -------\n        Dictionary of tequila variables (hash is in the style of (a,i,b,j))\n\n        '
    variables = {}
    if (self.tIjAb is not None):
        nvirt = self.tIjAb.shape[2]
        nocc = self.tIjAb.shape[0]
        assert ((self.tIjAb.shape[1] == nocc) and (self.tIjAb.shape[3] == nvirt))
        for ((I, j, A, b), value) in numpy.ndenumerate(self.tIjAb):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[((2 * (nocc + A)), (2 * I), ((2 * (nocc + b)) + 1), (j + 1))] = value
        for ((i, J, a, B), value) in numpy.ndenumerate(self.tiJaB):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[(((2 * (nocc + a)) + 1), ((2 * i) + 1), (2 * (nocc + B)), J)] = value
        for ((i, j, a, b), value) in numpy.ndenumerate(self.tijab):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[(((2 * (nocc + a)) + 1), ((2 * i) + 1), ((2 * (nocc + b)) + 1), (j + 1))] = value
        for ((I, J, A, B), value) in numpy.ndenumerate(self.tijab):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[((2 * (nocc + A)), (2 * I), (2 * (nocc + B)), J)] = value
    if (self.tIA is not None):
        nocc = self.tIjAb.shape[0]
        assert (self.tia.shape[0] == nocc)
        for ((I, A), value) in numpy.ndenumerate(self.tIA):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[((2 * (A + nocc)), (2 * I))] = value
        for ((i, a), value) in numpy.ndenumerate(self.tIA):
            if (not numpy.isclose(value, 0.0, atol=threshold)):
                variables[(((2 * (a + nocc)) + 1), ((2 * i) + 1))] = value
    return variables