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

All Samples(17)  |  Call(14)  |  Derive(1)  |  Import(2)

src/c/x/CXPhasing-0.3.0/cxphasing/CXPhasing.py   CXPhasing(Download)
#!/usr/bin/python
import numpy as np
import vine_utils as vu
import CXParams as CXP
from CXData import CXData
class CXPhasing(CXData):
 
    def __init__(self, *args):
 
        self.log = CXP.log
            if CXP.measurement.simulate_data:
                self.simulate_data()
                self.det_mod = CXData()
                self.probe_det_mod = CXData()
                self.det_mod.filename = CXData.processed_filename_string.format('det_mod')
    def add_object(self, ob):
        try:
            setattr(self, ob, CXData.__all__[ob])
        except KeyError:
            setattr(self, ob, CXData(itype=ob))

src/c/x/CXPhasing-0.3.0/cxphasing/__init__.py   CXPhasing(Download)
__all__ = ["CXData", "CXParams", "CXPhasing", "CXFileReader"]
 
from cxparams import CXParams
from CXFileReader import CXFileReader
from CXData import CXData