Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/y/pyofss-0.9/pyofss/tests/test_sech.py   pyofss(Download)
   def test_conversion( self ):
      """ Should calculate a FWHM pulse width from the HWIeM value. """
      sech = Sech( width = 100.0 )
      fwhm = sech.calculate_fwhm()
      self.assertEqual( fwhm, 176.2747174039086 )