Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/datum/analysislist.py   pyHMSA(Download)
# Local modules.
from pyhmsa.fileformat.xmlhandler.datum.datum import _DatumXMLHandler
from pyhmsa.spec.datum.analysislist import AnalysisList0D, AnalysisList1D, AnalysisList2D
 
# Globals and constants variables.
        buffer = np.ravel(buffer)
 
        return AnalysisList2D(analysis_count, u, v, dtype, buffer,
                              conditions=conditions)
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/datum/test_analysislist.py   pyHMSA(Download)
from pyhmsa.fileformat.xmlhandler.datum.analysislist import \
    AnalysisList0DXMLHandler, AnalysisList1DXMLHandler, AnalysisList2DXMLHandler
from pyhmsa.spec.datum.analysislist import AnalysisList0D, AnalysisList1D, AnalysisList2D
 
# Globals and constants variables.
 
        buffer = np.indices((5, 6, 7), np.uint8)
        self.obj = AnalysisList2D(5, 6, 7, np.uint8, buffer)
 
    def testparse(self):

src/p/y/pyHMSA-0.1/pyhmsa/spec/datum/test_analysislist.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.datum.analysislist import \
    AnalysisList0D, AnalysisList1D, AnalysisList2D
from pyhmsa.spec.condition.condition import _Condition
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        self.datum = AnalysisList2D(3, 5, 5)
        self.datum.conditions['Test'] = _Condition()