Beispiel #1
0
 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)
Beispiel #2
0
 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)