Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Adding a new detector

Adding a new detector

  1. Copy asyncroscopy/detectors/HAADF.py to asyncroscopy/detectors/NEWDET.py and adjust the attributes for that detector’s settings.

  2. Add a device_property in Microscope.py:

    newdet_device_address = device_property(dtype=str, default_value="test/detector/newdet")
  3. Register it in _connect_detector_proxies() - see step 4 in modify_thermo_microscope.md

    "newdet": self.newdet_device_address,
  1. Add acquisition logic:

  1. Add tests/detectors/test_NEWDET.py following test_HAADF.py as a template.