nion-software / nionswift

Nion Swift is open source scientific image processing software integrating hardware control, data acquisition, visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on Windows, Linux, and macOS.
http://nion.com/swift
GNU General Public License v3.0
43 stars 33 forks source link

Don't trigger long-computations recompute until user finishes editing parameters #1084

Open cmeyer opened 4 days ago

cmeyer commented 4 days ago

The user should be able to edit all parameters and then trigger the computation with something like an Ok/Cancel button.

This probably implies that we need to classify computations into real-time or long-running.

There will also be combination situations where a real-time computation (Gaussian) is applied to a sequence/collection, making it into a long-running computation. In this case, it would be helpful to show the real-time computation applied to the element data (the displayed index in the sequence/collection).

### Tasks
- [ ] https://github.com/nion-software/nionswift/issues/304
- [ ] Allow computations to specify whether they are real-time or long-running.
- [ ] Allow partial-real-time display of real-time computations applied to sequences/collections.