How to use the acquisition.tomviz.acquisition.vendors.fei.mock.TemScripting.Microscope function in Acquisition

To help you get started, we’ve selected a few Acquisition examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OpenChemistry / tomviz / acquisition / tomviz / acquisition / vendors / fei / __init__.py View on Github external
def connect(self, **params):
        self._microscope = TemScripting.Microscope()
        self._microscope.Connect()

        self._acq = self._microscope.m_temScripting.Acquisition
        self._proj = self._microscope.m_temScripting.Projection
        self._ill = self._microscope.m_temScripting.Illumination
        self._detector = self._acq.Detectors[0]
        self._microscope.m_temScripting.Acquisition.AddAcqDevice(self._detector)
        self._connected = True