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/c/x/CXPhasing-0.3.0/cxphasing/CXPhasing.py   CXPhasing(Download)
            ph = CXData()
            ph.load(CXP.io.simulation_sample_filename[1])
            ph.normalise(val=np.pi/3)
            sample.data[0] = sample.data[0]*exp(complex(0., 1.)*ph.data[0])
        det_mod.simulate_diffraction_patterns(sample)