Project

General

Profile

Actions

Feature #1194

closed

Parametrization of Matlab algorithms

Added by Nicolas Coudray over 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Leginon GUI
Target version:
-
Start date:
02/23/2011
Due date:
% Done:

0%

Estimated time:
Deliverable:

Description

Hello,

The feature request is about the Matlab node: add the possibility to do a parametrization of the algorithms... it would be convenient to allow the user to modify some parameters (like in the Leginon Hole Finder or JAHC Finder nodes for instance, where parameters like thresholds can be adapted...).

For instance, in our case, we would have a specific Matlab GUI associated with each Matlab file. The GUI would allow the user to change the default parameters which will then be saved into our database. So, just two other "elements" would be needed in the Leginon "set Parameters" GUI: another "link" box to another Matlab file (the appropriate GUI), and a kind of "run" button to launch this GUI (an image is attached to explain the suggestion). I guess when the button "Run GUI" is pressed a "pymat.eval(self.handle, '%s(Session_Id)' % f[:-2])" command would be executed (I guess no output variables are returned to Leginon if they are saved by the Matlab GUI; and the only input parameter which may be needed could be the ID of the current session...).
Interface suggestion

This is just a suggested way to implement it; there are probably better implementations. I hope anyway that such a feature can be added.

Thanks for your help,
Best,
Nicolas C.


Files

Matlab_Interface_Suggestion.png (35.6 KB) Matlab_Interface_Suggestion.png Interface suggestion Nicolas Coudray, 02/23/2011 06:39 AM
2011_02_25-Leginon_GUI_for_Matlab.tar.gz (11.6 KB) 2011_02_25-Leginon_GUI_for_Matlab.tar.gz Nicolas Coudray, 03/08/2011 05:09 AM
Actions

Also available in: Atom PDF