nion-software / nionswift-usim

STEM microscope simulator
GNU General Public License v3.0
6 stars 13 forks source link

Allow simulator controls/processing plug-ins #17

Open cmeyer opened 4 years ago

cmeyer commented 4 years ago

Allow scripts to add stem simulator controls and provide camera specific code to apply them to the simulated image.

Brow71189 commented 4 years ago

This is already mostly possible, but a bit finicky to use. You can do stem_controller.create_control() and stem_controller.add_contro() to create and add a new control. Linking them to existing controls is really difficult and we should probably provide some methods to make that easier.