Difference between revisions of "Dcp GUI"

From Dynamo
Jump to navigation Jump to search
Line 10: Line 10:
 
>> dcp
 
>> dcp
 
</code>
 
</code>
 +
 
in Matlab, or correspondingly with  
 
in Matlab, or correspondingly with  
  
Line 16: Line 17:
 
</code>
 
</code>
  
if you are using the standalone version of ''Dynamo''
+
if you are using the standalone version of ''Dynamo''.
  
== Using the dcp GUI ==
+
== Creating a project ==
  
 
The GUI follows the pipeline for designing an [[Alignment project]]. To create a new project, just write the name in the <tt>Project</tt> field.
 
The GUI follows the pipeline for designing an [[Alignment project]]. To create a new project, just write the name in the <tt>Project</tt> field.
 +
  
 
===Enter files ===
 
===Enter files ===
  
The GUI requires entering the different elements in  a required order. If one of the elements is not correctly formatted or not coherent with previously defined option, <tt>dcp</tt> will not allow you entering elements  
+
The GUI requires entering the different elements in  a required order. If one of the elements is not correctly formatted or not coherent with previously defined option, <tt>dcp</tt> will not allow you entering further elements.  Each required element will open a new GUI, with different options for entering the elements or defining them.
 +
 
 +
In those GUIs, the edition fields for entering files and folders are sensitive:
 +
* You can enter regular expressions with an (*). ''Dynamo'' will open a menu with matching files/folders in the current folder.
 +
* You can auxiliary click on a file/folder, and ''Dynamo'' will open a menu of options for visualization of its content.
  
 
==== Data ====
 
==== Data ====

Revision as of 09:24, 17 March 2016


The GUI dcp (for Dynamo Current Project) is the main tool for interactive design of projects.

Using it assumes that a data folder is already available. Other required elements (as template, table, masks) can be previously available and linked to a project, or simply be created during the design of the project using tools indicated by the GUI.

Invoke it with:

>> dcp

in Matlab, or correspondingly with

Dynamo >> dcp

if you are using the standalone version of Dynamo.

Creating a project

The GUI follows the pipeline for designing an Alignment project. To create a new project, just write the name in the Project field.


Enter files

The GUI requires entering the different elements in a required order. If one of the elements is not correctly formatted or not coherent with previously defined option, dcp will not allow you entering further elements. Each required element will open a new GUI, with different options for entering the elements or defining them.

In those GUIs, the edition fields for entering files and folders are sensitive:

  • You can enter regular expressions with an (*). Dynamo will open a menu with matching files/folders in the current folder.
  • You can auxiliary click on a file/folder, and Dynamo will open a menu of options for visualization of its content.

Data

Table

Template

Masks

Remember that the command line offers a number of tools to generate files that can be used as masks: dmask,dmask_combine. Also dmapview (with the hotkeys s, shift+s ) allows the creation of files that can be used as masks. Very fine design of mask by hand drawing is available through dpkvol.montage (activating the menu Mask)


===== Alignment mask =====

The mask editor option will give bring you to a GUI that allows creating masks from a library of geometrical objects.

===== Classification mask =====
Fourier mask on Template

This is a rather advanced feature. In most cases you should just use the default option (i.e. allowing Dynamo to use the fill with ones option).

Smoothing mask

The mask used during resolution computations.

Entering numerical parameters

Entering execution parameters

Executing the project

Visualizing the results

Auxiliary tasks

Invoking the dcp GUI from the command line

Open on existing project

>>dcp myProject

You can use dprojects to check the projects currently available on the current folder.


Create a new project

>>dcp.new('myProject'); This will create in disk the project folder myProject While creating a project from scratch you can directly pass some elements as tables, masks, etc

Copy a project

>>dcp.copy('previousProject','newProject');

Other command line orders for project manipulation

Older commands for project manipulation are still available in Dynamo dvcopy to copy a project dvput to insert parameters inside a project without using any GUI. dvcheck, dvunfold