On Tue, Dec 31, 2013 at 06:28:22PM +0000, Jérôme Borme wrote:
> I do not say this new initiative is the right way to implement it, but
> it surely would be nice to have a way to keep track of some metadata For
> example WSxM keeps track of the operations performed by appending to the
> titlebar of each window, the name of the processes that were applied to
> the data showed in that window. You get a title like:
> 
> channel_1:flatten:drift_correction:FFT:...
> 
> It's far from perfect (numerical parameters are lost) but the idea is
> useful.

This could be certainly useful.  I would not put the operation sequence
to the title but to some new kind of metainformation (log).

AFAICT it can't be done automagically, without adding explicit support
to each data processing module, because the data flow is not derivable
from outside.  But it can be probably be done so that the amount of code
required in modules to support this is pretty minimal – a couple of
lines per module.  At least if we keep the chain linear and give up on
representation of Arithmetic or Mark With.  And solve the interaction
with undo.

The log can then include also the current module parameters (essentially
a subset of ~/.gwyddion/settings).  I suspect the next request would be
to make these logs replayable though, and this way lies peril.  I can
imagine about three hundred ways it will break if we ever try to
implement it...  Some people took this concept to the extreme and
generally always try to keep input data and to reply the operations (see
e.g. GEGL and non-destructive editing) but this requires a different
approach to, well, pretty much everything.

Regards,

Yeti


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to