Adding a new detector¶
Copy
asyncroscopy/detectors/HAADF.pytoasyncroscopy/detectors/NEWDET.pyand adjust the attributes for that detector’s settings.Add a
device_propertyin Microscope.py:newdet_device_address = device_property(dtype=str, default_value="test/detector/newdet")Register it in
_connect_detector_proxies()- see step 4 in modify_thermo _microscope .md "newdet": self.newdet_device_address,
note : base class
Microscopeat asyncroscopy/Microscope.py is not the right place for this:
Add acquisition logic:
see step 3 in modify
_base _microscope see step 5 in modify
_thermo _microscope
Add
tests/detectors/test_NEWDET.pyfollowingtest_HAADF.pyas a template.