def evaluate(self, x, tau_V):
    '\n        WG00 function\n\n        Parameters\n        ----------\n        x: float\n           expects either x in units of wavelengths or frequency\n           or assumes wavelengths in [micron]\n\n           internally microns are used\n\n        tau_V: float\n           optical depth in V band\n\n        Returns\n        -------\n        Attx: np array (float)\n            Att(x) attenuation curve [mag]\n\n        Raises\n        ------\n        ValueError\n           Input x values outside of defined range\n        '
    with u.add_enabled_equivalencies(u.spectral()):
        x_quant = u.Quantity(x, u.micron, dtype=np.float64)
    x = x_quant.value
    _test_valid_x_range(x, self.x_range, 'WG00')
    n_x = len(x)
    xinterp = (10000.0 * x)
    yinterp = (tau_V * np.ones(n_x))
    taux = self.model(xinterp, yinterp)
    Attx = (1.086 * taux)
    return Attx
WG00 function

Parameters
----------
x: float
   expects either x in units of wavelengths or frequency
   or assumes wavelengths in [micron]

   internally microns are used

tau_V: float
   optical depth in V band

Returns
-------
Attx: np array (float)
    Att(x) attenuation curve [mag]

Raises
------
ValueError
   Input x values outside of defined range
def evaluate(self, x, tau_V):
    '\n        WG00 function\n\n        Parameters\n        ----------\n        x: float\n           expects either x in units of wavelengths or frequency\n           or assumes wavelengths in [micron]\n\n           internally microns are used\n\n        tau_V: float\n           optical depth in V band\n\n        Returns\n        -------\n        Attx: np array (float)\n            Att(x) attenuation curve [mag]\n\n        Raises\n        ------\n        ValueError\n           Input x values outside of defined range\n        '
    with u.add_enabled_equivalencies(u.spectral()):
        x_quant = u.Quantity(x, u.micron, dtype=np.float64)
    x = x_quant.value
    _test_valid_x_range(x, self.x_range, 'WG00')
    n_x = len(x)
    xinterp = (10000.0 * x)
    yinterp = (tau_V * np.ones(n_x))
    taux = self.model(xinterp, yinterp)
    Attx = (1.086 * taux)
    return Attx