Difference between revisions of "Table"

From Dynamo
Jump to: navigation, search
Line 2: Line 2:
  
 
Tables are the basical metadata system in Dynamo. They are just matrices that describe the properties of sets of particles. The property coded on each column is fixed.
 
Tables are the basical metadata system in Dynamo. They are just matrices that describe the properties of sets of particles. The property coded on each column is fixed.
 +
 +
A table can be seen as the metadata of a data folder
 +
 +
 +
As they are matrices, Matlab tools (like <tt>find<\tt>,<tt>plot<\tt>,<tt>hist<\tt>) are easily customizable to explore and visualize the contents of a table. Additionally, ''Dynamo'' includes many specific utilities.
 
<tt>dapropos table</tt> will give you a list of basic commands that you can use for table manipulation.
 
<tt>dapropos table</tt> will give you a list of basic commands that you can use for table manipulation.
 +
 +
 +
  
 
==Format convention in a table==
 
==Format convention in a table==
Line 18: Line 26:
 
==Visualization of tables==
 
==Visualization of tables==
  
=== <tt>dinfo </tt>===
+
=== Basic info <tt>dinfo </tt>===
  
=== <tt>dtplot</tt> ===
+
<tt>dinfo \<table\> <\tt> just plots on screen a summary of the contents of the table on each column.
  
=== dtshow ===
+
=== Command line <tt>dtplot</tt> ===
 +
<tt>dtplot</tt> allows the creation of graphs like: positions of particles in a volume, orientations, distributions of orientations.
 +
One example of use of the command is to check if all the particles in a reference (column = 34) have a similar missing wedge orientation (the tilt angle is coded in column 8).
  
=== dtview ===
+
=== Basic plots <tt>dtshow<tt> ===
 +
<tt> dtshow \<table\> <\tt> opens a lightweight GUI that allows quick plotting of the contents of the table, and also a GUI access to all the plotting options of  <tt>dtplot</tt
  
 +
=== Complex plots <tt>dtview<tt> ===
 +
<tt>dtview</tt> is a more complicated browser for table contents.
  
 
==Table manipulation==
 
==Table manipulation==

Revision as of 10:47, 14 March 2016


Tables are the basical metadata system in Dynamo. They are just matrices that describe the properties of sets of particles. The property coded on each column is fixed.

A table can be seen as the metadata of a data folder


As they are matrices, Matlab tools (like find<\tt>,<tt>plot<\tt>,<tt>hist<\tt>) are easily customizable to explore and visualize the contents of a table. Additionally, Dynamo includes many specific utilities. <tt>dapropos table will give you a list of basic commands that you can use for table manipulation.



Format convention in a table

Template:Table Convention

The convention can be consulted each time by the command dthelp


Reading and writing tables

Tables are customarily stored as text files with extension '.tbl'.

Tables can be read and write into the matlab worspace with the standard commands dwrite and dread.

For specially long tables, you can use the extension '.tbl', which will write the files in binary formays

Visualization of tables

Basic info dinfo

dinfo \<table\> <\tt> just plots on screen a summary of the contents of the table on each column.

Command line <tt>dtplot

dtplot allows the creation of graphs like: positions of particles in a volume, orientations, distributions of orientations. One example of use of the command is to check if all the particles in a reference (column = 34) have a similar missing wedge orientation (the tilt angle is coded in column 8).

Basic plots dtshow<tt>

<tt> dtshow \<table\> <\tt> opens a lightweight GUI that allows quick plotting of the contents of the table, and also a GUI access to all the plotting options of <tt>dtplot</tt

Complex plots <tt>dtview<tt>

<tt>dtview is a more complicated browser for table contents.

Table manipulation

Creating tables

Selection of parts of a table

Conversion tools for other software packages