opticalmaterialspy/_material_base.py
def gvd(self, wavelength):
        '''
        The group velocity dispersion (GVD) with respect to wavelength.

        Args:
            wavelength (float, list, None): The wavelength(s) the GVD will
                be evaluated at.

        Returns:
            float, list: The GVD at the target wavelength(s).
        '''
        g = (wavelength*1.e-9)**3./(2.*spc.pi*spc.c**2.) * self.nDer2(wavelength)
        return g
def gvd(self, wavelength):
        '''
        The group velocity dispersion (GVD) with respect to wavelength.

        Args:
            wavelength (float, list, None): The wavelength(s) the GVD will
                be evaluated at.

        Returns:
            float, list: The GVD at the target wavelength(s).
        '''
        g = (wavelength*1.e-9)**3./(2.*spc.pi*spc.c**2.) * self.nDer2(wavelength)
        return g
def gvd ( self , wavelength ) : g = ( wavelength * 1.e-9 ) ** 3. / ( 2. * spc . pi * spc . c ** 2. ) * self . nDer2 ( wavelength ) return g
The group velocity dispersion (GVD) with respect to wavelength.

        Args:
            wavelength (float, list, None): The wavelength(s) the GVD will
                be evaluated at.

        Returns:
            float, list: The GVD at the target wavelength(s).
The group velocity dispersion ( GVD ) with respect to wavelength .