def calculate(self, T, method):
if method == DUTT_PRASAD:<EOL><INDENT>A, B, C = self.DUTT_PRASAD_coeffs<EOL>mu = ViswanathNatarajan3(T, A, B, C, )<EOL><DEDENT>elif method == VISWANATH_NATARAJAN_3:<EOL><INDENT>A, B, C = self.VISWANATH_NATARAJAN_3_coeffs<EOL>mu = ViswanathNatarajan3(T, A, B, C)<EOL><DEDENT>elif method == VISWANATH_NATARAJAN_2:<EOL><INDENT>A, B = self.VISWANATH_NATARAJAN_2_coeffs<EOL>mu = ViswanathNatarajan2(T, self.VISWANATH_NATARAJAN_2_coeffs[<NUM_LIT:0>], self.VISWANATH_NATARAJAN_2_coeffs[<NUM_LIT:1>])<EOL><DEDENT>elif method == VISWANATH_NATARAJAN_2E:<EOL><INDENT>C, D = self.VISWANATH_NATARAJAN_2E_coeffs<EOL>mu = ViswanathNatarajan2Exponential(T, C, D)<EOL><DEDENT>elif method == DIPPR_PERRY_8E:<EOL><INDENT>mu = EQ101(T, *self.Perrys2_313_coeffs)<EOL><DEDENT>elif method == COOLPROP:<EOL><INDENT>mu = CoolProp_T_dependent_property(T, self.CASRN, '<STR_LIT>', '<STR_LIT:l>')<EOL><DEDENT>elif method == LETSOU_STIEL:<EOL><INDENT>mu = Letsou_Stiel(T, self.MW, self.Tc, self.Pc, self.omega)<EOL><DEDENT>elif method == PRZEDZIECKI_SRIDHAR:<EOL><INDENT>Vml = self.Vml(T) if hasattr(self.Vml, '<STR_LIT>') else self.Vml<EOL>mu = Przedziecki_Sridhar(T, self.Tm, self.Tc, self.Pc, self.Vc, Vml, self.omega, self.MW)<EOL><DEDENT>elif method == VDI_PPDS:<EOL><INDENT>A, B, C, D, E = self.VDI_PPDS_coeffs<EOL>term = (C - T)/(T-D)<EOL>if term < <NUM_LIT:0>:<EOL><INDENT>term1 = -((T - C)/(T-D))**(<NUM_LIT:1>/<NUM_LIT>)<EOL><DEDENT>else:<EOL><INDENT>term1 = term**(<NUM_LIT:1>/<NUM_LIT>)<EOL><DEDENT>term2 = term*term1<EOL>mu = E*exp(A*term1 + B*term2)<EOL><DEDENT>elif method in self.tabular_data:<EOL><INDENT>mu = self.interpolate(T, method)<EOL><DEDENT>return mu<EOL>
r'''Method to calculate low-pressure liquid viscosity at tempearture
        `T` with a given method.

        This method has no exception handling; see `T_dependent_property`
        for that.

        Parameters
        ----------
        T : float
            Temperature at which to calculate viscosity, [K]
        method : str
            Name of the method to use

        Returns
        -------
        mu : float
            Viscosity of the liquid at T and a low pressure, [Pa*S]