diff --git a/openflexure_microscope/api/static/src/components/tabContentComponents/captureComponents/paneCapture.vue b/openflexure_microscope/api/static/src/components/tabContentComponents/captureComponents/paneCapture.vue index 1db6f96b..2670734b 100644 --- a/openflexure_microscope/api/static/src/components/tabContentComponents/captureComponents/paneCapture.vue +++ b/openflexure_microscope/api/static/src/components/tabContentComponents/captureComponents/paneCapture.vue @@ -244,10 +244,70 @@ + +
  • + Smart Stack +
    +
    + +
    +

    + Smart stacking is an experimental closed-loop Z stack, that checks + the Z stack is centred on the focus. It requires Z stacking to be + enabled above (we recommend 9 images in Z) and you must select + "fast" autofocus. +

    +
    +
    + + +
    +
    + + +
    +
    +
    +
  • + + { this.modalError(error); // Let mixin handle error }); + + axios + .get(this.pluginsUri) // Get a list of plugins + .then(response => { + var plugins = response.data; + var foundExtension = plugins.find( + e => e.title === "org.openflexure.smart-stack" + ); + if (foundExtension) { + // Get plugin action link + this.smartScanUri = foundExtension.links.tile.href; + } + }) + .catch(error => { + this.modalError(error); // Let mixin handle error + }); }, onScanResponse: function() {