コード例 #1
0
    def __init__(self):
        FaceData.__init__(self)
        self.properties = [
            {
                "Profile type": ProfileType.Parabolic,
                "attributes": {
                    "enumNames": ProfileType.enumNames
                }
            },
            {
                "Output parameters": [{
                    "Number of periods": 1,
                    "attributes": {
                        "minimum": 1
                    }
                }],
            },
        ]

        self.originalWaveform = numpy.array([])
        self.smoothedWaveform = numpy.array([])
        self.firstFilteredCoef = 0
        self.numberOfSamples = 100

        self.editor = None
コード例 #2
0
 def __init__(self):
     FaceData.__init__(self)
     self.properties = [
         {
             "concentration": 0.0,
             "attributes": {
                 "suffix": u" mol/mm\u00B3"
             }
         },
     ]
コード例 #3
0
 def __init__(self):
     FaceData.__init__(self)
     self.properties = [
         {
             "value": 0.0,
             "attributes": {
                 #superscript four
                 "suffix": u" mol/mm\u2074"
             }
         },
     ]
コード例 #4
0
 def __init__(self):
     FaceData.__init__(self)
     self.properties = [
         {
             "Initial pressure": 13332.0,
             "attributes": {
                 "minimum": 0.0,
                 "suffix": u" g/(mm\u00B7s\u00B2)"
             }
         },
     ]
コード例 #5
0
 def __init__(self):
     FaceData.__init__(self)
     self.properties = [
         {
             "value": 0.0,
             "attributes": 
             {
                 #\u00B3 is Superscript three
                 "suffix": u" mol/mm\u00B3"
             }
         },
     ]
コード例 #6
0
    def __init__(self):
        FaceData.__init__(self)
        self.properties = [
            # Add properties here
            {
                "Heart model": False,
            }
        ]

        self.editor = None
        self.netlistSurfacesDatFileName = ''
        self.netlistSurfacesDat = ''
        self.circuitDynamicAdjustmentFiles = {}
        self.circuitAdditionalDataFiles = {}
        self.circuitDescriptionFileRemover = None
コード例 #7
0
ファイル: RCR.py プロジェクト: carthurs/CRIMSONPythonModules
 def __init__(self):
     FaceData.__init__(self)
     resistancePropertyAttributes = {
         "suffix": u" g/(mm\u2074\u00B7s)",
         "minimum": 0.0
     }
     capacitancePropertyAttributes = {
         "suffix": u" mm\u2074\u00B7s\u00B2/g",
         "minimum": 0.0
     }
     self.properties = [{
         "Proximal resistance": 100.0,
         "attributes": resistancePropertyAttributes
     }, {
         "Capacitance": 1e-5,
         "attributes": capacitancePropertyAttributes
     }, {
         "Distal resistance": 1000.0,
         "attributes": resistancePropertyAttributes
     }]
コード例 #8
0
 def __init__(self):
     FaceData.__init__(self)
コード例 #9
0
ファイル: RAD.py プロジェクト: Nasrollah/CRIMSONPythonModules
    def __init__(self):
        FaceData.__init__(self)

        self.RADNodeUID = None
        self.RADData = None
コード例 #10
0
 def __init__(self):
     FaceData.__init__(self)
     self.properties = [
         # Add properties here
     ]
コード例 #11
0
    def __init__(self):
        FaceData.__init__(self)

        self.pcmriNodeUID=None
        self.pcmriData=None
コード例 #12
0
 def __init__(self):
     FaceData.__init__(self)
     self.properties = [
         {
             "Vessel wall properties": [
                 {
                     "Density": 0.001,
                     "attributes": {
                         "suffix": u" g/mm\u00B3",
                         "minimum": 0.0
                     }
                 },
                 {
                     "Thickness": 1.0,
                     "attributes": {
                         "suffix": u" mm",
                         "minimum": 0.0
                     }
                 },
                 {
                     "Young's modulus": 4661000.0,
                     "attributes": {
                         "suffix": u" g/(mm\u00B7s\u00B2)",
                         "minimum": 0.0
                     }
                 },
                 {
                     "Poisson ratio": 0.5,
                     "attributes": {
                         "minimum": -1.0,
                         "maximum": 0.5
                     }
                 },
                 # Shear constant, unitless, never changes as per CAFA thesis p. 79
                 #{
                 #    "Shear constant": 0.833333,
                 #    "attributes": {"suffix": u" g/(mm\u00B7s\u00B2)", "minimum": 0.0}
                 #},
             ]
         },
         {
             "Tissue support properties": [
                 {
                     "Enable tissue support term": True,
                 },
                 {
                     "Stiffness coefficient": 40.0,
                 },
                 {
                     "Damping properties": [
                         {
                             "Enable damping term": True,
                         },
                         {
                             "Damping coefficient": 100.0,
                         },
                     ]
                 },
                 #{
                 #    "State filtering properties": [
                 #        {
                 #            "Enable state filter term": False,
                 #        },
                 #        {
                 #            "State filter coefficient": 0.0,
                 #        },
                 #    ]
                 #},
             ]
         },
     ]
コード例 #13
0
    def __init__(self):
        FaceData.__init__(self)

        self.materialDatas = []
        self.editor = None