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

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

src/p/y/pyofss-0.9/pyofss/tests/test_domain.py   pyofss(Download)
from pyofss.domain import nu_to_omega, nu_to_lambda
from pyofss.domain import omega_to_nu, omega_to_lambda
from pyofss.domain import lambda_to_nu, lambda_to_omega
from pyofss.domain import dnu_to_dlambda, dlambda_to_dnu
 
      self.assertEqual( lambda_to_omega(domain.centre_lambda), \
                        domain.centre_omega)
      assert_array_almost_equal( lambda_to_nu(domain.Lambda), domain.nu )
      assert_array_almost_equal( lambda_to_omega(domain.Lambda), domain.omega )
   # ===========================================================================