<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.dynamo-em.org//w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Raffaele+Coray</id>
	<title>Dynamo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.dynamo-em.org//w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Raffaele+Coray"/>
	<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Special:Contributions/Raffaele_Coray"/>
	<updated>2026-11-10T22:13:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5887</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5887"/>
		<updated>2025-12-12T14:28:14Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Time schedule */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2). The &#039;&#039;Dynamo&#039;&#039; part will covered selected parts of the pipeline.&lt;br /&gt;
&lt;br /&gt;
= Installation of Dynamo and Matlab =&lt;br /&gt;
== Dynamo on your own laptop == &lt;br /&gt;
To follow the course in your own laptop, please install &#039;&#039;&#039;[https://drive.google.com/file/d/1x5he7ctkC4BUCNFhfXLk6heggGohELoM/view?usp=drive_link the Dynamo for Matlab version]&#039;&#039;&#039; as explain in [[ Downloads ]] page.&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* &#039;&#039;&#039;The Dynamo Download link is currently down&#039;&#039;&#039;, we will update it later today  (17:00 ECT): prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Amazon machines ==&lt;br /&gt;
&lt;br /&gt;
If you want to follow the course with virtual machines provided by the course, follow this instructions.&lt;br /&gt;
&lt;br /&gt;
=== Entering in the AWS Machine ===&lt;br /&gt;
&lt;br /&gt;
Access the link of your AWS Machine provided by the organizers, that appears in the [https://docs.google.com/spreadsheets/d/15o8IUOSsNjGHxK0Bmi1QBfI9KCCWCpX603R4l_rn6KA/edit?gid=653170857#gid=653170857 Google Sheet]. After introducing your password (also given in the same google sheet), you will have entered in the AWS Machine.&lt;br /&gt;
&lt;br /&gt;
Before accessing, it may be helpful to set the browser zoom  to 50% or less and refresh the website. This will help later to visualize some GUIs in a friendlier way.&lt;br /&gt;
&lt;br /&gt;
=== Activating Dynamo Standalone ===&lt;br /&gt;
&lt;br /&gt;
Once you have accessed the AWS Machine, you need to activate Dynamo Standalone. Open the terminal emulator and type the next command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source /home/student/dynamo-v-1.1.579/dynamo_activate_linux_shipped_MCR.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After some lines asserting the correct addition of several paths and tests, it should appear as the last line: &amp;quot;Dynamo is ready for standalone use in your Linux system&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Initializing Dynamo Standalone ===&lt;br /&gt;
&lt;br /&gt;
For a specific explanation of the Standalone see [https://www.dynamo-em.org//w/index.php?title=Standalone]. &lt;br /&gt;
Once dynamo has been initialized, you can enter in dynamo by typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dynamo &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
You can also type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dynamo x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so dynamo will open a GUI console, instead of using the terminal, nevertheless the first option is strongly reccommended for some Walkthroughs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Solution of some possible minor cons of working in a laptop ====&lt;br /&gt;
&lt;br /&gt;
Working with AWS Machine in the Work Shop may entails some minor cons that you may encounter. Here we present the most common ones so you can solve them quickly.&lt;br /&gt;
&lt;br /&gt;
==== Problem opening a GUI Window ====&lt;br /&gt;
&lt;br /&gt;
If you are working on a small laptop screen, opening a GUI window, for example when typing the &amp;quot;dcp&amp;quot; command to start a project, may make appear it with the header of the window hidden on the top of the screen:&lt;br /&gt;
&lt;br /&gt;
[[File:Problem GUI Window Hidden.png|thumb|center|600px|The open GUI Window appears hidden in the AWS Machine. Pressing Alt+Click will make it possible to move it so it is possible to access to the header of the window.]]&lt;br /&gt;
&lt;br /&gt;
A quick way of solving it is pressing Alt+Click on the window and move it down until the header appears so it is possible to change its size.&lt;br /&gt;
&lt;br /&gt;
==== Problem pressing right click in a MAC laptop with no external mouse ====&lt;br /&gt;
&lt;br /&gt;
For some walkthroughs, like &amp;quot;Walkthrough on GUI based tilt series alignment&amp;quot;, you need to do &#039;&#039;&#039;secondary click&#039;&#039;&#039; on the &amp;quot;View&amp;quot; botton:&lt;br /&gt;
&lt;br /&gt;
[[File:View Button.png|thumb|center|450px|Necessity of right clicking view button]]&lt;br /&gt;
&lt;br /&gt;
In general, this corresponds to doing a &#039;&#039;right click&#039;&#039;, but if you are working on a MAC laptop with no external mouse, just press with two fingers on the trackpad at the same time.&lt;br /&gt;
&lt;br /&gt;
Note that sometimes the GUI does not refresh itself and in this case, doing right click on the &amp;quot;View&amp;quot; botton will not work. To manually refresh the GUI and load all of the previous results into it, you need to do a &#039;&#039;&#039;primary click&#039;&#039;&#039; on the &amp;quot;View&amp;quot; bottom first. After that, you can do &#039;&#039;&#039;right click&#039;&#039;&#039; and you should be able to access the &amp;quot;View&amp;quot; panel as usual.&lt;br /&gt;
&lt;br /&gt;
=== Unzipping some of the data ===&lt;br /&gt;
&lt;br /&gt;
In the amazon machines, the data for the walkthrough on Geometry aware template matching is in a zipped file, so in order to access it, we need to unzip it. To do so, open a terminal and write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; cd  /home/student/data/TemplateMatchingGUI&lt;br /&gt;
&lt;br /&gt;
unzip MCP_walkthrough_data.zip &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}}  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHV}} (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}}&lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || {{Template:DownloadLinkHighResHIV1}} (48Gb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:30|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:30 - 11:00|| [[Starters guide (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
|  SBGrid || 12:30 - 13:00 || SBGrid Consortium presentation (Estrella Giménez)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3 ||14:00 - 14:30  || General modelling&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:30 - 15:00  || [[Walkthrough_on_filament_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model workflow reuse (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:15 || [[Walkthrough_on_vesicle_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:15 - 15:30 || [[Walkthrough_on_membrane_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 15:30 - 16:00 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:00 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The presentation introducing the automatic tilt series alignment, template matching, and principal component analysis walkthroughs can be found [https://docs.google.com/presentation/d/1cf3Me75olaY_hQYKI9NjfpZHmHgr5Wad/edit?usp=drive_link&amp;amp;ouid=117959272098462742941&amp;amp;rtpof=true&amp;amp;sd=true here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Hands-on tutorial: Advanced starters guide ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 15:30 || [[Walkthrough for GUI-based template matching (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 15:30 - 16:00 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:00- 17:00 ||  [[Walkthrough on PCA through the command line (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5886</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5886"/>
		<updated>2025-12-12T14:27:20Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Time schedule */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2). The &#039;&#039;Dynamo&#039;&#039; part will covered selected parts of the pipeline.&lt;br /&gt;
&lt;br /&gt;
= Installation of Dynamo and Matlab =&lt;br /&gt;
== Dynamo on your own laptop == &lt;br /&gt;
To follow the course in your own laptop, please install &#039;&#039;&#039;[https://drive.google.com/file/d/1x5he7ctkC4BUCNFhfXLk6heggGohELoM/view?usp=drive_link the Dynamo for Matlab version]&#039;&#039;&#039; as explain in [[ Downloads ]] page.&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* &#039;&#039;&#039;The Dynamo Download link is currently down&#039;&#039;&#039;, we will update it later today  (17:00 ECT): prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Amazon machines ==&lt;br /&gt;
&lt;br /&gt;
If you want to follow the course with virtual machines provided by the course, follow this instructions.&lt;br /&gt;
&lt;br /&gt;
=== Entering in the AWS Machine ===&lt;br /&gt;
&lt;br /&gt;
Access the link of your AWS Machine provided by the organizers, that appears in the [https://docs.google.com/spreadsheets/d/15o8IUOSsNjGHxK0Bmi1QBfI9KCCWCpX603R4l_rn6KA/edit?gid=653170857#gid=653170857 Google Sheet]. After introducing your password (also given in the same google sheet), you will have entered in the AWS Machine.&lt;br /&gt;
&lt;br /&gt;
Before accessing, it may be helpful to set the browser zoom  to 50% or less and refresh the website. This will help later to visualize some GUIs in a friendlier way.&lt;br /&gt;
&lt;br /&gt;
=== Activating Dynamo Standalone ===&lt;br /&gt;
&lt;br /&gt;
Once you have accessed the AWS Machine, you need to activate Dynamo Standalone. Open the terminal emulator and type the next command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source /home/student/dynamo-v-1.1.579/dynamo_activate_linux_shipped_MCR.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After some lines asserting the correct addition of several paths and tests, it should appear as the last line: &amp;quot;Dynamo is ready for standalone use in your Linux system&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Initializing Dynamo Standalone ===&lt;br /&gt;
&lt;br /&gt;
For a specific explanation of the Standalone see [https://www.dynamo-em.org//w/index.php?title=Standalone]. &lt;br /&gt;
Once dynamo has been initialized, you can enter in dynamo by typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dynamo &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
You can also type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dynamo x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so dynamo will open a GUI console, instead of using the terminal, nevertheless the first option is strongly reccommended for some Walkthroughs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Solution of some possible minor cons of working in a laptop ====&lt;br /&gt;
&lt;br /&gt;
Working with AWS Machine in the Work Shop may entails some minor cons that you may encounter. Here we present the most common ones so you can solve them quickly.&lt;br /&gt;
&lt;br /&gt;
==== Problem opening a GUI Window ====&lt;br /&gt;
&lt;br /&gt;
If you are working on a small laptop screen, opening a GUI window, for example when typing the &amp;quot;dcp&amp;quot; command to start a project, may make appear it with the header of the window hidden on the top of the screen:&lt;br /&gt;
&lt;br /&gt;
[[File:Problem GUI Window Hidden.png|thumb|center|600px|The open GUI Window appears hidden in the AWS Machine. Pressing Alt+Click will make it possible to move it so it is possible to access to the header of the window.]]&lt;br /&gt;
&lt;br /&gt;
A quick way of solving it is pressing Alt+Click on the window and move it down until the header appears so it is possible to change its size.&lt;br /&gt;
&lt;br /&gt;
==== Problem pressing right click in a MAC laptop with no external mouse ====&lt;br /&gt;
&lt;br /&gt;
For some walkthroughs, like &amp;quot;Walkthrough on GUI based tilt series alignment&amp;quot;, you need to do &#039;&#039;&#039;secondary click&#039;&#039;&#039; on the &amp;quot;View&amp;quot; botton:&lt;br /&gt;
&lt;br /&gt;
[[File:View Button.png|thumb|center|450px|Necessity of right clicking view button]]&lt;br /&gt;
&lt;br /&gt;
In general, this corresponds to doing a &#039;&#039;right click&#039;&#039;, but if you are working on a MAC laptop with no external mouse, just press with two fingers on the trackpad at the same time.&lt;br /&gt;
&lt;br /&gt;
Note that sometimes the GUI does not refresh itself and in this case, doing right click on the &amp;quot;View&amp;quot; botton will not work. To manually refresh the GUI and load all of the previous results into it, you need to do a &#039;&#039;&#039;primary click&#039;&#039;&#039; on the &amp;quot;View&amp;quot; bottom first. After that, you can do &#039;&#039;&#039;right click&#039;&#039;&#039; and you should be able to access the &amp;quot;View&amp;quot; panel as usual.&lt;br /&gt;
&lt;br /&gt;
=== Unzipping some of the data ===&lt;br /&gt;
&lt;br /&gt;
In the amazon machines, the data for the walkthrough on Geometry aware template matching is in a zipped file, so in order to access it, we need to unzip it. To do so, open a terminal and write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; cd  /home/student/data/TemplateMatchingGUI&lt;br /&gt;
&lt;br /&gt;
unzip MCP_walkthrough_data.zip &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}}  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHV}} (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}}&lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || {{Template:DownloadLinkHighResHIV1}} (48Gb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:30|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:30 - 11:00|| [[Starters guide (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
|  SBGrid || 12:30 - 13:00 || SBGrid Consortium presentation (Estrella Giménez)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3 ||14:00 - 14:30  || General modelling&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:30 - 15:00  || [[Walkthrough_on_filament_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model workflow reuse (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:15 || [[Walkthrough_on_vesicle_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:15 - 15:30 || [[Walkthrough_on_membrane_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 15:30 - 16:00 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:00 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The introducing presentation for the automatic tilt series alignment, template matching, and principal component analysis can be found [https://docs.google.com/presentation/d/1cf3Me75olaY_hQYKI9NjfpZHmHgr5Wad/edit?usp=drive_link&amp;amp;ouid=117959272098462742941&amp;amp;rtpof=true&amp;amp;sd=true here].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Hands-on tutorial: Advanced starters guide ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 15:30 || [[Walkthrough for GUI-based template matching (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 15:30 - 16:00 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:00- 17:00 ||  [[Walkthrough on PCA through the command line (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5885</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5885"/>
		<updated>2025-12-12T14:27:01Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Time schedule */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2). The &#039;&#039;Dynamo&#039;&#039; part will covered selected parts of the pipeline.&lt;br /&gt;
&lt;br /&gt;
= Installation of Dynamo and Matlab =&lt;br /&gt;
== Dynamo on your own laptop == &lt;br /&gt;
To follow the course in your own laptop, please install &#039;&#039;&#039;[https://drive.google.com/file/d/1x5he7ctkC4BUCNFhfXLk6heggGohELoM/view?usp=drive_link the Dynamo for Matlab version]&#039;&#039;&#039; as explain in [[ Downloads ]] page.&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* &#039;&#039;&#039;The Dynamo Download link is currently down&#039;&#039;&#039;, we will update it later today  (17:00 ECT): prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Amazon machines ==&lt;br /&gt;
&lt;br /&gt;
If you want to follow the course with virtual machines provided by the course, follow this instructions.&lt;br /&gt;
&lt;br /&gt;
=== Entering in the AWS Machine ===&lt;br /&gt;
&lt;br /&gt;
Access the link of your AWS Machine provided by the organizers, that appears in the [https://docs.google.com/spreadsheets/d/15o8IUOSsNjGHxK0Bmi1QBfI9KCCWCpX603R4l_rn6KA/edit?gid=653170857#gid=653170857 Google Sheet]. After introducing your password (also given in the same google sheet), you will have entered in the AWS Machine.&lt;br /&gt;
&lt;br /&gt;
Before accessing, it may be helpful to set the browser zoom  to 50% or less and refresh the website. This will help later to visualize some GUIs in a friendlier way.&lt;br /&gt;
&lt;br /&gt;
=== Activating Dynamo Standalone ===&lt;br /&gt;
&lt;br /&gt;
Once you have accessed the AWS Machine, you need to activate Dynamo Standalone. Open the terminal emulator and type the next command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source /home/student/dynamo-v-1.1.579/dynamo_activate_linux_shipped_MCR.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After some lines asserting the correct addition of several paths and tests, it should appear as the last line: &amp;quot;Dynamo is ready for standalone use in your Linux system&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Initializing Dynamo Standalone ===&lt;br /&gt;
&lt;br /&gt;
For a specific explanation of the Standalone see [https://www.dynamo-em.org//w/index.php?title=Standalone]. &lt;br /&gt;
Once dynamo has been initialized, you can enter in dynamo by typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dynamo &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
You can also type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dynamo x&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so dynamo will open a GUI console, instead of using the terminal, nevertheless the first option is strongly reccommended for some Walkthroughs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Solution of some possible minor cons of working in a laptop ====&lt;br /&gt;
&lt;br /&gt;
Working with AWS Machine in the Work Shop may entails some minor cons that you may encounter. Here we present the most common ones so you can solve them quickly.&lt;br /&gt;
&lt;br /&gt;
==== Problem opening a GUI Window ====&lt;br /&gt;
&lt;br /&gt;
If you are working on a small laptop screen, opening a GUI window, for example when typing the &amp;quot;dcp&amp;quot; command to start a project, may make appear it with the header of the window hidden on the top of the screen:&lt;br /&gt;
&lt;br /&gt;
[[File:Problem GUI Window Hidden.png|thumb|center|600px|The open GUI Window appears hidden in the AWS Machine. Pressing Alt+Click will make it possible to move it so it is possible to access to the header of the window.]]&lt;br /&gt;
&lt;br /&gt;
A quick way of solving it is pressing Alt+Click on the window and move it down until the header appears so it is possible to change its size.&lt;br /&gt;
&lt;br /&gt;
==== Problem pressing right click in a MAC laptop with no external mouse ====&lt;br /&gt;
&lt;br /&gt;
For some walkthroughs, like &amp;quot;Walkthrough on GUI based tilt series alignment&amp;quot;, you need to do &#039;&#039;&#039;secondary click&#039;&#039;&#039; on the &amp;quot;View&amp;quot; botton:&lt;br /&gt;
&lt;br /&gt;
[[File:View Button.png|thumb|center|450px|Necessity of right clicking view button]]&lt;br /&gt;
&lt;br /&gt;
In general, this corresponds to doing a &#039;&#039;right click&#039;&#039;, but if you are working on a MAC laptop with no external mouse, just press with two fingers on the trackpad at the same time.&lt;br /&gt;
&lt;br /&gt;
Note that sometimes the GUI does not refresh itself and in this case, doing right click on the &amp;quot;View&amp;quot; botton will not work. To manually refresh the GUI and load all of the previous results into it, you need to do a &#039;&#039;&#039;primary click&#039;&#039;&#039; on the &amp;quot;View&amp;quot; bottom first. After that, you can do &#039;&#039;&#039;right click&#039;&#039;&#039; and you should be able to access the &amp;quot;View&amp;quot; panel as usual.&lt;br /&gt;
&lt;br /&gt;
=== Unzipping some of the data ===&lt;br /&gt;
&lt;br /&gt;
In the amazon machines, the data for the walkthrough on Geometry aware template matching is in a zipped file, so in order to access it, we need to unzip it. To do so, open a terminal and write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; cd  /home/student/data/TemplateMatchingGUI&lt;br /&gt;
&lt;br /&gt;
unzip MCP_walkthrough_data.zip &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}}  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHV}} (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}}&lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || {{Template:DownloadLinkHighResHIV1}} (48Gb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:30|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:30 - 11:00|| [[Starters guide (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
|  SBGrid || 12:30 - 13:00 || SBGrid Consortium presentation (Estrella Giménez)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3 ||14:00 - 14:30  || General modelling&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:30 - 15:00  || [[Walkthrough_on_filament_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model workflow reuse (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:15 || [[Walkthrough_on_vesicle_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:15 - 15:30 || [[Walkthrough_on_membrane_models (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 15:30 - 16:00 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:00 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The introducing presentation for the automatic tilt series alignment, template matching, and principal component analysis can be found [[https://docs.google.com/presentation/d/1cf3Me75olaY_hQYKI9NjfpZHmHgr5Wad/edit?usp=drive_link&amp;amp;ouid=117959272098462742941&amp;amp;rtpof=true&amp;amp;sd=true here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Hands-on tutorial: Advanced starters guide ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 15:30 || [[Walkthrough for GUI-based template matching (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 15:30 - 16:00 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:00- 17:00 ||  [[Walkthrough on PCA through the command line (I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5713</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5713"/>
		<updated>2025-12-05T10:46:15Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Workshop data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2)&lt;br /&gt;
= Installation of Dynamo and Matlab = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* [https://drive.google.com/file/d/1sme_LuYBxrE3YvPztCb2clopYsT2gArZ/view Download Dynamo in this link] : prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}}  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHV}} (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}}&lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || {{Template:DownloadLinkHighResHIV1}} (48Gb)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:00|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00|| [[Starters guide (Tsinghua Spring School 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 12:30 - 13:00 || General modeling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:00 - 14:30  || [[Walkthrough_on_filament_models | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model worfklow reuse | Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:30 || [[Walkthrough_on_vesicle_models | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:30 - 16:00 || [[Walkthrough_on_membrane_models | Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:30 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (Tsinghua Spring School 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (Tsinghua Spring School 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (Tsinghua Spring School 2025) | Hands-on tutorial: Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (Tsinghua Spring School 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (Tsinghua Spring School 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 16:00 || [[Walkthrough for GUI-based template matching (Tsinghua Spring School 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:30- 17:30 ||  [[Walkthrough on PCA through the command line (Tsinghua Spring School 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5712</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5712"/>
		<updated>2025-12-05T10:45:40Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Workshop data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2)&lt;br /&gt;
= Installation of Dynamo and Matlab = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* [https://drive.google.com/file/d/1sme_LuYBxrE3YvPztCb2clopYsT2gArZ/view Download Dynamo in this link] : prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}}  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHV}} (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}}&lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || SACO link (48Gb) / {{Template:DownloadLinkHighResHIV1}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:00|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00|| [[Starters guide (Tsinghua Spring School 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 12:30 - 13:00 || General modeling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:00 - 14:30  || [[Walkthrough_on_filament_models | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model worfklow reuse | Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:30 || [[Walkthrough_on_vesicle_models | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:30 - 16:00 || [[Walkthrough_on_membrane_models | Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:30 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (Tsinghua Spring School 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (Tsinghua Spring School 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (Tsinghua Spring School 2025) | Hands-on tutorial: Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (Tsinghua Spring School 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (Tsinghua Spring School 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 16:00 || [[Walkthrough for GUI-based template matching (Tsinghua Spring School 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:30- 17:30 ||  [[Walkthrough on PCA through the command line (Tsinghua Spring School 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5711</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5711"/>
		<updated>2025-12-05T10:44:42Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Workshop data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2)&lt;br /&gt;
= Installation of Dynamo and Matlab = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* [https://drive.google.com/file/d/1sme_LuYBxrE3YvPztCb2clopYsT2gArZ/view Download Dynamo in this link] : prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} https://saco.csic.es/s/LAXyQgWnrLNFiym (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} https://saco.csic.es/s/SmymKiHxswSoyoP (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} https://saco.csic.es/s/rWWRdGkYmbntywB (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} https://saco.csic.es/s/9mcg9wAZXqYe9FB (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}} https://saco.csic.es/s/smSJXzxNA2ynw8K  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHV}} https://saco.csic.es/s/wmbDNPi2YcYFjKb (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}} https://saco.csic.es/s/T9EzcQ3qLxz9g4k &lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || SACO link (48Gb) / {{Template:DownloadLinkHighResHIV1}} https://saco.csic.es/s/JN5LGP4BbKSn9F8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:00|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00|| [[Starters guide (Tsinghua Spring School 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 12:30 - 13:00 || General modeling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:00 - 14:30  || [[Walkthrough_on_filament_models | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model worfklow reuse | Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:30 || [[Walkthrough_on_vesicle_models | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:30 - 16:00 || [[Walkthrough_on_membrane_models | Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:30 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (Tsinghua Spring School 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (Tsinghua Spring School 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (Tsinghua Spring School 2025) | Hands-on tutorial: Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (Tsinghua Spring School 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (Tsinghua Spring School 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 16:00 || [[Walkthrough for GUI-based template matching (Tsinghua Spring School 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:30- 17:30 ||  [[Walkthrough on PCA through the command line (Tsinghua Spring School 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5710</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5710"/>
		<updated>2025-12-05T10:43:58Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Workshop data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2)&lt;br /&gt;
= Installation of Dynamo and Matlab = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Computing resources = &lt;br /&gt;
&lt;br /&gt;
== Laptops ==&lt;br /&gt;
Participants can use their own laptops to complete the Dynamo part of the course. For this, participants need to have and active &#039;&#039;&#039;Matlab installation&#039;&#039;&#039; and an Dynamo installation.&lt;br /&gt;
* For Matlab, we advise the (R2025b version). If you don&#039;t have a license through your home institution, a [https://ch.mathworks.com/campaigns/products/trials.html licence free trial version is available] from the Mathworks company. &lt;br /&gt;
* [https://drive.google.com/file/d/1sme_LuYBxrE3YvPztCb2clopYsT2gArZ/view Download Dynamo in this link] : prior to installation make sure you have a compiler. On Linux you probably have one by default. On Mac, Xcode needs to be installed. On Windows, the recommended option is to install it via Matlab: &lt;br /&gt;
&lt;br /&gt;
https://es.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html &lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is delivered as a single .tar file. To install it, move the file to the location where you want to install &#039;&#039;Dynamo&#039;&#039;, then open a Matlab session and type after the Matlab prompt:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;  &amp;gt;&amp;gt; tar -xvf dynamo_temp_1.1.579.tar &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to untar the installation file. &#039;&#039;Dynamo&#039;&#039; will be installed in the folder that contained the .tar. If we call this folder &amp;lt;DYNAMO_ROOT&amp;gt;, you can activate &#039;&#039;Dynamo&#039;&#039; in your MATLAB session by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when you are in that folder, or with &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; &amp;gt;&amp;gt; run &amp;lt;DYNAMO_ROOT&amp;gt;/dynamo_activate.m &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you are in some other folder. Wait while some packages are compiled. Activate it again.&lt;br /&gt;
&lt;br /&gt;
== Workshop data ==&lt;br /&gt;
&lt;br /&gt;
The data that will be used during the workshop can be downloaded through the SACO server of CSIC. In detail, the data for the respective modules is as follows (for a total of about 61 Gb ):&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Module and data source&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Data source&lt;br /&gt;
|-&lt;br /&gt;
| Starters Guide: subtomogram averaging || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Filaments || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Vesicles || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Models: Surfaces || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching || {{Template:DownloadLinkTemplateMatchingBasic}} https://saco.csic.es/s/LAXyQgWnrLNFiym (750MB)&lt;br /&gt;
|-&lt;br /&gt;
| Template Matching (GUI) || {{Template:DownloadLinkTemplateMCP}} https://saco.csic.es/s/SmymKiHxswSoyoP (7.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Alignment of tilt series || {{Template:DownloadLinkAWFHIV1TS}} https://saco.csic.es/s/rWWRdGkYmbntywB (600MB)&lt;br /&gt;
|-&lt;br /&gt;
| Virus like particles ||  {{Template:DownloadLinkVLPs}} https://saco.csic.es/s/9mcg9wAZXqYe9FB (4.6GB)&lt;br /&gt;
|-&lt;br /&gt;
| Spherical geometries || {{Template:DownloadLinkBasicHIVTomo}} https://saco.csic.es/s/smSJXzxNA2ynw8K  (64 MB)&lt;br /&gt;
|-&lt;br /&gt;
| Principal Component Analysis || Data generated locally by Dynamo&lt;br /&gt;
|-&lt;br /&gt;
| Complete walkthrough on FHV virus || {{Template:DownloadLinkFHVDrive}} https://saco.csic.es/s/wmbDNPi2YcYFjKb (2GB)&lt;br /&gt;
|-&lt;br /&gt;
| Walkthrough on hexagonal lattice coherence through neighborhood analysis || {{Template:DownloadLinkNeighborhoodData}} https://saco.csic.es/s/T9EzcQ3qLxz9g4k &lt;br /&gt;
|-&lt;br /&gt;
| High-resolution HIV1 || SACO link (48Gb) / {{Template:DownloadLinkHighResHIV1}} https://saco.csic.es/s/JN5LGP4BbKSn9F8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:00|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00|| [[Starters guide (Tsinghua Spring School 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 11:30 - 12:30||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 12:30 - 13:00 || General modeling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:00 - 14:30  || [[Walkthrough_on_filament_models | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model worfklow reuse | Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:30 || [[Walkthrough_on_vesicle_models | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:30 - 16:00 || [[Walkthrough_on_membrane_models | Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:30 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (Tsinghua Spring School 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (Tsinghua Spring School 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (Tsinghua Spring School 2025) | Hands-on tutorial: Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (Tsinghua Spring School 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (Tsinghua Spring School 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 16:00 || [[Walkthrough for GUI-based template matching (Tsinghua Spring School 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:30- 17:30 ||  [[Walkthrough on PCA through the command line (Tsinghua Spring School 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1&amp;diff=5709</id>
		<title>Template:DownloadLinkHighResHIV1</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1&amp;diff=5709"/>
		<updated>2025-12-05T10:43:46Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: Created page with &amp;quot;https://saco.csic.es/s/JN5LGP4BbKSn9F8&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/JN5LGP4BbKSn9F8&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1scripts&amp;diff=5708</id>
		<title>Template:DownloadLinkHighResHIV1scripts</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1scripts&amp;diff=5708"/>
		<updated>2025-12-05T08:45:53Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/cXWHg4ztwr4BSXA&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1lightData&amp;diff=5707</id>
		<title>Template:DownloadLinkHighResHIV1lightData</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1lightData&amp;diff=5707"/>
		<updated>2025-12-05T08:45:13Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/goZyTF3T9FNajBi&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1presentation&amp;diff=5701</id>
		<title>Template:DownloadLinkHighResHIV1presentation</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkHighResHIV1presentation&amp;diff=5701"/>
		<updated>2025-12-04T16:01:09Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/Jr9WAWK528xqKgJ&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkTemplateMCP&amp;diff=5686</id>
		<title>Template:DownloadLinkTemplateMCP</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkTemplateMCP&amp;diff=5686"/>
		<updated>2025-12-03T15:48:02Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/SmymKiHxswSoyoP&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Walkthrough_on_creation_of_3d_scenes&amp;diff=5685</id>
		<title>Walkthrough on creation of 3d scenes</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Walkthrough_on_creation_of_3d_scenes&amp;diff=5685"/>
		<updated>2025-12-03T15:45:40Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* From the Dynamo web */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Walkthroughs]]&lt;br /&gt;
&lt;br /&gt;
This walkthrough shows how to create graphic depictions of tomogram contents. Those include:&lt;br /&gt;
&lt;br /&gt;
* Slices of tomograms.&lt;br /&gt;
* Proteins located in the tomogram, with the orientations provided during the alignment.&lt;br /&gt;
* Geometrical objects (as membranes represented by triangulations).&lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dAntialiasing.png |thumb|center| 600px| Goal of the tutorial. An antialiasing filter has been used.]]&lt;br /&gt;
&lt;br /&gt;
== The data set ==&lt;br /&gt;
&lt;br /&gt;
This walkthrough works with the data set from the [[advanced starters guide]].  The goal is to depict:&lt;br /&gt;
* One slice of the tomogram in 3D. &amp;lt;br /&amp;gt;This requires a tomogram file.&lt;br /&gt;
* The viruses placed an oriented along the directions found during a previous computed average.&amp;lt;br /&amp;gt; This requires a &#039;&#039;template&#039;&#039; represe.&lt;br /&gt;
* A sketch of the membrane &amp;lt;br /&amp;gt; This requires a &#039;&#039;model&#039;&#039; object.  &lt;br /&gt;
&lt;br /&gt;
=== From the &#039;&#039;Dynamo&#039;&#039; web ===&lt;br /&gt;
&lt;br /&gt;
The tomogram can get fetched through:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!--&amp;lt;tt&amp;gt;wget  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/crop.rec &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget  {{Template:DownloadLinkFHVDrive}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a linux shell, or through: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;curl -O  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/crop.rec &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;curl -O  {{Template:DownloadLinkFHVDrive}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
under MacOS.&lt;br /&gt;
&lt;br /&gt;
The table, template and membrane model can be fetched similarly with names &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;!--&amp;lt;nowiki&amp;gt;https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/alignmentLocalRefinement.tbl&lt;br /&gt;
https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/averagedLocalRefinement.em&lt;br /&gt;
https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/membraneModel.omd&amp;lt;/nowiki&amp;gt;--&amp;gt;&lt;br /&gt;
{{Template:DownloadLinkFHValignmentLocalRefinement}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Template:DownloadLinkFHVaveragedLocalRefinement}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{Template:DownloadLinkFHVmembraneModel}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== From your previous work ===&lt;br /&gt;
&lt;br /&gt;
Assuming you have done the  [[advanced starters guide| tutorial on the FHV]] data set, you can use the elements that you have already computed. Just extract them from the best project that you completed. Do not use a subboxing project: we want to get a template for the full crown. Examples below are given assuming that your best project was named &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt;, substitute if not.&lt;br /&gt;
&lt;br /&gt;
==== Table ====&lt;br /&gt;
&lt;br /&gt;
Recover the last computed refined table in the data base of your project&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb localized:rt -r t&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and write it to a file&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(t,&#039;alignmentLocalRefinement.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Template ====&lt;br /&gt;
&lt;br /&gt;
Fetch the last computed average &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb localizedFullAngle:a -r a&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
assuming &amp;lt;tt&amp;gt; localizedFullAngle:a&amp;lt;/tt&amp;gt; is the name of your last project.&lt;br /&gt;
&lt;br /&gt;
and write it into disk&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dwrite(a,&#039;averagedLocalRefinement.em&#039;); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Membrane model ====&lt;br /&gt;
If you [[created manually a membrane model]], it should be inside your catalogue with the name &amp;lt;tt&amp;gt;mySurface&amp;lt;/tt&amp;gt; (or any other you put). You can check inside the catalogue &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcmodels fhv -nc mySurf&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;tt&amp;gt;-nc mySurf&amp;lt;/tt&amp;gt; will look for models with the string &amp;quot;mySurf&amp;quot; in the name. You should get a reply as:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Volume 1. Matching models: 1 (total: 1)&lt;br /&gt;
/Users/casdanie/dynamo/examples/fhvParis/fhv/tomograms/volume_1/models/mySurface.omd&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So you can read the model into a new variable (arbitrarily called &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;m = dread(&#039;Users/casdanie/dynamo/examples/fhvParis/fhv/tomograms/volume_1/models/mySurface.omd&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and write it to disk:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(m,&#039;membraneModel.omd&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Depicting a slice of a tomogram ==&lt;br /&gt;
&lt;br /&gt;
The easiest way is to just use the &amp;lt;tt&amp;gt;dynamo_slice3d&amp;lt;/tt&amp;gt; command, which has a simple syntax. For instance,&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;o = dslice3d(volume,&#039;r&#039;,[40,50,67],&#039;normal&#039;,&#039;y&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will create a slice orthogonal to the &#039;y&#039; direction that cuts the point [40,50,67], and that by definition will have the full extent of the tomogram. This command is  a wrapper around the class &amp;lt;tt&amp;gt;dpktomo.volume.slices.Slice&amp;lt;/tt&amp;gt;. The rest of this section explains how to use objects of this class to get a detailed level of control of the depictede slice.&lt;br /&gt;
&lt;br /&gt;
=== The slice object ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;s = dpktomo.volume.slices.Slice(); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;tt&amp;gt;s&amp;lt;/tt&amp;gt; is just an object that will read data from a tomogram file to be defined, along with geometrical parameters as &amp;lt;tt&amp;gt;center&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;eulers&amp;lt;/tt&amp;gt; (orientation), &amp;lt;tt&amp;gt;l&amp;lt;/tt&amp;gt;, (sidelength)...&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;s.source = &#039;crop.rec&#039;;&lt;br /&gt;
s.center = &#039;center&#039;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, we set the center of the slice. We can pass a &amp;lt;tt&amp;gt;[x,y,z]&amp;lt;/tt&amp;gt; triplet (like &amp;lt;tt&amp;gt;[256,200,100]&amp;lt;/tt&amp;gt;, or just use the code &amp;lt;tt&amp;gt;&#039;center&#039;&amp;lt;/tt&amp;gt; to put the center of the slice in the center of the tomogram. Now, we indicate the horizontal and vertical lengths of the slice (in pixels):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;s.l = [1000,1000];&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The actual extent of the slice will get cut if the &amp;lt;tt&amp;gt;l&amp;lt;/tt&amp;gt; that we use is bigger than the size of the tomogram.&lt;br /&gt;
&lt;br /&gt;
The orientation of the slice can be computed through a combination of euler angles &amp;lt;tt&amp;gt;[tdrort, tilt, narot]&amp;lt;/tt&amp;gt;, or simply with strings &amp;lt;tt&amp;gt;&#039;x&#039;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&#039;y&#039;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&#039;z&#039;&amp;lt;/tt&amp;gt; for orthogonal directions.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;s.eulers =  &#039;z&#039;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also input euler triplets as value for property &amp;lt;tt&amp;gt;eulers&amp;lt;/tt&amp;gt;. Other properties you can fix are &amp;lt;tt&amp;gt;bandpass&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;thickness&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, we actually compute the slice;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;s.fetchData();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will &#039;&#039;&#039;not&#039;&#039;&#039; create any output in the screen. &amp;lt;tt&amp;gt;fetchData&amp;lt;/tt&amp;gt; will just operate the action of visiting the file &amp;lt;tt&amp;gt;crop.rec&amp;lt;/tt&amp;gt; and extracting a numeric matrix that represents the gray intensities of the slice with the indicated parameters. The matrix will be stored inside the &amp;lt;tt&amp;gt;s&amp;lt;/tt&amp;gt; object (as the &amp;lt;tt&amp;gt;&#039;data&#039;&amp;lt;/tt&amp;gt; property) and will be accessed by the depicting operations to be executed later.  General help on this class can be found in&lt;br /&gt;
  &amp;lt;tt&amp;gt;help dpktomo.volume.slices.Slice &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The slice depictor object ===&lt;br /&gt;
&lt;br /&gt;
We first create a figure with and empty axis:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;tt&amp;gt;f = figure; haxis = gca();hold on;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;tt&amp;gt;f&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;haxis&amp;lt;/tt&amp;gt; are &#039;&#039;handles&#039;&#039; that will be used later to direct the graphical output to our figure. &lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dEmptyAxis.png |thumb|center| 400px| Empty matlab figure with an empty axis.]]&lt;br /&gt;
 &lt;br /&gt;
Now, we initialize a depiction object associated with the slice &amp;lt;tt&amp;gt;s&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sz = dpktomo.volume.slices.SliceGraphic(s);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that no graphical output has been created yet. We first inform the object &amp;lt;tt&amp;gt;sz&amp;lt;/tt&amp;gt; in which axis it is to be created. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sz.axis.h = haxis;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then create the slice in the available axis.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sz.create();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the figure is below other windows in your system you can rise it through&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;shg; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure(f);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can change the angle of view with the rotation icon or programmatically:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;view([-38,60]);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [[  File:Fhv3dSlice.png |thumb|center| 400px| View of the slice with the viewing perspective ([-38,60]).]]&lt;br /&gt;
&lt;br /&gt;
== Placement of templates ==&lt;br /&gt;
&lt;br /&gt;
Here we will place copies of an FHV crown in the positions and orientations given by a table.  Here, the density map representing the template needs first to be converted into an isosurface, which will be represented by a triangulation.&lt;br /&gt;
&lt;br /&gt;
=== Creating a mask ===&lt;br /&gt;
We first want to crop the available average inside a mask, to get rid of the membrane surrounding the crown. For this we first show the template inside &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dmapview averagedLocalRefinement.em&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dMapviewTemplate.png |thumb|center| 400px| &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt; on template.]]&lt;br /&gt;
&lt;br /&gt;
We can apply  a &#039;c12&#039; symmetrization on the template to get better graphical depiction.&lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dMapviewSym.png |thumb|center| 400px| Rotational symmetrization of a template.]]&lt;br /&gt;
&lt;br /&gt;
Now, we can select the area of interest by moving to the central section &lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dMapviewCentralSlice.png |thumb|center| 400px| Central section in the xz plane.]]&lt;br /&gt;
&lt;br /&gt;
If you click on &amp;lt;tt&amp;gt;shift + S &amp;lt;/tt&amp;gt; you will get a popup window where you can draw an area of interest. &#039;&#039;Dynamo&#039;&#039; will create a revolution solid by rotating the mask that your depict in 2d (on the xz plane) about the z axis. Use the main click to start drawing and the auxiliary click where you are done.&lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dHanddraw.png |thumb|center| 400px| handdrawing GUI created by &amp;lt;tt&amp;gt;shift + C&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
We read the created mask from the file where &#039;&#039;Dynamo&#039;&#039; creates it by default &lt;br /&gt;
 &amp;lt;tt&amp;gt; maskRevolution = dynamo_read(&#039;temp_drawn_revolution_mask.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and apply it onto our template. We apply the 12-fold symmetrization on the same operation.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; template = dread(&#039;averagedLocalRefinement.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; final = dsym(template,&#039;c12&#039;).*maskRevolution;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here the &amp;lt;tt&amp;gt; A .* B &amp;lt;/tt&amp;gt; notation indicates the pixelwise multiplication of two volumes.  We can now write the result into a file &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(final,&#039;placedTemplate.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and visualize the result:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview placedTemplate.em &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dFinalTemplate.png |thumb|center| 600px| Final template, after symmetrization and masking]]&lt;br /&gt;
&lt;br /&gt;
=== Checking the isolevel  in Chimera ===&lt;br /&gt;
&lt;br /&gt;
You can check the appropriate isolevel using Chimera UCSF, assuming it is [[Activation of Chimera UCSF |activated in your session]].&lt;br /&gt;
 &lt;br /&gt;
 [[ File:Fhv3dChimera.png |thumb|center| 600px| Adjust the isolevel with the Volume Viewer option in Chimera]].&lt;br /&gt;
&lt;br /&gt;
=== Creating a &#039;&#039;Dynamo&#039;&#039; triangulation for the template===&lt;br /&gt;
&lt;br /&gt;
Ideally, we would like to export the triangulation created in Chimera into &#039;&#039;Dynamo&#039;&#039; directly (using the &#039;&#039;Export as STL file&#039;&#039; in the &#039;&#039;Export scene&#039;&#039; menu of Chimera). However, you have probably moved and rotated the object in Chimera in  order to visualize it more clearly. Thus, we will just use the isolevel computed by Chimera and recreate the isosurface inside &#039;&#039;Dynamo&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dt = dynamo_isosurface(final,&#039;isolevel&#039;,0.79,&#039;real_isolevel&#039;,true,&#039;-show&#039;,false);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, the output &amp;lt;tt&amp;gt;dt&amp;lt;/tt&amp;gt; is a &#039;&#039;Dynamo&#039;&#039; object that manages isosurfaces. In order to see the isosurface that we just created, we open a new figure:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;f2 = figure();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and use the &amp;lt;tt&amp;gt;trisurf&amp;lt;/tt&amp;gt; command of matlab to open the matlab triangulation contained in the property &amp;lt;tt&amp;gt;tr&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;trisurf(dt.tr);axis equal ;&lt;br /&gt;
&lt;br /&gt;
 [[ File:Fhv3dDynamoTriangulation.png |thumb|center| 400px| Command &amp;lt;tt&amp;gt;trisurf&amp;lt;/tt&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
=== Creating a global triangulation===&lt;br /&gt;
&lt;br /&gt;
we recover our table with locations &#039;&#039;&#039;and&#039;&#039; alignment parameters&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; t = dread(&#039;alignmentLocalRefinement.tbl&#039;); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and create a triangulation object that merges the result of copying, relocating and rotating the isosurface of one template on all positions of the table:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tAll = dpktbl.triangulation.place(t,dt.tr,&#039;rc&#039;,64.5);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, 64.6 indicates the position of the rotation center. Note that this does not create a graphical output. &amp;lt;tt&amp;gt;tAll&amp;lt;/tt&amp;gt; is just a triangulation object, which we can depict in our figure &amp;lt;tt&amp;gt;t&amp;lt;/tt&amp;gt; (where we had depicted the slide of the tomogram).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure(f);&lt;br /&gt;
hTriangulation  = trisurf(tAll);&lt;br /&gt;
shg;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dTrisurf.png | thumb|center| 400px| The raw &amp;lt;tt&amp;gt;hTriangulation&amp;lt;/tt&amp;gt; object.]]&lt;br /&gt;
&lt;br /&gt;
The created figure looks rather disappointing: we have to adjust the default matlab settings for representation of triangulations. First we ask for depicting only the faces, not the edges:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;hTriangulation.FaceColor= &#039;c&#039;;&lt;br /&gt;
hTriangulation.LineStyle = &#039;none&#039;;&lt;br /&gt;
shg;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dTrisurfNoEdges.png |thumb|center| 400px|  &amp;lt;tt&amp;gt;hTriangulation&amp;lt;/tt&amp;gt; object after eliminating the depiction of the edges]]&lt;br /&gt;
&lt;br /&gt;
The object is indeed cyan, but we don&#039;t see any details, as we haven&#039;t defined any shading:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;axis equal;&lt;br /&gt;
f.Name = &#039;Simple trisurf scene&#039;;&lt;br /&gt;
% just m the exploration&lt;br /&gt;
mbgraph.cursors.setMouse3d([]);&lt;br /&gt;
shg&lt;br /&gt;
shading(haxis,&#039;faceted&#039;);&lt;br /&gt;
l = lightangle(-45,30);&lt;br /&gt;
shg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dTrisurfLighting.png|thumb|center| 400px|  addition of a light source]]&lt;br /&gt;
&lt;br /&gt;
Now we see details, but they are overall defined  in a grey scale. We need to simulate in Matlab the coexistence of two colormaps in a figure (a feature missing in the native software).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ocm = dynamo_colormap();&lt;br /&gt;
shg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dTrisurfColormap.png |thumb|center| 400px|  After using &amp;lt;tt&amp;gt;dynamo_colormap&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Now we repaint the triangulation to cyan.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;hTriangulation.FaceColor= &#039;c&#039;; &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:Fhv3dTrisurfColormapCyan.png |thumb|center| 400px|  Using a single color for the whole triangulation]]&lt;br /&gt;
&lt;br /&gt;
=== Moving the slice ===&lt;br /&gt;
&lt;br /&gt;
If you want to change an existing slice on an already created scene, you need to change some settings.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;s.refresher.dataUpdatesAfterGeometryChanges();&lt;br /&gt;
sz.surface.autoUpdate();&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After them, any change in &amp;lt;tt&amp;gt;thickness&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;band&amp;lt;/tt&amp;gt;,&amp;lt;tt&amp;gt;center&amp;lt;/tt&amp;gt;,&amp;lt;tt&amp;gt;l&amp;lt;/tt&amp;gt;,&amp;lt;tt&amp;gt;eulers&amp;lt;/tt&amp;gt; will automatically refresh the appearance of the slice, For instance you can shift it upwards through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;s.shift([0,0,100]]);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is equivalent to &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;s.center = s.center+[0,0,100];&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dShifted.png |thumb|center| 500px|  Shifted slice]]&lt;br /&gt;
&lt;br /&gt;
== Adding a membrane triangulation ==&lt;br /&gt;
&lt;br /&gt;
We make sure that we send the graphical output to the correct figure, using the handle we defined previously:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;axis(haxis);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We recover our membrane model:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;m = dread(&#039;membraneModel.omd&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and extract the triangulation hidden inside it (&amp;lt;tt&amp;gt;mesh.tr&amp;lt;/tt&amp;gt; property)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;hMem =trisurf(m.mesh.tr);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We may want to adjust the appearance a little, for instance the transparence:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;hMem.FaceAlpha = 0.3;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:Fhv3dFinal.png |thumb|center| 500px|  Shifted slice]]&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkVLPs&amp;diff=5684</id>
		<title>Template:DownloadLinkVLPs</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkVLPs&amp;diff=5684"/>
		<updated>2025-12-03T15:42:33Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/9mcg9wAZXqYe9FB&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkTemplateMatchingBasic&amp;diff=5683</id>
		<title>Template:DownloadLinkTemplateMatchingBasic</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkTemplateMatchingBasic&amp;diff=5683"/>
		<updated>2025-12-03T15:41:59Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/LAXyQgWnrLNFiym&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkNeighborhoodData&amp;diff=5682</id>
		<title>Template:DownloadLinkNeighborhoodData</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkNeighborhoodData&amp;diff=5682"/>
		<updated>2025-12-03T15:40:44Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/T9EzcQ3qLxz9g4k&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHVmembraneModel&amp;diff=5681</id>
		<title>Template:DownloadLinkFHVmembraneModel</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHVmembraneModel&amp;diff=5681"/>
		<updated>2025-12-03T15:39:11Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/wmbDNPi2YcYFjKb/download?path=%2FDownloadLinkFHVmembraneModel&amp;amp;files=membraneModel.omd&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHVaveragedLocalRefinement&amp;diff=5680</id>
		<title>Template:DownloadLinkFHVaveragedLocalRefinement</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHVaveragedLocalRefinement&amp;diff=5680"/>
		<updated>2025-12-03T15:38:53Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/wmbDNPi2YcYFjKb/download?path=%2FDownloadLinkFHVaveragedLocalRefinement&amp;amp;files=averagedLocalRefinement.em&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHValignmentLocalRefinement&amp;diff=5679</id>
		<title>Template:DownloadLinkFHValignmentLocalRefinement</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHValignmentLocalRefinement&amp;diff=5679"/>
		<updated>2025-12-03T15:38:34Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/wmbDNPi2YcYFjKb/download?path=%2FDownloadLinkFHValignmentLocalRefinement&amp;amp;files=alignmentLocalRefinement.tbl&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Advanced_starters_guide&amp;diff=5678</id>
		<title>Advanced starters guide</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Advanced_starters_guide&amp;diff=5678"/>
		<updated>2025-12-03T15:37:04Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Downloading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Walkthroughs]]&lt;br /&gt;
&lt;br /&gt;
This walkthrough uses a small size example based on a real tomogram to cover several tasks.&lt;br /&gt;
&lt;br /&gt;
== The example data set ==&lt;br /&gt;
&lt;br /&gt;
The data is a fraction of a tomogram.  The full tomogram was used in &amp;quot;Cryo-electron tomography reveals novel features of a viral RNA replication compartment.&amp;quot;  (Ertel et al.), and represents several FHV viruses docked in the outer membrane of a mitochondrion.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvDefinitionCrown.png|thumb|center|500px| Average for several hundreds of particles. The &amp;quot;crown&amp;quot; area is shown under a red shadow.]]&lt;br /&gt;
&lt;br /&gt;
== Downloading ==&lt;br /&gt;
&lt;br /&gt;
During the Dynamo workshop you will find the needed tilt series in your data folder. Outside the workshop, you can download the file from &amp;lt;!--[https://drive.google.com/file/d/1YM_g7uggoeaKs5ps4Sn_SKIK-bg5ET8a/view?usp=drive_link this google drive]--&amp;gt;[{{Template:DownloadLinkFHV}} this google drive]&lt;br /&gt;
&lt;br /&gt;
If it fails under Matlab or the &#039;&#039;Dynamo&#039;&#039; command line, you can try to directly use the linux order&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;wget  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/crop.rec &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget  {{Template:DownloadLinkFHVDrive}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;curl -O  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/crop.rec &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;curl -O  {{Template:DownloadLinkFHVDrive}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
under MacOS. This should have created the file called &amp;lt;tt&amp;gt;crop.rec&amp;lt;/tt&amp;gt; in your current directory. &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The link is {{DownloadLinkFHV}}.&lt;br /&gt;
&lt;br /&gt;
===Size check of a file===&lt;br /&gt;
&lt;br /&gt;
You&#039;re probably curious to see what&#039;s inside, so that let&#039;s write first:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dfile crop.rec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to let &#039;&#039;Dynamo&#039;&#039; check the dimensions of the file. The header of a &amp;lt;tt&amp;gt;.rec&amp;lt;/tt&amp;gt; file is readed as a regular &amp;lt;tt&amp;gt;mrc&amp;lt;/tt&amp;gt;, yielding:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;filetype: volume&lt;br /&gt;
 size: 1285 x 956 x 786&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, it&#039;s a tomogram.&lt;br /&gt;
&lt;br /&gt;
===Lightweight visualization===&lt;br /&gt;
We can inspect quickly its contents with [[Viewing_tomograms#dtmshow | dtmshow]]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmshow -otf crop.rec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hereby, the flag &amp;lt;tt&amp;gt;-otf&amp;lt;/tt&amp;gt; means &amp;quot;on the fly&amp;quot;, telling &amp;lt;tt&amp;gt;dtmshow&amp;lt;/tt&amp;gt; to &#039;&#039;not&#039;&#039; preload the full tomogram, but to access in disk the individual slices that are needed when inspecting a particular area.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvTomoshowOnTheFly.png|thumb|center|500px|Basic controls of &amp;lt;tt&amp;gt;dtmshow&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Go up and down. We want to select the locations were the vesicles intersect the mitochondrion membrane and average them together. For this, we need to &#039;&#039;catalogue&#039;&#039; the tomogram, so that our annotations are stored with a clear relationship with the tomogram.&lt;br /&gt;
&lt;br /&gt;
== Cataloguing the tomogram ==&lt;br /&gt;
&lt;br /&gt;
We can create catalogues just to contain a single tomogram. They are useful to keep track of all annotations, and of the typical transforms (binning, cropping of fractions) that we usually perform on a larged size tomogram of interest. In this case, we can create the catalogue directly from the command line: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dcm -create fhv &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;dcm&amp;lt;/tt&amp;gt; is the short form of &amp;lt;tt&amp;gt;dynamo_catalogue_manager&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt; is just an arbitrary name. The just created catalogue is empty, and we can add our tomogram with:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;tt&amp;gt;dcm -c fhv -at crop.rec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check that the tomogram is in the catalogue by asking &#039;&#039;Dynamo&#039;&#039; to show the contents of the catalogue&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcm -c fhv -l tomograms&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcm -c fhv -l t&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The flag &amp;lt;tt&amp;gt;-l&amp;lt;/tt&amp;gt; asks &#039;&#039;Dynamo&#039;&#039; to list items of a given category of catalogue contents, in this case &amp;lt;tt&amp;gt;tomograms&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Prebinning the tomograms ===&lt;br /&gt;
&lt;br /&gt;
We typically want to [[prebinned tomograms | prebin]] the tomogram, i.e., have a version of |smaller size that is known to the catalogue. This version will be useful in some operations that require a full tomogram in memory, an operation that can consume much memory and need a long time. In this example, this would not be necessary: a tomogram with a sidelength on x and y of ~1000 pixels shouldn&#039;t pose any visualization problem. We do it anyway for the exercise with the command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dynamo_catalogue_bin(&#039;fhv&#039;, 1, &#039;zchunk&#039;, 300); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the parameter &amp;lt;tt&amp;gt;zchunk&amp;lt;/tt&amp;gt; represents the maximum number of z slices that are kept simultaneously in the memory during the binning process. This parameter might be important for larger size tomograms.&lt;br /&gt;
&lt;br /&gt;
=== Operation with GUI===&lt;br /&gt;
&lt;br /&gt;
These steps could have been performed thorough the &amp;lt;tt&amp;gt;dcm&amp;lt;/tt&amp;gt; GUI&lt;br /&gt;
&lt;br /&gt;
== Annotation of particle positions ==&lt;br /&gt;
Now we can open the tomogram through the catalogue:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmslice crop.rec -c fhv  -prebinned 1 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvTomosliceOpen.png|thumb|center|500px|dtmslice opened on the FHV example tomogram&amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Probably you don&#039;t like the initial contrast, change it with the button in the toolbar.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvTomosliceContrast.png|thumb|center|500px|contrast adjustment options inside &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Navigating the tomogram ===&lt;br /&gt;
&lt;br /&gt;
* left click and drag the slice with your mouse to move it up and down&lt;br /&gt;
* this can also be achieved with the controls on the left hand side&lt;br /&gt;
* ctrl + left click and drag will change your viewpoint of the 3d scene&lt;br /&gt;
* shift + left click and drag will move the center of rotation&lt;br /&gt;
* ctrl + mouse wheel up/down will zoom in or out of the scene&lt;br /&gt;
&lt;br /&gt;
Other [[Dtmslice#Viewing controls | axiliary tools]] are the keys x,y,z to change the slice orientation, the number of projected slices (called &amp;quot;thickness&amp;quot; in the GUI controls), the transparency of the slice.&lt;br /&gt;
&lt;br /&gt;
You can reset the scene at any time by hitting the reset button.&lt;br /&gt;
&lt;br /&gt;
You can save slices for viewing later with the s key.&lt;br /&gt;
&lt;br /&gt;
=== Creation of models to contain annotations===&lt;br /&gt;
&lt;br /&gt;
In this example we just want to manually pick some particles. This can be done creating a general or box [[models|model]], which will [[model pool | reside in memory  ]] till we save it into the catalogue. &lt;br /&gt;
&lt;br /&gt;
 [[File:FhvBoxesModel.png|thumb|center|500px|Creating a new model in the scene. Each annotation is represented by a box]]&lt;br /&gt;
&lt;br /&gt;
After creating the model, it will be only model currently active in the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; scene.  You can add new points pressing on [c].  The idea is to mark on the positions where you see the &amp;quot;neck&amp;quot; of a vesicle (what we called &amp;quot;crowns&amp;quot;) in contact with the outer mitochondrial membrane.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvCloseUp.png|thumb|center|500px|Clicking the crowns on screen]]&lt;br /&gt;
&lt;br /&gt;
The last marked point can be deleted by pressing [delete]. An arbitrary point can be deleted by clicking on it with the auxiliary mouse button. This will open a menu that includes the option of deleting the point (through Ctrl+X in Linux or Cmmd+X in Mac).&lt;br /&gt;
&lt;br /&gt;
At this stage you probably want to change the transparence of the depicted slice, so that you can control which objects have been already clicked below the depicted slide.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvSelectedPoints.png|thumb|center|500px|Selection of points. Transparency of slide was set to 0.8]].&lt;br /&gt;
&lt;br /&gt;
When you are done, remember to save the model, using the menu options on active model or simply clicking on the disk icon in tomoslice.&lt;br /&gt;
&lt;br /&gt;
== Cropping particles ==&lt;br /&gt;
&lt;br /&gt;
Now we want to use the positions that we have marked to extract the subtomograms and format them as a [[data folder]]. The first thing we need is an estimation of the sidelength in pixels of each of the subtomograms. In [[dtmslice]] We can use the keys [1] and [2] to define two anchor points that appear as rombohedra. Clicking (with the right button) onto the black dashed that links the will show on screen both coordinates and the distance between them. All distances are reported in pixels of the non-binned tomogram: even if you are using a binned version, &#039;&#039;Dynamo&#039;&#039; keeps track of it.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvMeasureDistance.png|thumb|center|500px|Measuring distances with [1] , [2] and right-click]].&lt;br /&gt;
&lt;br /&gt;
We will thus choose to create a datafolder with a cubic sidelength of 128 pixels (remember that the particles will be cropped in the &#039;&#039;unbinned&#039;&#039; tomogram). This will ensure that the crowns fit comfortably inside the physical box, even if our manual picking imposes an error of several pixels. If you were using, say, a &#039;&#039;thickness&#039;&#039; parameter of 10 pixles in &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;, you have to count with at least this inaccuracy in the location of the particles.&lt;br /&gt;
&lt;br /&gt;
Now, we check that the  catalogued tomogram contains the model that we manually picked before:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;gt;&amp;gt; dcmodels fhv&lt;br /&gt;
Volume 1 contains 1 models in total&lt;br /&gt;
/Users/casdanie//fhv/tomograms/volume_1/models/mboxes.omd&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your system, instead of &amp;lt;tt&amp;gt;/Users/casdanie/&amp;lt;/tt&amp;gt; you will see the path to the  folder where you created the catalogue &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a table ===&lt;br /&gt;
We could just use  the catalogue GUI to extract the particles, be it is also possible to proceed directly  with the command line. We will use the  &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; command, .which requires preparing a [[table]] with the information of the model. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;m = dread(&#039;/Users/casdanie/fhv/tomograms/volume_1/models/mboxes.omd&#039;);&lt;br /&gt;
t = m.grepTable();&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, you read the file into a model object (which we arbitrarily choose to call &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;), and then you use the &amp;lt;tt&amp;gt;grepTable&amp;lt;/tt&amp;gt; method on this object to extract a variable into your workspace. We arbitrarily call it &amp;lt;tt&amp;gt;t&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Note that we can extract models directly from the output of &amp;lt;tt&amp;gt;dcmodels&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dcmodels fhv -i 1 -ws o;&lt;br /&gt;
m = dread(o.files{1});&lt;br /&gt;
t = m.grepTable();&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., we load the answer of &amp;lt;tt&amp;gt;dcmodels&amp;lt;/tt&amp;gt; for volume index &amp;lt;tt&amp;gt;-i 1&amp;lt;/tt&amp;gt; in the output variable &amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt;.  Inside it, there is a field called &amp;lt;tt&amp;gt;&#039;files&#039;&amp;lt;/tt&amp;gt; which contains a [[matlab cell array| cell array]] of files containing models.  Then we read the first entry &amp;lt;tt&amp;gt;o.files{1}&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Whichever way you create the table variable &amp;lt;tt&amp;gt;t&amp;lt;/tt&amp;gt;, it is just a matrix with a row for each particle, and a summary of the information coded inside can be created through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;gt;&amp;gt; dtinfo(t);&lt;br /&gt;
 &lt;br /&gt;
        size                :  22 35 &lt;br /&gt;
        NaNs                :  0&lt;br /&gt;
 &lt;br /&gt;
 COLUMN &lt;br /&gt;
[  2  ] marked for alignment:  22&lt;br /&gt;
[  3  ] included in average :  22&lt;br /&gt;
[ 4-6 ] shifts              :  all zero&lt;br /&gt;
[ 7-9 ] angles              :  all zero&lt;br /&gt;
[  10 ] cross correlation   :  min: 0.00  max: 0.00  mean: 0.00  std: 0.00&lt;br /&gt;
[  13 ] Fourier sampling    :  1 (single tilt around y) &lt;br /&gt;
[  13 ] fsampling types     :  all of the same type &lt;br /&gt;
[14-15] ytilt range         :  min:120.00   max:120.00&lt;br /&gt;
[16-17] xtilt range         :  min:120.00   max:120.00&lt;br /&gt;
[  20 ] linked volumes      :  total 1 (labels: [1])&lt;br /&gt;
[  21 ] regions inside tomograms :  total 1 (labels: [0])&lt;br /&gt;
[  22 ] user-defined classes:  total 1 (labels: [0])&lt;br /&gt;
[  23 ] annotation types    :  total 1 (labels: [0])&lt;br /&gt;
[24-26] spatial locations   :  initialized: 22&lt;br /&gt;
[  24 ]   *  x              :  min: 645.21  max: 1001.92  mean: 799.05  std: 109.44&lt;br /&gt;
[  25 ]   *  y              :  min: 23.78  max: 917.51  mean: 484.07  std: 271.28&lt;br /&gt;
[  26 ]   *  z              :  min: 198.00  max: 563.00  mean: 415.55  std: 114.03&lt;br /&gt;
[  31 ] original tags       :  total 1 (labels: [0])&lt;br /&gt;
[  32 ] compacted particles :  total 1 (labels: [1])&lt;br /&gt;
[  34 ] references          :  total 1 (labels: [0])&lt;br /&gt;
[  35 ] subreferences       :  total 1 (labels: [0])&lt;br /&gt;
[  36 ] apix                :  Warning: column not available in this table&lt;br /&gt;
[  37 ] defocus             :  Warning: column not available in this table&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; ===&lt;br /&gt;
 &lt;br /&gt;
The simplest  syntax of &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; requires passing the name of the tomogram from which we want to crop (syntax varies for [[ Particle extraction#Extract from different tomograms| cropping from multiple tomograms]]). We know that the file is &amp;lt;tt&amp;gt;crop.rec&amp;lt;/tt&amp;gt;, and we could directly insert this name in the command. But a catalogued model already contains information about its source tomogram (inside its property &amp;lt;tt&amp;gt;cvolume&amp;lt;/tt&amp;gt;), so that we can always track it back. We could then define a variable &amp;lt;tt&amp;gt;tomogramFile&amp;lt;/tt&amp;gt; by accessing this information inside the model variable &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tomogramFile = m.cvolume.file();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you get a warning at this stage, don&#039;t worry, the command still worked.&lt;br /&gt;
&lt;br /&gt;
You can then launch the cropping order:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;o = dtcrop(tomogramFile,t,&#039;particlesData&#039;,128);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where you could add the &amp;lt;tt&amp;gt;mw&amp;lt;/tt&amp;gt; flag to let &#039;&#039;Dynamo&#039;&#039; use several cores. In any case, for this number or particles the cropping should take some seconds. The last part of the final output into screen should look like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;21 [read_subtomogram] Volume has size 1285 956 786&lt;br /&gt;
[read_subtomogram] Accessing subvolume x: 713:840; y: 339:466; z: 160:287  totalling ~ 16.0Mb&lt;br /&gt;
Elapsed time is 0.191014 seconds.&lt;br /&gt;
22 &lt;br /&gt;
Total time invested in cropping: 7s&lt;br /&gt;
[table_crop] Done extracting 20 particles&lt;br /&gt;
             from tomogram      :&amp;quot;/Users/casdanie/dynamo/devmac/workplace/paris/crop.rec&amp;quot; &lt;br /&gt;
             destination folder :&amp;quot;particlesData&amp;quot; &lt;br /&gt;
             excluded particles : 2   &lt;br /&gt;
 &lt;br /&gt;
 [ok] table_crop &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
informing you that some of the particles where excluded, as they were probably too close to the boundary of the tomogram, given the sidelength we asked for.  Inside the created data folder,&lt;br /&gt;
you will find the table &amp;lt;tt&amp;gt;particlesData/crop.tbl&amp;lt;/tt&amp;gt;, which only indexes the actually cropped particles.&lt;br /&gt;
&lt;br /&gt;
=== Creating an average ===&lt;br /&gt;
 &lt;br /&gt;
The particles can now be averaged together. They have different orientations, but in this tomogram we only have a fraction of the membrane. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oa = daverage(&#039;particlesData&#039;,&#039;t&#039;,&#039;particlesData/crop.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to let &#039;&#039;Dynamo&#039;&#039; pass maps into Chimera, you have to inform &#039;&#039;Dynamo&#039;&#039;  on the location of Chimera. For instance: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dchimera -setPath  /usr/local/bin/ &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please adapt it to the location of Chimera in your file system.&lt;br /&gt;
&lt;br /&gt;
To open your average in chimera&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt; dchimera(oa.average) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project to find membrane orientations==&lt;br /&gt;
&lt;br /&gt;
We first need to create files with the average and the table that we have till now in memory:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(t,&#039;raw.tbl&#039;);&lt;br /&gt;
dwrite(oa.average,&#039;rawTemplate.em&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can create a project directly thorugh the command line:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcp.new(&#039;first&#039;,&#039;d&#039;,&#039;particlesData&#039;,&#039;template&#039;,&#039;rawTemplate.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;particlesData/crop.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...and go directly to the panel of numerical parameters to create a project adapted for catching the general orientation of the membrane:&lt;br /&gt;
 [[File:FhvFirstParameters.png|thumb|center|500px| Numerical parameters for just membrane orientation]]&lt;br /&gt;
&lt;br /&gt;
Also, remember to visit the window for execution environment, and select the appropriate settings. If you are working with Matlab, select &#039;&#039;Matlab&#039;&#039;(for one single core) or &amp;quot;Matlab_parfor&amp;quot; (if you are going to several cores). If working with the standalone, use the [[standalone]]  option.  In both cases, select the number of cores for alignment (green box in the picture below) and averaging (blue box) .  &lt;br /&gt;
&lt;br /&gt;
 [[File:FhvEnvironment.png|thumb|center|500px| Selecting the execution modus]]&lt;br /&gt;
&lt;br /&gt;
You can operate the project management operations from the GUI or the command line. First checking:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dvcheck first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then unfolding &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dvunfold first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and finally running it by invoking the name of the execution script. If you are running in Matlab use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are running &#039;&#039;Dynamo&#039;&#039; in standalone modus, open a new tab (or window) of the terminal, load Dynamo (but don&#039;t run Dynamo) and type:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;./first.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After running the project, we check the created average:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb first:a -v &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command asks the  database (hence &amp;lt;tt&amp;gt;db&amp;lt;/tt&amp;gt;) of the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt; to look for the item of type &amp;lt;tt&amp;gt;average&amp;lt;/tt&amp;gt;, by default accessing  the last computed one. The flag &amp;lt;tt&amp;gt;-v&amp;lt;/tt&amp;gt; sends the output of the database query to the depiction GUI called &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvFirstAverage.png|thumb|center|500px|First average, no azimuthal rotation was tested. Shown in &amp;lt;tt&amp;gt; dview&amp;lt;/tt&amp;gt; program]]&lt;br /&gt;
&lt;br /&gt;
Apparently, the project finds the membranes and centers the particles correctly.  If you show the volume in Chimera (by clicking in the &#039;&#039;Export&amp;gt;Send to Chimera&#039;&#039; option in the &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt; window ).&lt;br /&gt;
&lt;br /&gt;
[[File:FhvFirstChimera.png|thumb|center|500px|First average, no azimuthal rotation was tested ]]&lt;br /&gt;
&lt;br /&gt;
We can check the individual particles:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddbrowse -d first:data -t first:rt &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvDdbrowseFirstZ.png|thumb|center|700px| ddbrowse explores the aligned particles, each one represented as a projection. ]].&lt;br /&gt;
&lt;br /&gt;
== Aligning  the axis of symmetry ==&lt;br /&gt;
&lt;br /&gt;
We would like to bring the axis of symmetry to the &#039;&#039;z&#039;&#039;direction. This will create an intuitive separation between the two first euler angles that represent &amp;quot;change of orientation of the main axis&amp;quot;, and the third one that represents &amp;quot;azimuthal rotation about the new axis&amp;quot;.  We want that azimuthal rotations occur about an axis of possible symmetry, which by convention is located along z. There are several ways to achieve this. A simple one is to create a model of the membrane/crown geometry, align our average to it (with &amp;lt;tt&amp;gt;dalign&amp;lt;/tt&amp;gt;), and use the alignment parameters to create a new table. With this new table and average we will be able study possible symmetries with a new project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating a template aligned with z ===&lt;br /&gt;
&lt;br /&gt;
Geometrical shapes of many types can be created with &amp;lt;tt&amp;gt;dmask,dsphere,dcylinder,dshell&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;dtube&amp;lt;/tt&amp;gt;, and combined with &amp;lt;tt&amp;gt;dynamo_mask_combine&amp;lt;/tt&amp;gt;. However, there are also some available utilities to create templates representing frequently occurring membraneous geometries:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;mr = dpktomo.examples.motiveTypes.MembraneWithRod();&lt;br /&gt;
mr.sidelength = 128;&lt;br /&gt;
mr.rodRadius = 20; mr.rodShift = [0,0,10]; mr.rodHeight= 20;&lt;br /&gt;
mr.getMask();&lt;br /&gt;
template  = mr.mask;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you can check the list of properties inside the object &amp;lt;tt&amp;gt;mr&amp;lt;/tt&amp;gt; just by typing it without the semicolon and pressing [Return]&lt;br /&gt;
&lt;br /&gt;
We can check the result with:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;mr.viewMask();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvTemplateZ.png|thumb|center|700px| A simple template with rotational symmetry axis aligned along z]]&lt;br /&gt;
&lt;br /&gt;
=== Aligning the previous average along z ===&lt;br /&gt;
The mask is white on black by definition. The tomogram data in this case represents bright protein on dark background, so that in this case we want to align the previously computed average to the mask of the &amp;lt;tt&amp;gt;mr&amp;lt;/tt&amp;gt; object. &lt;br /&gt;
&lt;br /&gt;
The alignment does not need to scan azimuthal rotations, so that our &#039;inplane_range&#039; will be 0. The &#039;cone_range&#039; will be the full sphere, and we take and spacing of 30 degrees. As we are looking for coarse orientations, we can bin the two volumes twice (yielding volumes with a sidelength of 32 pixels). We will also &amp;quot;nail&amp;quot; the new center to the physical center of the box (parameter &amp;lt;tt&amp;gt;limm&amp;lt;/tt&amp;gt; set to 1 below).&lt;br /&gt;
&lt;br /&gt;
Now we read the average computed by the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt; into a workspace variable which we arbitrarily call &amp;lt;tt&amp;gt;previousAverage&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb first:a -r previousAverage;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, the volume &amp;lt;tt&amp;gt;previousAverage&amp;lt;/tt&amp;gt; will be treated as a &amp;quot;particle&amp;quot; to be aligned onto a &#039;&#039;template&#039;&#039;, which in this case is the volume contained in &amp;lt;tt&amp;gt;mr.mask&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sal = dalign(previousAverage,mr.mask,&#039;cr&#039;,360,&#039;cs&#039;,30,&#039;ir&#039;,0,&#039;dim&#039;,32,&#039;limm&#039;,1,&#039;lim&#039;,[10,10,10]); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The flags are the same parameters that would be used in an alignment project. You can check the shorthands with &amp;lt;tt&amp;gt;dvhelp&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The output result &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt; contains many fields. We can, for instance directly visualize how the previous average looks like when transformed through the results of this &amp;lt;tt&amp;gt;dalign&amp;lt;/tt&amp;gt; operation.  For this, use the field &amp;lt;tt&amp;gt;aligned_particle&amp;lt;/tt&amp;gt; in the output &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(sal.aligned_particle);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:ZAlignedAverage.png|thumb|center|700px| A simple template with rotational symmetry axis aligned along z]]&lt;br /&gt;
&lt;br /&gt;
=== Applying the z-alignment to the table ===&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want just to get a z-oriented average: we also want to convert the table yield by the &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt; project into a table that, when applied onto the original data, produces a correct, z-aligned average. For this, we use the alignment parameters coded inside the output &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt;  (as field &amp;lt;tt&amp;gt;.Tp&amp;lt;/tt&amp;gt;) and apply them onto the table.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb first:rt -r tf&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable &amp;lt;tt&amp;gt;tf &amp;lt;/tt&amp;gt; contains now the original table, which is now rotated and shifted according with the rigid body transform &amp;lt;tt&amp;gt;Tp&amp;lt;/tt&amp;gt; inside &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt;&lt;br /&gt;
  &amp;lt;tt&amp;gt;tr =  dynamo_table_rigid(tf,sal.Tp); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now the &#039;&#039;rectified &#039;&#039;table &amp;lt;tt&amp;gt;tr&amp;lt;/tt&amp;gt;   should contain the metadata that makes the particles &amp;quot;point upward&amp;quot;. We use now the typical sanity check to assess that a table behave as expected: we apply it to the particles in its paired [[data folder]] and check the average:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;oz = daverage(&#039;first:data&#039;,&#039;t&#039;,tr,&#039;fc&#039;,1); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
whose results can be checked by:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(oz); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSanityCheckZ.png|thumb|center|700px| Particles aligned with rectified table &amp;lt;tt&amp;gt;tr&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can visualize this operation by plotting a sketch with the orientation of the particles. We first show the results for the table computed in the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure;&lt;br /&gt;
dtplot(&#039;first:rt&#039;,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);&lt;br /&gt;
view(-230,30);axis equal;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSketchFirst.png|thumb|center|400px| sketch of orientations after computation of the the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Here, the &#039;z&#039; orientation computed for each particle is represented by the longest semiaxis. Note that with the original definition of the template, the &#039;z&#039; points -approximately- along the direction of the &#039;z&#039; in the tomogram. If we depict the same plot with the table we just computed:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure;&lt;br /&gt;
dtplot(tr,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);&lt;br /&gt;
view(-230,30);axis equal;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSketchZ.png|thumb|center|400px| sketch of orientations in the rectified table]]&lt;br /&gt;
&lt;br /&gt;
we see that now the &#039;z&#039; axis in each particle is pointing orthogonally(-ish) to the membrane. A different quick check would be to show the projections of the particles along &#039;&#039;y&#039;&#039;. Instead of using the GUI &amp;lt;tt&amp;gt;ddbrowse&amp;lt;/tt&amp;gt;, we can create this depiction with a single command: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices(&#039;particlesData&#039;,&#039;t&#039;,tr,&#039;projy&#039;,&#039;*&#039;,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:fhvOrientedSlicesX.png|thumb|center|400px|  full &#039;&#039;y&#039;&#039;projection of the particles according to the orientations in the rectified table ]]&lt;br /&gt;
&lt;br /&gt;
Lets look at the &#039;&#039;z&#039;&#039;-projection. In this case we project only the central slices around the crown and the aperture in the viral vesicle, chosing thus slices 60 to 70. if project the full particle, we won&#039;t distinguish any features.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices(&#039;particlesData&#039;,&#039;t&#039;,tr,&#039;projz&#039;,60:80,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:fhvOrientedSlicesZ.png|thumb|center|400px|  &#039;&#039;z&#039;&#039;projection of the central slices in the rectified table ]]&lt;br /&gt;
&lt;br /&gt;
The depiction clearly shows the missing wedge of the particles. Incidentally, it also shows that averaging all the particles should produce an average that covers all the orientaions  in the Fourier space.&lt;br /&gt;
&lt;br /&gt;
== Using the membrane to impart an orientation ==&lt;br /&gt;
&lt;br /&gt;
This section describes an &#039;&#039;&#039;alternative&#039;&#039;&#039; method to compute:&lt;br /&gt;
* a rough orientation of the particles, and&lt;br /&gt;
* a rough first template&lt;br /&gt;
&lt;br /&gt;
In this section we will use the membrane of the mithocondrion to assign a roughly orientation to each of the points in the table. This orientation will be defined by the normal of the closest point in the membrane. The membrane will be defined as a a triangulation, to be constructed based on a set of manually picked points.&lt;br /&gt;
&lt;br /&gt;
=== Pick membrane points===&lt;br /&gt;
&lt;br /&gt;
We open our tomogram in &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmslice @{fhv}1 -prebin 1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, if you are working with the [[standalone]] version, please prepend a &amp;quot;\&amp;quot; symbol:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;\dtmslice @{fhv}1 -prebin 1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this variant of the syntax of &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;, the string &amp;lt;tt&amp;gt;@{fhv}1&amp;lt;/tt&amp;gt; just means &amp;quot;tomogram number 1 inside catalogue &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt;.  On the opened scene, we will use a [[Montage viewer for membrane picking | montage ]] to manually click on a set of membrane points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note! (08/06/21) - the montage viewer was recently updated and no longer provides the ability to easily add points, please define your surface model on sequential z-slices in dtmslice directly by annotating points every 20 or so slices.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMontage.png |thumb|center|400px|   Opening a montage view]]&lt;br /&gt;
&lt;br /&gt;
By default, this &amp;lt;tt&amp;gt;montage&amp;lt;/tt&amp;gt; represents slices taken orthogonally to &#039;&#039;z&#039;&#039; every 20 pixels of the unbinned tomogram. This can be changed in the settings &#039;&#039;before&#039;&#039; opening the montage GUI. Now, we can create a model of type &amp;lt;tt&amp;gt;Surface&amp;lt;/tt&amp;gt;, which we will use to store a set of points in the membrane to be picked manually (or semiautomatically). To do this, go to &#039;&#039;Model pool&amp;gt; Create new model in pool (choose type) &amp;gt; surface &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvCreateSurfaceModel.png |thumb|center|400px|  Creating a surface model]]&lt;br /&gt;
&lt;br /&gt;
You need to click on the point switcher (the control in the toolbar with a &#039;&#039;c&#039;&#039; and an &#039;&#039;i&#039;&#039;) to allow entering points. The basic controls are: &lt;br /&gt;
* Mouse click to enter a point. &lt;br /&gt;
* &amp;lt;tt&amp;gt;d&amp;lt;/tt&amp;gt; to delete a point.&lt;br /&gt;
* &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt; to insert a point.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvMontageActiveClick.png |thumb|center|400px|  Point switcher  must be toggle on to pick points into the model]]&lt;br /&gt;
&lt;br /&gt;
Use the &#039;&#039;&amp;gt;&amp;gt;&#039;&#039; button in the bottom of the GUI to go to next set of orthoslices.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvMontageControls.png |thumb|center|400px|   Controls of the montage GUI]]&lt;br /&gt;
&lt;br /&gt;
Note that the points that you click in the Montage GUI are assigned to a model in the pool, and as such, they appear automatically in the dtmslice GUI&lt;br /&gt;
[[ File:FhvTmsliceUpdates.png |thumb|center|600px|   Points clicked in the montage GUI reflect in the &amp;lt;tt&amp;gt;tmslice&amp;lt;/tt&amp;gt; GUI]]&lt;br /&gt;
&lt;br /&gt;
You also need &amp;lt;tt&amp;gt;shift + C &amp;lt;/tt&amp;gt; in order to place a center inside the mithocondrion. This point is just used to tell &#039;&#039;Dynamo&#039;&#039; what is the inside and what is the outside face of the surface that we are building.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSurfaceMarkCenter.png |thumb|center|400px|   &amp;lt;tt&amp;gt;shift + C &amp;lt;/tt&amp;gt; marks an arbitrary interior point]]&lt;br /&gt;
&lt;br /&gt;
==== Automatic detection ====&lt;br /&gt;
&lt;br /&gt;
Once you have clicked points on a level, you can try and check if the automatic tracker can locate them in the next one. To do so, activate the next slice (i.e., secondary click it, so that its frame becomes red), and press &amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt;. You can edit the points with &amp;lt;tt&amp;gt;d&amp;lt;/tt&amp;gt; to delete the closest point, &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt; to move the closest point to the position currently under the cursor, or &amp;lt;tt&amp;gt;l&amp;lt;/tt&amp;gt; to delete all the points detected in the slice... in such a case, you probably want to check the tracking parameters before using &amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt; again!&lt;br /&gt;
&lt;br /&gt;
=== Create a surface ===&lt;br /&gt;
&lt;br /&gt;
Now, we want to convert the points that we have introduced into a triangulation. This is a part of the [[Membrane Models#Workflow description| workflow]] used to crop particles from [[membrane models]], so we open the workflow GUI for this model in the &#039;&#039;Active Model&#039;&#039; menu tab. &lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfaceWorkflowCreate.png |thumb|center|400px|  Invoking the workflow editor of active model ]]&lt;br /&gt;
&lt;br /&gt;
We can first check the points currently contained in the model, by auxiliary clicking on the first viewing option and choosing the &#039;&#039;User points&#039;&#039; option. They will be depicted in a graphic window which will update with the new graphical elements that we depict there.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfacePlotPoints.png|thumb|center|600px|  Showing original points in the model workflow GUI ]]&lt;br /&gt;
&lt;br /&gt;
We first need to create a spline interpolation on each of the levels of our point cloud.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfaceControlPoints.png|thumb|center|600px|  Control points are created by spline interpolation. ]]&lt;br /&gt;
&lt;br /&gt;
Now we define a triangulation on  this control points.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfaceCreateTriangulation.png |thumb|center|600px|  Creating a triangulation on the control points ]]&lt;br /&gt;
&lt;br /&gt;
Which can be subdivided to get a smoother appearance, and also a more accurate representation of the geometry.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSurfaceSubdivisionMinimum.png |thumb|center|400px|  A single round of subdivision smoothens the appearance of the lattice ]]&lt;br /&gt;
&lt;br /&gt;
Then, we can change the name of the model for clarity, and then save it into the catalogue (with the disk icon in &amp;lt;tt&amp;gt;tmslice&amp;lt;/tt&amp;gt; or the &#039;&#039;Save into catalogue&#039;&#039; options under the &#039;&#039;Active model&#039;&#039; menu)&lt;br /&gt;
[[ File:FhvSurfaceSaveModel.png |thumb|center|600px|  Renaming a saving a model into the catalogue ]]&lt;br /&gt;
&lt;br /&gt;
=== Use a surface to impart orientation ===&lt;br /&gt;
&lt;br /&gt;
We bring the model into our workspace. We search for it in the catalogue:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcmodels fhv -nc mySurface -ws output&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will prompt the response &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Volume 1. Matching models: 1 (total: 1)&lt;br /&gt;
/Users/casdanie/dynamo/examples/fhvParis/fhv/tomograms/volume_1/models/mySurface.omd&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now, we can read the model file into our memory space to operate with it:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;m = dread(output.files{1});&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the model &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt; is in our space of memory and can be used to impart an orientation to the points in our table.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tOrientedBySurface = dpktbl.triangulation.fillTable(m,&#039;raw.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this table, orientations are orthogonal to the membrane (or more precisely, orthogonal to the closest triangle in the mesh that represents the membrane)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; figure;dslices(&#039;particlesData&#039;,&#039;t&#039;, tOrientedBySurface,&#039;projy&#039;,&#039;c20&#039;,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSlicesPreflipping.png|thumb|center|400px|   Slices along the xz plane as seen by the table]]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tConsistent = dynamo_table_flip_normals(tOrientedBySurface,&#039;center&#039;,m.center)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check the effect of this table on the particles through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices(&#039;particlesData&#039;,&#039;t&#039;, tConsistent,&#039;projy&#039;,&#039;c20&#039;,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSlicesPostflipping.png |thumb|center|400px|  Slices along the xz plane as seen by the table, after using the center point to establish the interior side of the surface ]]&lt;br /&gt;
&lt;br /&gt;
To get a better graphical impression, we can depict our surface (contained in the model &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;)  with:&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;tt&amp;gt;m.ezplot&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and choose the &amp;lt;tt&amp;gt;Surface&amp;lt;/tt&amp;gt;option&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSurfaceEzplot.png |thumb|center|400px| Easy way to get all defined plots of a model object.  ]]&lt;br /&gt;
&lt;br /&gt;
Then, we just plot the positions of the particles on the same graphical figure:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtplot(tConsistent,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSketchDtplot.png |thumb|center|400px|  &amp;lt;tt&amp;gt;dtplot&amp;lt;/tt&amp;gt; directs its output on the last active figure ]]&lt;br /&gt;
&lt;br /&gt;
==== Management of the missing wedge ====&lt;br /&gt;
&lt;br /&gt;
When we create a table considering only the orientations of the points with relation to a membrane, there is no particular preference for rotations of the particles about the normal direction (i.e., azimuthal directions).  The &amp;lt;tt&amp;gt;narot&amp;lt;/tt&amp;gt; angle in this table is initialized to zero&lt;br /&gt;
&lt;br /&gt;
Thus, take into account that an average created on these particles will have a strong missing wedge, especially in our case, where we have a preferential direction. This can be checked by averaging the particles against this table:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oa=daverage(&#039;particlesData&#039;,&#039;t&#039;, tConsistent,&#039;fc&#039;,1);&amp;lt;/tt&amp;gt;&lt;br /&gt;
Here, we ask (&amp;lt;tt&amp;gt;&#039;fc&#039;,1&amp;lt;/tt&amp;gt;) to run a Fourier compensation step, so that we can check in the output &amp;lt;tt&amp;gt;oa&amp;lt;/tt&amp;gt; the property &amp;lt;tt&amp;gt;fweight&amp;lt;/tt&amp;gt;, which contains the number of times a Fourier component is represented in the average. Bright values mean that the Fourier component is present in many particles (yielding thus an average of better quality for the involved frequencies).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(oa.fweight);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:FhvMembraneMissingWedge.png|thumb|center|400px|   Fourier component presence without azimuthal randomization ]]&lt;br /&gt;
&lt;br /&gt;
We can atenuate this effect by randomizing the rotational angle:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tConsistentRandomized = dynamo_table_randomize_azimuth( tConsistent);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and averaging again.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oaRandomized=daverage(&#039;particlesData&#039;,&#039;t&#039;, tConsistentRandomized,&#039;fc&#039;,1);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, the &amp;lt;tt&amp;gt;fweight&amp;lt;/tt&amp;gt; map doesn&#039;t show such a strongly preferential orientation:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(oaRandomized.fweight);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:FhvMembraneMissingRandomized.png |thumb|center|400px|   Fourier component presence with azimuthal randomization ]]&lt;br /&gt;
&lt;br /&gt;
The effect in direct space can be shown by depicting both averages (with and without randomization side to side)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview({oa.average,oaRandomized.average});&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:FhvMembraneCompareWedges.png |thumb|center|400px| The map on the left shows a worse definition and clear traces of missing Fourier components  ]]&lt;br /&gt;
&lt;br /&gt;
== Project for rotational alignment ==&lt;br /&gt;
&lt;br /&gt;
We have now a template and a coherently defined metadata (i.e. table) that align the particles coarsely along the right direction. We write  them into disk: &lt;br /&gt;
&amp;lt;nowiki&amp;gt;Insert non-formatted text here&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
If you did not create a membrane model, use the results of the alignment project:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(tr,&#039;zOriented.tbl&#039;);&lt;br /&gt;
dwrite(oz.average,&#039;zOriented.em&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you did create a membrane model, used the corresponding table and average:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(tConsistentRandomized,&#039;zOriented.tbl&#039;);&lt;br /&gt;
dwrite(oaRandomized.average,&#039;zOriented.em&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and create a project with these files. Note that the [[data folder]] remains unchanged.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcp.new(&#039;zOriented&#039;,&#039;d&#039;,&#039;particlesData&#039;,&#039;template&#039;,&#039;zOriented.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;zOriented.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this project, we will ask for a symmetrization &#039;c57&#039;.. this is just to simulate fully rotational symmetry.  We are not assuming that this symmetry is physical: we just want to force any possible symmetry axis in the data along the &#039;&#039;z&#039;&#039; axis. We also keep binning twice the particles, in order to get the computation times short.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvZOrientedParameters.png|thumb|center|500px| Alignment parameters in &amp;lt;tt&amp;gt;zOriented&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
The result shown an incipient formation of the crown... however, the presence of  suspicious striations in a preferential direction might be an indication of the effect of the missing wedge.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvZOrientedMapview.png|thumb|center|500px| Result in  &amp;lt;tt&amp;gt;zOriented&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Project with rotational randomization ==&lt;br /&gt;
&lt;br /&gt;
We can create a template that does not have a prefererential orintation, by just randomizing the azimuthal rotations in our table, We extract the last refined table into the variable &amp;lt;tt&amp;gt;tns&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb zOriented:rt -r tns &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and impose a perturbation that keeps all other parameters constant but randomly rotates the particles around their axis&lt;br /&gt;
 &amp;lt;tt&amp;gt;tr = dynamo_table_perturbation(tns,&#039;pshift&#039;,0,&#039;paxis&#039;,0,&#039;pnarot&#039;,360);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can use this table to average again the particles and check the average.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;oar = daverage(&#039;particlesData&#039;,&#039;t&#039;,tr,&#039;fc&#039;,1);&lt;br /&gt;
dview(oar)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we can write these files in disk and create a project:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(oar.average,&#039;randomizedAverage.em&#039;);&lt;br /&gt;
dwrite(tr,&#039;randomized.tbl&#039;);&lt;br /&gt;
dcp.new(&#039;zRandomized&#039;,&#039;d&#039;,&#039;particlesData&#039;,&#039;template&#039;,&#039;randomizedAverage.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;randomized.tbl&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FHV zRandomized Parameters.png|thumb|center|600px| Alignment parameters in &amp;lt;tt&amp;gt;zRandomized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
After running this projects, the presence of a crown-like is very, very faintly hinted in mapview:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;zRandomized:a&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvRandomizedFaintHintsMapview.png|thumb|center|500px| Result from  &amp;lt;tt&amp;gt;zRandomized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
and barely identifialble in Chimera:&lt;br /&gt;
&lt;br /&gt;
[[File:FhvZRandomizedChimera.png|thumb|center|500px| Alignment parameters in &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
== Project for localized alignment ==&lt;br /&gt;
&lt;br /&gt;
We don&#039;t see clearly what is happening on the area of interest... On one hand we know that we are using a very reduced number of particles ( which on top of it are too similarly oriented). But there is still some room to improve in the approach: we can focus the refinement in the area of interest.&lt;br /&gt;
&lt;br /&gt;
=== Creating a tight mask ===&lt;br /&gt;
We want to create a mask that encloses the area of interest. To do this, we open the average in &amp;lt;tt&amp;gt;dmapview&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;zRandomized:a&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We tune the browser for viewing along &#039;&#039;y&#039;&#039;, and we select one of the central slices. We can use a thickness of several pixels to have a better view.&lt;br /&gt;
&lt;br /&gt;
Then, we select the area that we want to use as seed in this plane to create a revolution solid. We press on &amp;lt;tt&amp;gt;[shift] + [s] &amp;lt;/tt&amp;gt; on the selected slide, letting a new window pop up. In this window, you handdraw an area on the XZ plane (main click to start drawing, auxiliary click to stop). &#039;&#039;Dynamo&#039;&#039; will rotate the region about the &#039;&#039;z&#039;&#039; axis, creating a revolution solid into the &amp;lt;tt&amp;gt;file temp_drawn_revolution_mask.em&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:fhvHandDrawn.png|thumb|center|500px|  Drawing a revolution mask.]]&lt;br /&gt;
&lt;br /&gt;
We have to change the default name given by &#039;&#039;Dynamo&#039;&#039; to a relevant one:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;!mv temp_drawn_revolution_mask.em teethMask.em&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now continue the previous project by transferring the results of &amp;lt;tt&amp;gt;zRandomized&amp;lt;/tt&amp;gt; to a fresh project (lets call  it &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dynamo_vpr_branch zRandomized localized -b 1 -noise 0&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where we insert the tight mask &amp;lt;tt&amp;gt;teethMask.em&amp;lt;/tt&amp;gt; that we just created as alignment mask of the project. Note that we do &#039;&#039;&#039;not&#039;&#039;&#039; want impose any symmetry in our parameters:&lt;br /&gt;
[[File:FhvParametersLocalized.png|thumb|center|500px| Alignment parameters in &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
Let&#039;s inspect the output in &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;&lt;br /&gt;
[[File:fhvLocalizedDview.png|thumb|center|800px| Last average in project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; as shown by &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
There are different things that we like in this average&lt;br /&gt;
# The localized masking worked well, producing a clearer insight into the region of relevance&lt;br /&gt;
# Although we are using signal only inside the mask, the material outside of the mask does &#039;&#039;&#039;not&#039;&#039; become smeared. This is clear mark that the alignment is real and non artifactual. That&#039;s an important point to check when we use small masks.&lt;br /&gt;
# The symmetry in the area becomes apparent on the bare eye. They can be distinguished clearly with mapview and even in Chimera.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvLocalizedMapview.png|thumb|center|500px| Last average in project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; as shown by &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
[[File:FhvLocalizedChimera.png|thumb|center|500px| Last average in project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; as shown by &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Testing the symmetry ===&lt;br /&gt;
&lt;br /&gt;
We can check for different symmetry operators to confirm the presence of symmetry. &lt;br /&gt;
&lt;br /&gt;
==== Basic command ====&lt;br /&gt;
&lt;br /&gt;
The basic command for this task is &amp;lt;tt&amp;gt;dynamo_symmetry_scan&amp;lt;/tt&amp;gt;. In its fundamental syntax, you need to state the type  of symmetry operator to be tested, and a set of operator.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; stm = dynamo_symmetry_scan(&#039;localized:a&#039;,&#039;c&#039;,&#039;order&#039;,3:15,&#039;type&#039;,&#039;pearson&#039;,&#039;nfig&#039;,3); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryGlobal.png|thumb|center|500px| Symmetry detected for different masks]]&lt;br /&gt;
&lt;br /&gt;
With a more localized mask:&lt;br /&gt;
 &amp;lt;tt&amp;gt; slm = dynamo_symmetry_scan(&#039;localized:a&#039;,&#039;c&#039;,&#039;order&#039;,3:15,&#039;type&#039;,&#039;pearson&#039;,&#039;mask&#039;,&#039;teethMask.em&#039;,&#039;nfig&#039;,4);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryLocal.png|thumb|center|500px| Symmetry detected for different masks]]&lt;br /&gt;
&lt;br /&gt;
==== Interpretation of results ====&lt;br /&gt;
&lt;br /&gt;
If you got the results above, you might have jumped to the conclusion that they already constitute an objective hint at a real C12 symmetry. This is, however, not true. The fact is that,  with a slightly different picking of particles, you could have obtained the profiles in these pictures:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;margin: 0 auto;&amp;quot;&lt;br /&gt;
| [[File:FhvSymmetryGlobalWrong.png|thumb|upright|400px| Symmetry merit plot (global mask) ]]&lt;br /&gt;
| [[File:FhvSymmetryLocalWrong.png|thumb|upright|400px| Symmetry merit plot (local mask) ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These images represent the result of the two symmetry-exploring commands described above obtained by a different user. . Surprisingly, they point at possible symmetry orders of 11 and 13.&lt;br /&gt;
So, what is going on here? How is it possible that two different users that operate exactly the same walkthrough get contradictory symmetry estimations? The reason is that different users will pick manually slightly different particle centers, and this have a direct impact on the symmetry estimation. In short, the problem is that the density map &amp;lt;tt&amp;gt;localized:a&amp;lt;/tt&amp;gt; is not garanteed to have its possible symmetry axis located along the center of the box, and this misleads &amp;lt;tt&amp;gt; dynamo_symmetry_scan&amp;lt;/tt&amp;gt;. This can bechecked by opening the average in &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt; and overlaying the file &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt; on it.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryDecentered.png|thumb|center|500px| Mapview map n file &amp;lt;tt&amp;gt;localized:a &amp;lt;/tt&amp;gt; overlayed with file &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In this non-centered density map, any symmetry determination can only be an artifact. To solve this, we create a centered version: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ddb zOriented:a -r zo % extract average of zOriented as the ws variable zo&lt;br /&gt;
ddb localized:a –r localizedAverage % extract average of localized as the ws variable localized Average&lt;br /&gt;
sal = dalign(localizedAverage,zo,&#039;cr&#039;,0,&#039;cs&#039;,30,&#039;ir&#039;,0,&#039;dim&#039;,64,&#039;limm&#039;,1,&#039;lim&#039;,[20,20,20]); % aligns localizedAverage against zo (like that localizedAverage is centered)&lt;br /&gt;
centerLocalized = sal.aligned_particle;&lt;br /&gt;
dview(centerLocalized); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryRecenteredView.png|thumb|center|500px| Recentered average (x and y views) ]]&lt;br /&gt;
&lt;br /&gt;
We can scan again the symmetry operators on the recentered volume.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; slmCentered = dynamo_symmetry_scan(centerLocalized,&#039;c&#039;,&#039;order&#039;,3:15,&#039;type&#039;,&#039;pearson&#039;,&#039;mask&#039;,&#039;teethMask.em&#039;,&#039;nfig&#039;,4);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;margin: 0 auto;&amp;quot;&lt;br /&gt;
| [[File:FHVsymmetryRecenteringOldMaskSlice.png|thumb|upright|400px| &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt; overlayed on the recentered average ]]&lt;br /&gt;
| [[File:FHVsymmetryRecenteringOldMaskPlot.png|thumb|upright|400px| Symmetry merit plot after recentering using &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt; ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Now the peaks located that at 6 and 12 are trustworthy.  You can even create a new mask on the recentered average, carefully excluding intensities from the central ring structure to completely rule out any artefact. &lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;margin: 0 auto;&amp;quot;&lt;br /&gt;
| [[File:FHVSymmetryAdhocMaskOverlay.png|thumb|upright|400px| Mask constructed &#039;&#039;ad hoc&#039;&#039; on the recentered average ]]&lt;br /&gt;
| [[File:FHVSymmetryAdhocMaskPlot.png |thumb|upright|400px| Symmetry merit plot using  &#039;&#039;ad hoc&#039;&#039; constructed mask]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subboxing ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;subboxing&#039;&#039; technique consists in redefining the area of interest inside a previously defined average. In this example, we have use the full crowns as the subject of alignment and averaging. This has allowed us to use the whole signal carried by the full crown on each of the particles to drive the alignment robustly. This approach, however, will not allow us to identify heterogeneity and flexibility inside the individual crowns. Additionally, the possible hetereogeneity inside the crown will decrease the quality of the alignment when the crown is treated as a whole. &lt;br /&gt;
&lt;br /&gt;
With the &#039;&#039;subboxing&#039;&#039; technique, we can use our previous results to setup an approach that centers the alignment on the individual teeth. Each one the particles in our new data set will be a &#039;&#039;subbox&#039;&#039; (a tooth) extracted from the previos &#039;&#039;box&#039;&#039; (the crown) using the alignment parametes for the full boxes gained by the projects that we have ran so far. &lt;br /&gt;
&lt;br /&gt;
=== Defining a subboxed subunit ===&lt;br /&gt;
&lt;br /&gt;
First, we need to define the location that we want to subbox. We use &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;localized:a&#039;) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to show the last average in the project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSelectZ.png|thumb|center|500px| Selecting the center of the tooth subunit with &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
You probably want to explore several views in mapviews (&#039;&#039;x&#039;/&#039;y&#039; and &#039;z&#039;) to make sure you (roughtly) hit the center of the subunit of interest. Guiding yourself only for a view on &#039;&#039;z&#039;&#039; can be misleading.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSelectY.png|thumb|center|500px| Selecting the center of the tooth subunit with &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt; on the &#039;&#039;y&#039;&#039; view]].&lt;br /&gt;
&lt;br /&gt;
As we are in this browser, we can check the size of the subunit that we want to &#039;&#039;subbox&#039;&#039;, using the two markers C and N. This will be useful later when we want to actually crop physical particles using &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt;, when we will be required to input a sidelength for the subboxed data folder.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSelectDistance.png|thumb|center|500px| Measuring distances in mapview]].&lt;br /&gt;
&lt;br /&gt;
We define a variable to contain the position that we read in mapview for the blue (North) anchor. &lt;br /&gt;
 &amp;lt;tt&amp;gt;rSubunitFromCenter = [88,80,53 ] - [64,64,64]; &amp;lt;/tt&amp;gt;&lt;br /&gt;
We subtract the half sidelength of the full box, because the next command will need the position of the asymmetrical unit expressed in relation to center of the box.&lt;br /&gt;
&lt;br /&gt;
=== Creating a subboxing table ===&lt;br /&gt;
&lt;br /&gt;
We extract the last refined table: &lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb localized:rt -r t&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and define positions related by C12 symmetry along the axis&lt;br /&gt;
 &amp;lt;tt&amp;gt;ts = dynamo_subboxing_table(t,rSubunitFromCenter,&#039;sym&#039;,&#039;c12&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new subboxed table &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt; will have 12 times as many rows as the original one. The system of reference on each particle will point &#039;&#039;z&#039;&#039; in the direction of its original box, but the &#039;&#039;x&#039;&#039; and &#039;&#039;y&#039;&#039; orientations of each tooth will be symmetrically related in the same crown. We can depict this geometrical relationship by plotting a sketch of all the particles in the table:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dtplot(ts,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);view(-151,12);axis equal;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSketch.png|thumb|center|500px| Sketch of orientations of the new subboxed table &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt;]].&lt;br /&gt;
&lt;br /&gt;
=== Creating a subboxed data folder ===&lt;br /&gt;
&lt;br /&gt;
Now we have all we need to go back to the original tomogram and crop the subboxed particles into a new data folder using the sidelength that we checked with &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtcrop(&#039;crop.rec&#039;,ts,&#039;subboxData&#039;,32);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can run our typical sanity check to ensure that everything ran correctly&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;osb = daverage(&#039;subboxData&#039;,&#039;t&#039;,ts,&#039;fc&#039;,1);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To visualize it you can write: &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;tt&amp;gt;dview(osb.average);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxAverage.png|thumb|center|700px| Density map of the average of subboxed teeth]].&lt;br /&gt;
&lt;br /&gt;
As it looks like we expected, we just write it into a file, which we will use to define a new project.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(osb.average,&#039;subboxRaw.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Defining masks ===&lt;br /&gt;
&lt;br /&gt;
There are some tools to quickly format masks for project. If we want to check a reasonable radius for our mask, we can use the &amp;lt;tt&amp;gt;dsphere&amp;lt;/tt&amp;gt; command and overlay the created mask on the template &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;cs = dynamo_sphere(10,32);&lt;br /&gt;
figure;dslices(osb.average,&#039;y&#039;,&#039;ov&#039;,cs,&#039;ovas&#039;,&#039;mask&#039;);&lt;br /&gt;
figure;dslices(osb.average,&#039;ov&#039;,cs,&#039;ovas&#039;,&#039;mask&#039;); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxOverlay.png|thumb|center|700px| Testing the radius of created masks by overlay on template]].&lt;br /&gt;
In fact, this mask is probably too risky: we need a minimum of signal to drive the alignment &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(cs,&#039;maskTooth32.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Subboxing project ===&lt;br /&gt;
&lt;br /&gt;
We create the project through:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcp.new(&#039;subboxBig&#039;,&#039;d&#039;,&#039;subboxData&#039;,&#039;template&#039;,&#039;subboxRaw.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;subboxData/crop.tbl&#039;,&#039;show&#039;,0);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, we use  &amp;lt;tt&amp;gt;&#039;show&#039; 0&amp;lt;/tt&amp;gt; would suppress the [[dcm]] GUI. We use typically this option when we want to enter project parameters through the command line. This is exactly equivalent to entering parameters through the GUI. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dvput subboxBig mask maskTooth32.em&lt;br /&gt;
dvput subboxBig ite_r1 3&lt;br /&gt;
dvput subboxBig cr_r1 4&lt;br /&gt;
dvput subboxBig cs_r1 2&lt;br /&gt;
dvput subboxBig ir_r1 4&lt;br /&gt;
dvput subboxBig is_r1 2&lt;br /&gt;
dvput subboxBig rf_r1 2&lt;br /&gt;
dvput subboxBig rff_r1 2&lt;br /&gt;
dvput subboxBig dim_r1 32&lt;br /&gt;
dvput subboxBig lim_r1 [4,4,4]&lt;br /&gt;
dvput subboxBig limm_r1 1 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A list of the names of the parameters can be displayed through the command &amp;lt;tt&amp;gt;dvhelp&amp;lt;/tt&amp;gt;. The computing environment is set using the &amp;lt;tt&amp;gt;destination&amp;lt;/tt&amp;gt; parameter, shortnamed &amp;lt;tt&amp;gt;dst&amp;lt;/tt&amp;gt;. To run it in matlab use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dvput -dst matlab_parfor&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For standalone running, use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dvput -dst standalone&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After running the project, we can check the effect of the independent refinement of the &amp;quot;tooth&amp;quot; units:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;subboxBig:a:ite=[0,3]&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxRefimentMapview.png|thumb|center|800px| Slice-to-slice comparison of initial template and final average of the subboxing project]].&lt;br /&gt;
&lt;br /&gt;
or send the average to Chimera through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb subboxBig:a -c &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxRefimentChimera.png|thumb|center|600px| Density map of the average of subboxed teeth after refinement]].&lt;br /&gt;
&lt;br /&gt;
== Visualization ==&lt;br /&gt;
&lt;br /&gt;
You can continue working on this data in the [[Walkthrough on creation of 3d scenes]], where you will learn to depict tomgraphic slices, place templates in table positions, and depict graphical elements  representing model geometries.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Advanced_starters_guide&amp;diff=5677</id>
		<title>Advanced starters guide</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Advanced_starters_guide&amp;diff=5677"/>
		<updated>2025-12-03T15:36:43Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Downloading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Walkthroughs]]&lt;br /&gt;
&lt;br /&gt;
This walkthrough uses a small size example based on a real tomogram to cover several tasks.&lt;br /&gt;
&lt;br /&gt;
== The example data set ==&lt;br /&gt;
&lt;br /&gt;
The data is a fraction of a tomogram.  The full tomogram was used in &amp;quot;Cryo-electron tomography reveals novel features of a viral RNA replication compartment.&amp;quot;  (Ertel et al.), and represents several FHV viruses docked in the outer membrane of a mitochondrion.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvDefinitionCrown.png|thumb|center|500px| Average for several hundreds of particles. The &amp;quot;crown&amp;quot; area is shown under a red shadow.]]&lt;br /&gt;
&lt;br /&gt;
== Downloading ==&lt;br /&gt;
&lt;br /&gt;
During the Dynamo workshop you will find the needed tilt series in your data folder. Outside the workshop, you can download the file from &amp;lt;!--[https://drive.google.com/file/d/1YM_g7uggoeaKs5ps4Sn_SKIK-bg5ET8a/view?usp=drive_link this google drive]--&amp;gt;[{{Template:DownloadLinkFHVDrive}} this google drive]&lt;br /&gt;
&lt;br /&gt;
If it fails under Matlab or the &#039;&#039;Dynamo&#039;&#039; command line, you can try to directly use the linux order&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;wget  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/crop.rec &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget  {{Template:DownloadLinkFHVDrive}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;curl -O  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/fhv/crop.rec &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;curl -O  {{Template:DownloadLinkFHVDrive}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
under MacOS. This should have created the file called &amp;lt;tt&amp;gt;crop.rec&amp;lt;/tt&amp;gt; in your current directory. &amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The link is {{DownloadLinkFHV}}.&lt;br /&gt;
&lt;br /&gt;
===Size check of a file===&lt;br /&gt;
&lt;br /&gt;
You&#039;re probably curious to see what&#039;s inside, so that let&#039;s write first:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dfile crop.rec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to let &#039;&#039;Dynamo&#039;&#039; check the dimensions of the file. The header of a &amp;lt;tt&amp;gt;.rec&amp;lt;/tt&amp;gt; file is readed as a regular &amp;lt;tt&amp;gt;mrc&amp;lt;/tt&amp;gt;, yielding:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;filetype: volume&lt;br /&gt;
 size: 1285 x 956 x 786&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, it&#039;s a tomogram.&lt;br /&gt;
&lt;br /&gt;
===Lightweight visualization===&lt;br /&gt;
We can inspect quickly its contents with [[Viewing_tomograms#dtmshow | dtmshow]]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmshow -otf crop.rec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hereby, the flag &amp;lt;tt&amp;gt;-otf&amp;lt;/tt&amp;gt; means &amp;quot;on the fly&amp;quot;, telling &amp;lt;tt&amp;gt;dtmshow&amp;lt;/tt&amp;gt; to &#039;&#039;not&#039;&#039; preload the full tomogram, but to access in disk the individual slices that are needed when inspecting a particular area.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvTomoshowOnTheFly.png|thumb|center|500px|Basic controls of &amp;lt;tt&amp;gt;dtmshow&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Go up and down. We want to select the locations were the vesicles intersect the mitochondrion membrane and average them together. For this, we need to &#039;&#039;catalogue&#039;&#039; the tomogram, so that our annotations are stored with a clear relationship with the tomogram.&lt;br /&gt;
&lt;br /&gt;
== Cataloguing the tomogram ==&lt;br /&gt;
&lt;br /&gt;
We can create catalogues just to contain a single tomogram. They are useful to keep track of all annotations, and of the typical transforms (binning, cropping of fractions) that we usually perform on a larged size tomogram of interest. In this case, we can create the catalogue directly from the command line: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dcm -create fhv &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;dcm&amp;lt;/tt&amp;gt; is the short form of &amp;lt;tt&amp;gt;dynamo_catalogue_manager&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt; is just an arbitrary name. The just created catalogue is empty, and we can add our tomogram with:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;tt&amp;gt;dcm -c fhv -at crop.rec&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check that the tomogram is in the catalogue by asking &#039;&#039;Dynamo&#039;&#039; to show the contents of the catalogue&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcm -c fhv -l tomograms&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcm -c fhv -l t&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The flag &amp;lt;tt&amp;gt;-l&amp;lt;/tt&amp;gt; asks &#039;&#039;Dynamo&#039;&#039; to list items of a given category of catalogue contents, in this case &amp;lt;tt&amp;gt;tomograms&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Prebinning the tomograms ===&lt;br /&gt;
&lt;br /&gt;
We typically want to [[prebinned tomograms | prebin]] the tomogram, i.e., have a version of |smaller size that is known to the catalogue. This version will be useful in some operations that require a full tomogram in memory, an operation that can consume much memory and need a long time. In this example, this would not be necessary: a tomogram with a sidelength on x and y of ~1000 pixels shouldn&#039;t pose any visualization problem. We do it anyway for the exercise with the command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dynamo_catalogue_bin(&#039;fhv&#039;, 1, &#039;zchunk&#039;, 300); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the parameter &amp;lt;tt&amp;gt;zchunk&amp;lt;/tt&amp;gt; represents the maximum number of z slices that are kept simultaneously in the memory during the binning process. This parameter might be important for larger size tomograms.&lt;br /&gt;
&lt;br /&gt;
=== Operation with GUI===&lt;br /&gt;
&lt;br /&gt;
These steps could have been performed thorough the &amp;lt;tt&amp;gt;dcm&amp;lt;/tt&amp;gt; GUI&lt;br /&gt;
&lt;br /&gt;
== Annotation of particle positions ==&lt;br /&gt;
Now we can open the tomogram through the catalogue:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmslice crop.rec -c fhv  -prebinned 1 &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvTomosliceOpen.png|thumb|center|500px|dtmslice opened on the FHV example tomogram&amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Probably you don&#039;t like the initial contrast, change it with the button in the toolbar.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvTomosliceContrast.png|thumb|center|500px|contrast adjustment options inside &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Navigating the tomogram ===&lt;br /&gt;
&lt;br /&gt;
* left click and drag the slice with your mouse to move it up and down&lt;br /&gt;
* this can also be achieved with the controls on the left hand side&lt;br /&gt;
* ctrl + left click and drag will change your viewpoint of the 3d scene&lt;br /&gt;
* shift + left click and drag will move the center of rotation&lt;br /&gt;
* ctrl + mouse wheel up/down will zoom in or out of the scene&lt;br /&gt;
&lt;br /&gt;
Other [[Dtmslice#Viewing controls | axiliary tools]] are the keys x,y,z to change the slice orientation, the number of projected slices (called &amp;quot;thickness&amp;quot; in the GUI controls), the transparency of the slice.&lt;br /&gt;
&lt;br /&gt;
You can reset the scene at any time by hitting the reset button.&lt;br /&gt;
&lt;br /&gt;
You can save slices for viewing later with the s key.&lt;br /&gt;
&lt;br /&gt;
=== Creation of models to contain annotations===&lt;br /&gt;
&lt;br /&gt;
In this example we just want to manually pick some particles. This can be done creating a general or box [[models|model]], which will [[model pool | reside in memory  ]] till we save it into the catalogue. &lt;br /&gt;
&lt;br /&gt;
 [[File:FhvBoxesModel.png|thumb|center|500px|Creating a new model in the scene. Each annotation is represented by a box]]&lt;br /&gt;
&lt;br /&gt;
After creating the model, it will be only model currently active in the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; scene.  You can add new points pressing on [c].  The idea is to mark on the positions where you see the &amp;quot;neck&amp;quot; of a vesicle (what we called &amp;quot;crowns&amp;quot;) in contact with the outer mitochondrial membrane.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvCloseUp.png|thumb|center|500px|Clicking the crowns on screen]]&lt;br /&gt;
&lt;br /&gt;
The last marked point can be deleted by pressing [delete]. An arbitrary point can be deleted by clicking on it with the auxiliary mouse button. This will open a menu that includes the option of deleting the point (through Ctrl+X in Linux or Cmmd+X in Mac).&lt;br /&gt;
&lt;br /&gt;
At this stage you probably want to change the transparence of the depicted slice, so that you can control which objects have been already clicked below the depicted slide.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvSelectedPoints.png|thumb|center|500px|Selection of points. Transparency of slide was set to 0.8]].&lt;br /&gt;
&lt;br /&gt;
When you are done, remember to save the model, using the menu options on active model or simply clicking on the disk icon in tomoslice.&lt;br /&gt;
&lt;br /&gt;
== Cropping particles ==&lt;br /&gt;
&lt;br /&gt;
Now we want to use the positions that we have marked to extract the subtomograms and format them as a [[data folder]]. The first thing we need is an estimation of the sidelength in pixels of each of the subtomograms. In [[dtmslice]] We can use the keys [1] and [2] to define two anchor points that appear as rombohedra. Clicking (with the right button) onto the black dashed that links the will show on screen both coordinates and the distance between them. All distances are reported in pixels of the non-binned tomogram: even if you are using a binned version, &#039;&#039;Dynamo&#039;&#039; keeps track of it.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvMeasureDistance.png|thumb|center|500px|Measuring distances with [1] , [2] and right-click]].&lt;br /&gt;
&lt;br /&gt;
We will thus choose to create a datafolder with a cubic sidelength of 128 pixels (remember that the particles will be cropped in the &#039;&#039;unbinned&#039;&#039; tomogram). This will ensure that the crowns fit comfortably inside the physical box, even if our manual picking imposes an error of several pixels. If you were using, say, a &#039;&#039;thickness&#039;&#039; parameter of 10 pixles in &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;, you have to count with at least this inaccuracy in the location of the particles.&lt;br /&gt;
&lt;br /&gt;
Now, we check that the  catalogued tomogram contains the model that we manually picked before:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;gt;&amp;gt; dcmodels fhv&lt;br /&gt;
Volume 1 contains 1 models in total&lt;br /&gt;
/Users/casdanie//fhv/tomograms/volume_1/models/mboxes.omd&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In your system, instead of &amp;lt;tt&amp;gt;/Users/casdanie/&amp;lt;/tt&amp;gt; you will see the path to the  folder where you created the catalogue &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating a table ===&lt;br /&gt;
We could just use  the catalogue GUI to extract the particles, be it is also possible to proceed directly  with the command line. We will use the  &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; command, .which requires preparing a [[table]] with the information of the model. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;m = dread(&#039;/Users/casdanie/fhv/tomograms/volume_1/models/mboxes.omd&#039;);&lt;br /&gt;
t = m.grepTable();&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, you read the file into a model object (which we arbitrarily choose to call &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;), and then you use the &amp;lt;tt&amp;gt;grepTable&amp;lt;/tt&amp;gt; method on this object to extract a variable into your workspace. We arbitrarily call it &amp;lt;tt&amp;gt;t&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Note that we can extract models directly from the output of &amp;lt;tt&amp;gt;dcmodels&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dcmodels fhv -i 1 -ws o;&lt;br /&gt;
m = dread(o.files{1});&lt;br /&gt;
t = m.grepTable();&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., we load the answer of &amp;lt;tt&amp;gt;dcmodels&amp;lt;/tt&amp;gt; for volume index &amp;lt;tt&amp;gt;-i 1&amp;lt;/tt&amp;gt; in the output variable &amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt;.  Inside it, there is a field called &amp;lt;tt&amp;gt;&#039;files&#039;&amp;lt;/tt&amp;gt; which contains a [[matlab cell array| cell array]] of files containing models.  Then we read the first entry &amp;lt;tt&amp;gt;o.files{1}&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Whichever way you create the table variable &amp;lt;tt&amp;gt;t&amp;lt;/tt&amp;gt;, it is just a matrix with a row for each particle, and a summary of the information coded inside can be created through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;gt;&amp;gt; dtinfo(t);&lt;br /&gt;
 &lt;br /&gt;
        size                :  22 35 &lt;br /&gt;
        NaNs                :  0&lt;br /&gt;
 &lt;br /&gt;
 COLUMN &lt;br /&gt;
[  2  ] marked for alignment:  22&lt;br /&gt;
[  3  ] included in average :  22&lt;br /&gt;
[ 4-6 ] shifts              :  all zero&lt;br /&gt;
[ 7-9 ] angles              :  all zero&lt;br /&gt;
[  10 ] cross correlation   :  min: 0.00  max: 0.00  mean: 0.00  std: 0.00&lt;br /&gt;
[  13 ] Fourier sampling    :  1 (single tilt around y) &lt;br /&gt;
[  13 ] fsampling types     :  all of the same type &lt;br /&gt;
[14-15] ytilt range         :  min:120.00   max:120.00&lt;br /&gt;
[16-17] xtilt range         :  min:120.00   max:120.00&lt;br /&gt;
[  20 ] linked volumes      :  total 1 (labels: [1])&lt;br /&gt;
[  21 ] regions inside tomograms :  total 1 (labels: [0])&lt;br /&gt;
[  22 ] user-defined classes:  total 1 (labels: [0])&lt;br /&gt;
[  23 ] annotation types    :  total 1 (labels: [0])&lt;br /&gt;
[24-26] spatial locations   :  initialized: 22&lt;br /&gt;
[  24 ]   *  x              :  min: 645.21  max: 1001.92  mean: 799.05  std: 109.44&lt;br /&gt;
[  25 ]   *  y              :  min: 23.78  max: 917.51  mean: 484.07  std: 271.28&lt;br /&gt;
[  26 ]   *  z              :  min: 198.00  max: 563.00  mean: 415.55  std: 114.03&lt;br /&gt;
[  31 ] original tags       :  total 1 (labels: [0])&lt;br /&gt;
[  32 ] compacted particles :  total 1 (labels: [1])&lt;br /&gt;
[  34 ] references          :  total 1 (labels: [0])&lt;br /&gt;
[  35 ] subreferences       :  total 1 (labels: [0])&lt;br /&gt;
[  36 ] apix                :  Warning: column not available in this table&lt;br /&gt;
[  37 ] defocus             :  Warning: column not available in this table&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; ===&lt;br /&gt;
 &lt;br /&gt;
The simplest  syntax of &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; requires passing the name of the tomogram from which we want to crop (syntax varies for [[ Particle extraction#Extract from different tomograms| cropping from multiple tomograms]]). We know that the file is &amp;lt;tt&amp;gt;crop.rec&amp;lt;/tt&amp;gt;, and we could directly insert this name in the command. But a catalogued model already contains information about its source tomogram (inside its property &amp;lt;tt&amp;gt;cvolume&amp;lt;/tt&amp;gt;), so that we can always track it back. We could then define a variable &amp;lt;tt&amp;gt;tomogramFile&amp;lt;/tt&amp;gt; by accessing this information inside the model variable &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tomogramFile = m.cvolume.file();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you get a warning at this stage, don&#039;t worry, the command still worked.&lt;br /&gt;
&lt;br /&gt;
You can then launch the cropping order:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;o = dtcrop(tomogramFile,t,&#039;particlesData&#039;,128);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where you could add the &amp;lt;tt&amp;gt;mw&amp;lt;/tt&amp;gt; flag to let &#039;&#039;Dynamo&#039;&#039; use several cores. In any case, for this number or particles the cropping should take some seconds. The last part of the final output into screen should look like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;21 [read_subtomogram] Volume has size 1285 956 786&lt;br /&gt;
[read_subtomogram] Accessing subvolume x: 713:840; y: 339:466; z: 160:287  totalling ~ 16.0Mb&lt;br /&gt;
Elapsed time is 0.191014 seconds.&lt;br /&gt;
22 &lt;br /&gt;
Total time invested in cropping: 7s&lt;br /&gt;
[table_crop] Done extracting 20 particles&lt;br /&gt;
             from tomogram      :&amp;quot;/Users/casdanie/dynamo/devmac/workplace/paris/crop.rec&amp;quot; &lt;br /&gt;
             destination folder :&amp;quot;particlesData&amp;quot; &lt;br /&gt;
             excluded particles : 2   &lt;br /&gt;
 &lt;br /&gt;
 [ok] table_crop &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
informing you that some of the particles where excluded, as they were probably too close to the boundary of the tomogram, given the sidelength we asked for.  Inside the created data folder,&lt;br /&gt;
you will find the table &amp;lt;tt&amp;gt;particlesData/crop.tbl&amp;lt;/tt&amp;gt;, which only indexes the actually cropped particles.&lt;br /&gt;
&lt;br /&gt;
=== Creating an average ===&lt;br /&gt;
 &lt;br /&gt;
The particles can now be averaged together. They have different orientations, but in this tomogram we only have a fraction of the membrane. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oa = daverage(&#039;particlesData&#039;,&#039;t&#039;,&#039;particlesData/crop.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to let &#039;&#039;Dynamo&#039;&#039; pass maps into Chimera, you have to inform &#039;&#039;Dynamo&#039;&#039;  on the location of Chimera. For instance: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dchimera -setPath  /usr/local/bin/ &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please adapt it to the location of Chimera in your file system.&lt;br /&gt;
&lt;br /&gt;
To open your average in chimera&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt; dchimera(oa.average) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Project to find membrane orientations==&lt;br /&gt;
&lt;br /&gt;
We first need to create files with the average and the table that we have till now in memory:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(t,&#039;raw.tbl&#039;);&lt;br /&gt;
dwrite(oa.average,&#039;rawTemplate.em&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can create a project directly thorugh the command line:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcp.new(&#039;first&#039;,&#039;d&#039;,&#039;particlesData&#039;,&#039;template&#039;,&#039;rawTemplate.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;particlesData/crop.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...and go directly to the panel of numerical parameters to create a project adapted for catching the general orientation of the membrane:&lt;br /&gt;
 [[File:FhvFirstParameters.png|thumb|center|500px| Numerical parameters for just membrane orientation]]&lt;br /&gt;
&lt;br /&gt;
Also, remember to visit the window for execution environment, and select the appropriate settings. If you are working with Matlab, select &#039;&#039;Matlab&#039;&#039;(for one single core) or &amp;quot;Matlab_parfor&amp;quot; (if you are going to several cores). If working with the standalone, use the [[standalone]]  option.  In both cases, select the number of cores for alignment (green box in the picture below) and averaging (blue box) .  &lt;br /&gt;
&lt;br /&gt;
 [[File:FhvEnvironment.png|thumb|center|500px| Selecting the execution modus]]&lt;br /&gt;
&lt;br /&gt;
You can operate the project management operations from the GUI or the command line. First checking:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dvcheck first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then unfolding &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dvunfold first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and finally running it by invoking the name of the execution script. If you are running in Matlab use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are running &#039;&#039;Dynamo&#039;&#039; in standalone modus, open a new tab (or window) of the terminal, load Dynamo (but don&#039;t run Dynamo) and type:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;./first.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After running the project, we check the created average:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb first:a -v &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command asks the  database (hence &amp;lt;tt&amp;gt;db&amp;lt;/tt&amp;gt;) of the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt; to look for the item of type &amp;lt;tt&amp;gt;average&amp;lt;/tt&amp;gt;, by default accessing  the last computed one. The flag &amp;lt;tt&amp;gt;-v&amp;lt;/tt&amp;gt; sends the output of the database query to the depiction GUI called &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 [[File:FhvFirstAverage.png|thumb|center|500px|First average, no azimuthal rotation was tested. Shown in &amp;lt;tt&amp;gt; dview&amp;lt;/tt&amp;gt; program]]&lt;br /&gt;
&lt;br /&gt;
Apparently, the project finds the membranes and centers the particles correctly.  If you show the volume in Chimera (by clicking in the &#039;&#039;Export&amp;gt;Send to Chimera&#039;&#039; option in the &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt; window ).&lt;br /&gt;
&lt;br /&gt;
[[File:FhvFirstChimera.png|thumb|center|500px|First average, no azimuthal rotation was tested ]]&lt;br /&gt;
&lt;br /&gt;
We can check the individual particles:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddbrowse -d first:data -t first:rt &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvDdbrowseFirstZ.png|thumb|center|700px| ddbrowse explores the aligned particles, each one represented as a projection. ]].&lt;br /&gt;
&lt;br /&gt;
== Aligning  the axis of symmetry ==&lt;br /&gt;
&lt;br /&gt;
We would like to bring the axis of symmetry to the &#039;&#039;z&#039;&#039;direction. This will create an intuitive separation between the two first euler angles that represent &amp;quot;change of orientation of the main axis&amp;quot;, and the third one that represents &amp;quot;azimuthal rotation about the new axis&amp;quot;.  We want that azimuthal rotations occur about an axis of possible symmetry, which by convention is located along z. There are several ways to achieve this. A simple one is to create a model of the membrane/crown geometry, align our average to it (with &amp;lt;tt&amp;gt;dalign&amp;lt;/tt&amp;gt;), and use the alignment parameters to create a new table. With this new table and average we will be able study possible symmetries with a new project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating a template aligned with z ===&lt;br /&gt;
&lt;br /&gt;
Geometrical shapes of many types can be created with &amp;lt;tt&amp;gt;dmask,dsphere,dcylinder,dshell&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;dtube&amp;lt;/tt&amp;gt;, and combined with &amp;lt;tt&amp;gt;dynamo_mask_combine&amp;lt;/tt&amp;gt;. However, there are also some available utilities to create templates representing frequently occurring membraneous geometries:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;mr = dpktomo.examples.motiveTypes.MembraneWithRod();&lt;br /&gt;
mr.sidelength = 128;&lt;br /&gt;
mr.rodRadius = 20; mr.rodShift = [0,0,10]; mr.rodHeight= 20;&lt;br /&gt;
mr.getMask();&lt;br /&gt;
template  = mr.mask;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you can check the list of properties inside the object &amp;lt;tt&amp;gt;mr&amp;lt;/tt&amp;gt; just by typing it without the semicolon and pressing [Return]&lt;br /&gt;
&lt;br /&gt;
We can check the result with:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;mr.viewMask();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvTemplateZ.png|thumb|center|700px| A simple template with rotational symmetry axis aligned along z]]&lt;br /&gt;
&lt;br /&gt;
=== Aligning the previous average along z ===&lt;br /&gt;
The mask is white on black by definition. The tomogram data in this case represents bright protein on dark background, so that in this case we want to align the previously computed average to the mask of the &amp;lt;tt&amp;gt;mr&amp;lt;/tt&amp;gt; object. &lt;br /&gt;
&lt;br /&gt;
The alignment does not need to scan azimuthal rotations, so that our &#039;inplane_range&#039; will be 0. The &#039;cone_range&#039; will be the full sphere, and we take and spacing of 30 degrees. As we are looking for coarse orientations, we can bin the two volumes twice (yielding volumes with a sidelength of 32 pixels). We will also &amp;quot;nail&amp;quot; the new center to the physical center of the box (parameter &amp;lt;tt&amp;gt;limm&amp;lt;/tt&amp;gt; set to 1 below).&lt;br /&gt;
&lt;br /&gt;
Now we read the average computed by the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt; into a workspace variable which we arbitrarily call &amp;lt;tt&amp;gt;previousAverage&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb first:a -r previousAverage;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, the volume &amp;lt;tt&amp;gt;previousAverage&amp;lt;/tt&amp;gt; will be treated as a &amp;quot;particle&amp;quot; to be aligned onto a &#039;&#039;template&#039;&#039;, which in this case is the volume contained in &amp;lt;tt&amp;gt;mr.mask&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sal = dalign(previousAverage,mr.mask,&#039;cr&#039;,360,&#039;cs&#039;,30,&#039;ir&#039;,0,&#039;dim&#039;,32,&#039;limm&#039;,1,&#039;lim&#039;,[10,10,10]); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The flags are the same parameters that would be used in an alignment project. You can check the shorthands with &amp;lt;tt&amp;gt;dvhelp&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The output result &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt; contains many fields. We can, for instance directly visualize how the previous average looks like when transformed through the results of this &amp;lt;tt&amp;gt;dalign&amp;lt;/tt&amp;gt; operation.  For this, use the field &amp;lt;tt&amp;gt;aligned_particle&amp;lt;/tt&amp;gt; in the output &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(sal.aligned_particle);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:ZAlignedAverage.png|thumb|center|700px| A simple template with rotational symmetry axis aligned along z]]&lt;br /&gt;
&lt;br /&gt;
=== Applying the z-alignment to the table ===&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want just to get a z-oriented average: we also want to convert the table yield by the &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt; project into a table that, when applied onto the original data, produces a correct, z-aligned average. For this, we use the alignment parameters coded inside the output &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt;  (as field &amp;lt;tt&amp;gt;.Tp&amp;lt;/tt&amp;gt;) and apply them onto the table.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb first:rt -r tf&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable &amp;lt;tt&amp;gt;tf &amp;lt;/tt&amp;gt; contains now the original table, which is now rotated and shifted according with the rigid body transform &amp;lt;tt&amp;gt;Tp&amp;lt;/tt&amp;gt; inside &amp;lt;tt&amp;gt;sal&amp;lt;/tt&amp;gt;&lt;br /&gt;
  &amp;lt;tt&amp;gt;tr =  dynamo_table_rigid(tf,sal.Tp); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now the &#039;&#039;rectified &#039;&#039;table &amp;lt;tt&amp;gt;tr&amp;lt;/tt&amp;gt;   should contain the metadata that makes the particles &amp;quot;point upward&amp;quot;. We use now the typical sanity check to assess that a table behave as expected: we apply it to the particles in its paired [[data folder]] and check the average:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;oz = daverage(&#039;first:data&#039;,&#039;t&#039;,tr,&#039;fc&#039;,1); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
whose results can be checked by:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(oz); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSanityCheckZ.png|thumb|center|700px| Particles aligned with rectified table &amp;lt;tt&amp;gt;tr&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can visualize this operation by plotting a sketch with the orientation of the particles. We first show the results for the table computed in the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure;&lt;br /&gt;
dtplot(&#039;first:rt&#039;,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);&lt;br /&gt;
view(-230,30);axis equal;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSketchFirst.png|thumb|center|400px| sketch of orientations after computation of the the project &amp;lt;tt&amp;gt;first&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Here, the &#039;z&#039; orientation computed for each particle is represented by the longest semiaxis. Note that with the original definition of the template, the &#039;z&#039; points -approximately- along the direction of the &#039;z&#039; in the tomogram. If we depict the same plot with the table we just computed:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure;&lt;br /&gt;
dtplot(tr,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);&lt;br /&gt;
view(-230,30);axis equal;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSketchZ.png|thumb|center|400px| sketch of orientations in the rectified table]]&lt;br /&gt;
&lt;br /&gt;
we see that now the &#039;z&#039; axis in each particle is pointing orthogonally(-ish) to the membrane. A different quick check would be to show the projections of the particles along &#039;&#039;y&#039;&#039;. Instead of using the GUI &amp;lt;tt&amp;gt;ddbrowse&amp;lt;/tt&amp;gt;, we can create this depiction with a single command: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices(&#039;particlesData&#039;,&#039;t&#039;,tr,&#039;projy&#039;,&#039;*&#039;,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:fhvOrientedSlicesX.png|thumb|center|400px|  full &#039;&#039;y&#039;&#039;projection of the particles according to the orientations in the rectified table ]]&lt;br /&gt;
&lt;br /&gt;
Lets look at the &#039;&#039;z&#039;&#039;-projection. In this case we project only the central slices around the crown and the aperture in the viral vesicle, chosing thus slices 60 to 70. if project the full particle, we won&#039;t distinguish any features.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices(&#039;particlesData&#039;,&#039;t&#039;,tr,&#039;projz&#039;,60:80,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:fhvOrientedSlicesZ.png|thumb|center|400px|  &#039;&#039;z&#039;&#039;projection of the central slices in the rectified table ]]&lt;br /&gt;
&lt;br /&gt;
The depiction clearly shows the missing wedge of the particles. Incidentally, it also shows that averaging all the particles should produce an average that covers all the orientaions  in the Fourier space.&lt;br /&gt;
&lt;br /&gt;
== Using the membrane to impart an orientation ==&lt;br /&gt;
&lt;br /&gt;
This section describes an &#039;&#039;&#039;alternative&#039;&#039;&#039; method to compute:&lt;br /&gt;
* a rough orientation of the particles, and&lt;br /&gt;
* a rough first template&lt;br /&gt;
&lt;br /&gt;
In this section we will use the membrane of the mithocondrion to assign a roughly orientation to each of the points in the table. This orientation will be defined by the normal of the closest point in the membrane. The membrane will be defined as a a triangulation, to be constructed based on a set of manually picked points.&lt;br /&gt;
&lt;br /&gt;
=== Pick membrane points===&lt;br /&gt;
&lt;br /&gt;
We open our tomogram in &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmslice @{fhv}1 -prebin 1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, if you are working with the [[standalone]] version, please prepend a &amp;quot;\&amp;quot; symbol:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;\dtmslice @{fhv}1 -prebin 1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this variant of the syntax of &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;, the string &amp;lt;tt&amp;gt;@{fhv}1&amp;lt;/tt&amp;gt; just means &amp;quot;tomogram number 1 inside catalogue &amp;lt;tt&amp;gt;fhv&amp;lt;/tt&amp;gt;.  On the opened scene, we will use a [[Montage viewer for membrane picking | montage ]] to manually click on a set of membrane points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note! (08/06/21) - the montage viewer was recently updated and no longer provides the ability to easily add points, please define your surface model on sequential z-slices in dtmslice directly by annotating points every 20 or so slices.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMontage.png |thumb|center|400px|   Opening a montage view]]&lt;br /&gt;
&lt;br /&gt;
By default, this &amp;lt;tt&amp;gt;montage&amp;lt;/tt&amp;gt; represents slices taken orthogonally to &#039;&#039;z&#039;&#039; every 20 pixels of the unbinned tomogram. This can be changed in the settings &#039;&#039;before&#039;&#039; opening the montage GUI. Now, we can create a model of type &amp;lt;tt&amp;gt;Surface&amp;lt;/tt&amp;gt;, which we will use to store a set of points in the membrane to be picked manually (or semiautomatically). To do this, go to &#039;&#039;Model pool&amp;gt; Create new model in pool (choose type) &amp;gt; surface &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvCreateSurfaceModel.png |thumb|center|400px|  Creating a surface model]]&lt;br /&gt;
&lt;br /&gt;
You need to click on the point switcher (the control in the toolbar with a &#039;&#039;c&#039;&#039; and an &#039;&#039;i&#039;&#039;) to allow entering points. The basic controls are: &lt;br /&gt;
* Mouse click to enter a point. &lt;br /&gt;
* &amp;lt;tt&amp;gt;d&amp;lt;/tt&amp;gt; to delete a point.&lt;br /&gt;
* &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt; to insert a point.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvMontageActiveClick.png |thumb|center|400px|  Point switcher  must be toggle on to pick points into the model]]&lt;br /&gt;
&lt;br /&gt;
Use the &#039;&#039;&amp;gt;&amp;gt;&#039;&#039; button in the bottom of the GUI to go to next set of orthoslices.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvMontageControls.png |thumb|center|400px|   Controls of the montage GUI]]&lt;br /&gt;
&lt;br /&gt;
Note that the points that you click in the Montage GUI are assigned to a model in the pool, and as such, they appear automatically in the dtmslice GUI&lt;br /&gt;
[[ File:FhvTmsliceUpdates.png |thumb|center|600px|   Points clicked in the montage GUI reflect in the &amp;lt;tt&amp;gt;tmslice&amp;lt;/tt&amp;gt; GUI]]&lt;br /&gt;
&lt;br /&gt;
You also need &amp;lt;tt&amp;gt;shift + C &amp;lt;/tt&amp;gt; in order to place a center inside the mithocondrion. This point is just used to tell &#039;&#039;Dynamo&#039;&#039; what is the inside and what is the outside face of the surface that we are building.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSurfaceMarkCenter.png |thumb|center|400px|   &amp;lt;tt&amp;gt;shift + C &amp;lt;/tt&amp;gt; marks an arbitrary interior point]]&lt;br /&gt;
&lt;br /&gt;
==== Automatic detection ====&lt;br /&gt;
&lt;br /&gt;
Once you have clicked points on a level, you can try and check if the automatic tracker can locate them in the next one. To do so, activate the next slice (i.e., secondary click it, so that its frame becomes red), and press &amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt;. You can edit the points with &amp;lt;tt&amp;gt;d&amp;lt;/tt&amp;gt; to delete the closest point, &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt; to move the closest point to the position currently under the cursor, or &amp;lt;tt&amp;gt;l&amp;lt;/tt&amp;gt; to delete all the points detected in the slice... in such a case, you probably want to check the tracking parameters before using &amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt; again!&lt;br /&gt;
&lt;br /&gt;
=== Create a surface ===&lt;br /&gt;
&lt;br /&gt;
Now, we want to convert the points that we have introduced into a triangulation. This is a part of the [[Membrane Models#Workflow description| workflow]] used to crop particles from [[membrane models]], so we open the workflow GUI for this model in the &#039;&#039;Active Model&#039;&#039; menu tab. &lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfaceWorkflowCreate.png |thumb|center|400px|  Invoking the workflow editor of active model ]]&lt;br /&gt;
&lt;br /&gt;
We can first check the points currently contained in the model, by auxiliary clicking on the first viewing option and choosing the &#039;&#039;User points&#039;&#039; option. They will be depicted in a graphic window which will update with the new graphical elements that we depict there.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfacePlotPoints.png|thumb|center|600px|  Showing original points in the model workflow GUI ]]&lt;br /&gt;
&lt;br /&gt;
We first need to create a spline interpolation on each of the levels of our point cloud.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfaceControlPoints.png|thumb|center|600px|  Control points are created by spline interpolation. ]]&lt;br /&gt;
&lt;br /&gt;
Now we define a triangulation on  this control points.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvSurfaceCreateTriangulation.png |thumb|center|600px|  Creating a triangulation on the control points ]]&lt;br /&gt;
&lt;br /&gt;
Which can be subdivided to get a smoother appearance, and also a more accurate representation of the geometry.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSurfaceSubdivisionMinimum.png |thumb|center|400px|  A single round of subdivision smoothens the appearance of the lattice ]]&lt;br /&gt;
&lt;br /&gt;
Then, we can change the name of the model for clarity, and then save it into the catalogue (with the disk icon in &amp;lt;tt&amp;gt;tmslice&amp;lt;/tt&amp;gt; or the &#039;&#039;Save into catalogue&#039;&#039; options under the &#039;&#039;Active model&#039;&#039; menu)&lt;br /&gt;
[[ File:FhvSurfaceSaveModel.png |thumb|center|600px|  Renaming a saving a model into the catalogue ]]&lt;br /&gt;
&lt;br /&gt;
=== Use a surface to impart orientation ===&lt;br /&gt;
&lt;br /&gt;
We bring the model into our workspace. We search for it in the catalogue:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcmodels fhv -nc mySurface -ws output&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will prompt the response &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Volume 1. Matching models: 1 (total: 1)&lt;br /&gt;
/Users/casdanie/dynamo/examples/fhvParis/fhv/tomograms/volume_1/models/mySurface.omd&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now, we can read the model file into our memory space to operate with it:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;m = dread(output.files{1});&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the model &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt; is in our space of memory and can be used to impart an orientation to the points in our table.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tOrientedBySurface = dpktbl.triangulation.fillTable(m,&#039;raw.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this table, orientations are orthogonal to the membrane (or more precisely, orthogonal to the closest triangle in the mesh that represents the membrane)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; figure;dslices(&#039;particlesData&#039;,&#039;t&#039;, tOrientedBySurface,&#039;projy&#039;,&#039;c20&#039;,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSlicesPreflipping.png|thumb|center|400px|   Slices along the xz plane as seen by the table]]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tConsistent = dynamo_table_flip_normals(tOrientedBySurface,&#039;center&#039;,m.center)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check the effect of this table on the particles through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices(&#039;particlesData&#039;,&#039;t&#039;, tConsistent,&#039;projy&#039;,&#039;c20&#039;,&#039;align&#039;,1,&#039;labels&#039;,&#039;on&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSlicesPostflipping.png |thumb|center|400px|  Slices along the xz plane as seen by the table, after using the center point to establish the interior side of the surface ]]&lt;br /&gt;
&lt;br /&gt;
To get a better graphical impression, we can depict our surface (contained in the model &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;)  with:&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;tt&amp;gt;m.ezplot&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and choose the &amp;lt;tt&amp;gt;Surface&amp;lt;/tt&amp;gt;option&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSurfaceEzplot.png |thumb|center|400px| Easy way to get all defined plots of a model object.  ]]&lt;br /&gt;
&lt;br /&gt;
Then, we just plot the positions of the particles on the same graphical figure:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtplot(tConsistent,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvMembraneSketchDtplot.png |thumb|center|400px|  &amp;lt;tt&amp;gt;dtplot&amp;lt;/tt&amp;gt; directs its output on the last active figure ]]&lt;br /&gt;
&lt;br /&gt;
==== Management of the missing wedge ====&lt;br /&gt;
&lt;br /&gt;
When we create a table considering only the orientations of the points with relation to a membrane, there is no particular preference for rotations of the particles about the normal direction (i.e., azimuthal directions).  The &amp;lt;tt&amp;gt;narot&amp;lt;/tt&amp;gt; angle in this table is initialized to zero&lt;br /&gt;
&lt;br /&gt;
Thus, take into account that an average created on these particles will have a strong missing wedge, especially in our case, where we have a preferential direction. This can be checked by averaging the particles against this table:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oa=daverage(&#039;particlesData&#039;,&#039;t&#039;, tConsistent,&#039;fc&#039;,1);&amp;lt;/tt&amp;gt;&lt;br /&gt;
Here, we ask (&amp;lt;tt&amp;gt;&#039;fc&#039;,1&amp;lt;/tt&amp;gt;) to run a Fourier compensation step, so that we can check in the output &amp;lt;tt&amp;gt;oa&amp;lt;/tt&amp;gt; the property &amp;lt;tt&amp;gt;fweight&amp;lt;/tt&amp;gt;, which contains the number of times a Fourier component is represented in the average. Bright values mean that the Fourier component is present in many particles (yielding thus an average of better quality for the involved frequencies).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(oa.fweight);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:FhvMembraneMissingWedge.png|thumb|center|400px|   Fourier component presence without azimuthal randomization ]]&lt;br /&gt;
&lt;br /&gt;
We can atenuate this effect by randomizing the rotational angle:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tConsistentRandomized = dynamo_table_randomize_azimuth( tConsistent);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and averaging again.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oaRandomized=daverage(&#039;particlesData&#039;,&#039;t&#039;, tConsistentRandomized,&#039;fc&#039;,1);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, the &amp;lt;tt&amp;gt;fweight&amp;lt;/tt&amp;gt; map doesn&#039;t show such a strongly preferential orientation:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(oaRandomized.fweight);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:FhvMembraneMissingRandomized.png |thumb|center|400px|   Fourier component presence with azimuthal randomization ]]&lt;br /&gt;
&lt;br /&gt;
The effect in direct space can be shown by depicting both averages (with and without randomization side to side)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview({oa.average,oaRandomized.average});&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:FhvMembraneCompareWedges.png |thumb|center|400px| The map on the left shows a worse definition and clear traces of missing Fourier components  ]]&lt;br /&gt;
&lt;br /&gt;
== Project for rotational alignment ==&lt;br /&gt;
&lt;br /&gt;
We have now a template and a coherently defined metadata (i.e. table) that align the particles coarsely along the right direction. We write  them into disk: &lt;br /&gt;
&amp;lt;nowiki&amp;gt;Insert non-formatted text here&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
If you did not create a membrane model, use the results of the alignment project:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(tr,&#039;zOriented.tbl&#039;);&lt;br /&gt;
dwrite(oz.average,&#039;zOriented.em&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you did create a membrane model, used the corresponding table and average:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(tConsistentRandomized,&#039;zOriented.tbl&#039;);&lt;br /&gt;
dwrite(oaRandomized.average,&#039;zOriented.em&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and create a project with these files. Note that the [[data folder]] remains unchanged.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcp.new(&#039;zOriented&#039;,&#039;d&#039;,&#039;particlesData&#039;,&#039;template&#039;,&#039;zOriented.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;zOriented.tbl&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this project, we will ask for a symmetrization &#039;c57&#039;.. this is just to simulate fully rotational symmetry.  We are not assuming that this symmetry is physical: we just want to force any possible symmetry axis in the data along the &#039;&#039;z&#039;&#039; axis. We also keep binning twice the particles, in order to get the computation times short.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvZOrientedParameters.png|thumb|center|500px| Alignment parameters in &amp;lt;tt&amp;gt;zOriented&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
The result shown an incipient formation of the crown... however, the presence of  suspicious striations in a preferential direction might be an indication of the effect of the missing wedge.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvZOrientedMapview.png|thumb|center|500px| Result in  &amp;lt;tt&amp;gt;zOriented&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Project with rotational randomization ==&lt;br /&gt;
&lt;br /&gt;
We can create a template that does not have a prefererential orintation, by just randomizing the azimuthal rotations in our table, We extract the last refined table into the variable &amp;lt;tt&amp;gt;tns&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb zOriented:rt -r tns &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and impose a perturbation that keeps all other parameters constant but randomly rotates the particles around their axis&lt;br /&gt;
 &amp;lt;tt&amp;gt;tr = dynamo_table_perturbation(tns,&#039;pshift&#039;,0,&#039;paxis&#039;,0,&#039;pnarot&#039;,360);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can use this table to average again the particles and check the average.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;oar = daverage(&#039;particlesData&#039;,&#039;t&#039;,tr,&#039;fc&#039;,1);&lt;br /&gt;
dview(oar)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we can write these files in disk and create a project:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dwrite(oar.average,&#039;randomizedAverage.em&#039;);&lt;br /&gt;
dwrite(tr,&#039;randomized.tbl&#039;);&lt;br /&gt;
dcp.new(&#039;zRandomized&#039;,&#039;d&#039;,&#039;particlesData&#039;,&#039;template&#039;,&#039;randomizedAverage.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;randomized.tbl&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FHV zRandomized Parameters.png|thumb|center|600px| Alignment parameters in &amp;lt;tt&amp;gt;zRandomized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
After running this projects, the presence of a crown-like is very, very faintly hinted in mapview:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;zRandomized:a&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvRandomizedFaintHintsMapview.png|thumb|center|500px| Result from  &amp;lt;tt&amp;gt;zRandomized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
and barely identifialble in Chimera:&lt;br /&gt;
&lt;br /&gt;
[[File:FhvZRandomizedChimera.png|thumb|center|500px| Alignment parameters in &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
== Project for localized alignment ==&lt;br /&gt;
&lt;br /&gt;
We don&#039;t see clearly what is happening on the area of interest... On one hand we know that we are using a very reduced number of particles ( which on top of it are too similarly oriented). But there is still some room to improve in the approach: we can focus the refinement in the area of interest.&lt;br /&gt;
&lt;br /&gt;
=== Creating a tight mask ===&lt;br /&gt;
We want to create a mask that encloses the area of interest. To do this, we open the average in &amp;lt;tt&amp;gt;dmapview&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;zRandomized:a&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We tune the browser for viewing along &#039;&#039;y&#039;&#039;, and we select one of the central slices. We can use a thickness of several pixels to have a better view.&lt;br /&gt;
&lt;br /&gt;
Then, we select the area that we want to use as seed in this plane to create a revolution solid. We press on &amp;lt;tt&amp;gt;[shift] + [s] &amp;lt;/tt&amp;gt; on the selected slide, letting a new window pop up. In this window, you handdraw an area on the XZ plane (main click to start drawing, auxiliary click to stop). &#039;&#039;Dynamo&#039;&#039; will rotate the region about the &#039;&#039;z&#039;&#039; axis, creating a revolution solid into the &amp;lt;tt&amp;gt;file temp_drawn_revolution_mask.em&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:fhvHandDrawn.png|thumb|center|500px|  Drawing a revolution mask.]]&lt;br /&gt;
&lt;br /&gt;
We have to change the default name given by &#039;&#039;Dynamo&#039;&#039; to a relevant one:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;!mv temp_drawn_revolution_mask.em teethMask.em&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now continue the previous project by transferring the results of &amp;lt;tt&amp;gt;zRandomized&amp;lt;/tt&amp;gt; to a fresh project (lets call  it &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dynamo_vpr_branch zRandomized localized -b 1 -noise 0&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where we insert the tight mask &amp;lt;tt&amp;gt;teethMask.em&amp;lt;/tt&amp;gt; that we just created as alignment mask of the project. Note that we do &#039;&#039;&#039;not&#039;&#039;&#039; want impose any symmetry in our parameters:&lt;br /&gt;
[[File:FhvParametersLocalized.png|thumb|center|500px| Alignment parameters in &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; project]]&lt;br /&gt;
&lt;br /&gt;
Let&#039;s inspect the output in &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;&lt;br /&gt;
[[File:fhvLocalizedDview.png|thumb|center|800px| Last average in project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; as shown by &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
There are different things that we like in this average&lt;br /&gt;
# The localized masking worked well, producing a clearer insight into the region of relevance&lt;br /&gt;
# Although we are using signal only inside the mask, the material outside of the mask does &#039;&#039;&#039;not&#039;&#039; become smeared. This is clear mark that the alignment is real and non artifactual. That&#039;s an important point to check when we use small masks.&lt;br /&gt;
# The symmetry in the area becomes apparent on the bare eye. They can be distinguished clearly with mapview and even in Chimera.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvLocalizedMapview.png|thumb|center|500px| Last average in project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; as shown by &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
[[File:FhvLocalizedChimera.png|thumb|center|500px| Last average in project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt; as shown by &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
=== Testing the symmetry ===&lt;br /&gt;
&lt;br /&gt;
We can check for different symmetry operators to confirm the presence of symmetry. &lt;br /&gt;
&lt;br /&gt;
==== Basic command ====&lt;br /&gt;
&lt;br /&gt;
The basic command for this task is &amp;lt;tt&amp;gt;dynamo_symmetry_scan&amp;lt;/tt&amp;gt;. In its fundamental syntax, you need to state the type  of symmetry operator to be tested, and a set of operator.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; stm = dynamo_symmetry_scan(&#039;localized:a&#039;,&#039;c&#039;,&#039;order&#039;,3:15,&#039;type&#039;,&#039;pearson&#039;,&#039;nfig&#039;,3); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryGlobal.png|thumb|center|500px| Symmetry detected for different masks]]&lt;br /&gt;
&lt;br /&gt;
With a more localized mask:&lt;br /&gt;
 &amp;lt;tt&amp;gt; slm = dynamo_symmetry_scan(&#039;localized:a&#039;,&#039;c&#039;,&#039;order&#039;,3:15,&#039;type&#039;,&#039;pearson&#039;,&#039;mask&#039;,&#039;teethMask.em&#039;,&#039;nfig&#039;,4);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryLocal.png|thumb|center|500px| Symmetry detected for different masks]]&lt;br /&gt;
&lt;br /&gt;
==== Interpretation of results ====&lt;br /&gt;
&lt;br /&gt;
If you got the results above, you might have jumped to the conclusion that they already constitute an objective hint at a real C12 symmetry. This is, however, not true. The fact is that,  with a slightly different picking of particles, you could have obtained the profiles in these pictures:&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;margin: 0 auto;&amp;quot;&lt;br /&gt;
| [[File:FhvSymmetryGlobalWrong.png|thumb|upright|400px| Symmetry merit plot (global mask) ]]&lt;br /&gt;
| [[File:FhvSymmetryLocalWrong.png|thumb|upright|400px| Symmetry merit plot (local mask) ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These images represent the result of the two symmetry-exploring commands described above obtained by a different user. . Surprisingly, they point at possible symmetry orders of 11 and 13.&lt;br /&gt;
So, what is going on here? How is it possible that two different users that operate exactly the same walkthrough get contradictory symmetry estimations? The reason is that different users will pick manually slightly different particle centers, and this have a direct impact on the symmetry estimation. In short, the problem is that the density map &amp;lt;tt&amp;gt;localized:a&amp;lt;/tt&amp;gt; is not garanteed to have its possible symmetry axis located along the center of the box, and this misleads &amp;lt;tt&amp;gt; dynamo_symmetry_scan&amp;lt;/tt&amp;gt;. This can bechecked by opening the average in &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt; and overlaying the file &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt; on it.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryDecentered.png|thumb|center|500px| Mapview map n file &amp;lt;tt&amp;gt;localized:a &amp;lt;/tt&amp;gt; overlayed with file &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In this non-centered density map, any symmetry determination can only be an artifact. To solve this, we create a centered version: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ddb zOriented:a -r zo % extract average of zOriented as the ws variable zo&lt;br /&gt;
ddb localized:a –r localizedAverage % extract average of localized as the ws variable localized Average&lt;br /&gt;
sal = dalign(localizedAverage,zo,&#039;cr&#039;,0,&#039;cs&#039;,30,&#039;ir&#039;,0,&#039;dim&#039;,64,&#039;limm&#039;,1,&#039;lim&#039;,[20,20,20]); % aligns localizedAverage against zo (like that localizedAverage is centered)&lt;br /&gt;
centerLocalized = sal.aligned_particle;&lt;br /&gt;
dview(centerLocalized); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSymmetryRecenteredView.png|thumb|center|500px| Recentered average (x and y views) ]]&lt;br /&gt;
&lt;br /&gt;
We can scan again the symmetry operators on the recentered volume.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; slmCentered = dynamo_symmetry_scan(centerLocalized,&#039;c&#039;,&#039;order&#039;,3:15,&#039;type&#039;,&#039;pearson&#039;,&#039;mask&#039;,&#039;teethMask.em&#039;,&#039;nfig&#039;,4);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;margin: 0 auto;&amp;quot;&lt;br /&gt;
| [[File:FHVsymmetryRecenteringOldMaskSlice.png|thumb|upright|400px| &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt; overlayed on the recentered average ]]&lt;br /&gt;
| [[File:FHVsymmetryRecenteringOldMaskPlot.png|thumb|upright|400px| Symmetry merit plot after recentering using &amp;lt;tt&amp;gt;&#039;teethMask.em&#039;&amp;lt;/tt&amp;gt; ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Now the peaks located that at 6 and 12 are trustworthy.  You can even create a new mask on the recentered average, carefully excluding intensities from the central ring structure to completely rule out any artefact. &lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;margin: 0 auto;&amp;quot;&lt;br /&gt;
| [[File:FHVSymmetryAdhocMaskOverlay.png|thumb|upright|400px| Mask constructed &#039;&#039;ad hoc&#039;&#039; on the recentered average ]]&lt;br /&gt;
| [[File:FHVSymmetryAdhocMaskPlot.png |thumb|upright|400px| Symmetry merit plot using  &#039;&#039;ad hoc&#039;&#039; constructed mask]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Subboxing ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;subboxing&#039;&#039; technique consists in redefining the area of interest inside a previously defined average. In this example, we have use the full crowns as the subject of alignment and averaging. This has allowed us to use the whole signal carried by the full crown on each of the particles to drive the alignment robustly. This approach, however, will not allow us to identify heterogeneity and flexibility inside the individual crowns. Additionally, the possible hetereogeneity inside the crown will decrease the quality of the alignment when the crown is treated as a whole. &lt;br /&gt;
&lt;br /&gt;
With the &#039;&#039;subboxing&#039;&#039; technique, we can use our previous results to setup an approach that centers the alignment on the individual teeth. Each one the particles in our new data set will be a &#039;&#039;subbox&#039;&#039; (a tooth) extracted from the previos &#039;&#039;box&#039;&#039; (the crown) using the alignment parametes for the full boxes gained by the projects that we have ran so far. &lt;br /&gt;
&lt;br /&gt;
=== Defining a subboxed subunit ===&lt;br /&gt;
&lt;br /&gt;
First, we need to define the location that we want to subbox. We use &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;localized:a&#039;) &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to show the last average in the project &amp;lt;tt&amp;gt;localized&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSelectZ.png|thumb|center|500px| Selecting the center of the tooth subunit with &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
You probably want to explore several views in mapviews (&#039;&#039;x&#039;/&#039;y&#039; and &#039;z&#039;) to make sure you (roughtly) hit the center of the subunit of interest. Guiding yourself only for a view on &#039;&#039;z&#039;&#039; can be misleading.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSelectY.png|thumb|center|500px| Selecting the center of the tooth subunit with &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt; on the &#039;&#039;y&#039;&#039; view]].&lt;br /&gt;
&lt;br /&gt;
As we are in this browser, we can check the size of the subunit that we want to &#039;&#039;subbox&#039;&#039;, using the two markers C and N. This will be useful later when we want to actually crop physical particles using &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt;, when we will be required to input a sidelength for the subboxed data folder.&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSelectDistance.png|thumb|center|500px| Measuring distances in mapview]].&lt;br /&gt;
&lt;br /&gt;
We define a variable to contain the position that we read in mapview for the blue (North) anchor. &lt;br /&gt;
 &amp;lt;tt&amp;gt;rSubunitFromCenter = [88,80,53 ] - [64,64,64]; &amp;lt;/tt&amp;gt;&lt;br /&gt;
We subtract the half sidelength of the full box, because the next command will need the position of the asymmetrical unit expressed in relation to center of the box.&lt;br /&gt;
&lt;br /&gt;
=== Creating a subboxing table ===&lt;br /&gt;
&lt;br /&gt;
We extract the last refined table: &lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb localized:rt -r t&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and define positions related by C12 symmetry along the axis&lt;br /&gt;
 &amp;lt;tt&amp;gt;ts = dynamo_subboxing_table(t,rSubunitFromCenter,&#039;sym&#039;,&#039;c12&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new subboxed table &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt; will have 12 times as many rows as the original one. The system of reference on each particle will point &#039;&#039;z&#039;&#039; in the direction of its original box, but the &#039;&#039;x&#039;&#039; and &#039;&#039;y&#039;&#039; orientations of each tooth will be symmetrically related in the same crown. We can depict this geometrical relationship by plotting a sketch of all the particles in the table:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dtplot(ts,&#039;m&#039;,&#039;sketch&#039;,&#039;sketch_length&#039;,100,&#039;sm&#039;,30);view(-151,12);axis equal;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxSketch.png|thumb|center|500px| Sketch of orientations of the new subboxed table &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt;]].&lt;br /&gt;
&lt;br /&gt;
=== Creating a subboxed data folder ===&lt;br /&gt;
&lt;br /&gt;
Now we have all we need to go back to the original tomogram and crop the subboxed particles into a new data folder using the sidelength that we checked with &amp;lt;tt&amp;gt;mapview&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtcrop(&#039;crop.rec&#039;,ts,&#039;subboxData&#039;,32);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can run our typical sanity check to ensure that everything ran correctly&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;osb = daverage(&#039;subboxData&#039;,&#039;t&#039;,ts,&#039;fc&#039;,1);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To visualize it you can write: &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;tt&amp;gt;dview(osb.average);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxAverage.png|thumb|center|700px| Density map of the average of subboxed teeth]].&lt;br /&gt;
&lt;br /&gt;
As it looks like we expected, we just write it into a file, which we will use to define a new project.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(osb.average,&#039;subboxRaw.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Defining masks ===&lt;br /&gt;
&lt;br /&gt;
There are some tools to quickly format masks for project. If we want to check a reasonable radius for our mask, we can use the &amp;lt;tt&amp;gt;dsphere&amp;lt;/tt&amp;gt; command and overlay the created mask on the template &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;cs = dynamo_sphere(10,32);&lt;br /&gt;
figure;dslices(osb.average,&#039;y&#039;,&#039;ov&#039;,cs,&#039;ovas&#039;,&#039;mask&#039;);&lt;br /&gt;
figure;dslices(osb.average,&#039;ov&#039;,cs,&#039;ovas&#039;,&#039;mask&#039;); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxOverlay.png|thumb|center|700px| Testing the radius of created masks by overlay on template]].&lt;br /&gt;
In fact, this mask is probably too risky: we need a minimum of signal to drive the alignment &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(cs,&#039;maskTooth32.em&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Subboxing project ===&lt;br /&gt;
&lt;br /&gt;
We create the project through:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dcp.new(&#039;subboxBig&#039;,&#039;d&#039;,&#039;subboxData&#039;,&#039;template&#039;,&#039;subboxRaw.em&#039;,&#039;masks&#039;,&#039;default&#039;,&#039;t&#039;,&#039;subboxData/crop.tbl&#039;,&#039;show&#039;,0);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, we use  &amp;lt;tt&amp;gt;&#039;show&#039; 0&amp;lt;/tt&amp;gt; would suppress the [[dcm]] GUI. We use typically this option when we want to enter project parameters through the command line. This is exactly equivalent to entering parameters through the GUI. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dvput subboxBig mask maskTooth32.em&lt;br /&gt;
dvput subboxBig ite_r1 3&lt;br /&gt;
dvput subboxBig cr_r1 4&lt;br /&gt;
dvput subboxBig cs_r1 2&lt;br /&gt;
dvput subboxBig ir_r1 4&lt;br /&gt;
dvput subboxBig is_r1 2&lt;br /&gt;
dvput subboxBig rf_r1 2&lt;br /&gt;
dvput subboxBig rff_r1 2&lt;br /&gt;
dvput subboxBig dim_r1 32&lt;br /&gt;
dvput subboxBig lim_r1 [4,4,4]&lt;br /&gt;
dvput subboxBig limm_r1 1 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A list of the names of the parameters can be displayed through the command &amp;lt;tt&amp;gt;dvhelp&amp;lt;/tt&amp;gt;. The computing environment is set using the &amp;lt;tt&amp;gt;destination&amp;lt;/tt&amp;gt; parameter, shortnamed &amp;lt;tt&amp;gt;dst&amp;lt;/tt&amp;gt;. To run it in matlab use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dvput -dst matlab_parfor&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For standalone running, use:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; dvput -dst standalone&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After running the project, we can check the effect of the independent refinement of the &amp;quot;tooth&amp;quot; units:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dpkdev.legacy.dynamo_mapview(&#039;subboxBig:a:ite=[0,3]&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxRefimentMapview.png|thumb|center|800px| Slice-to-slice comparison of initial template and final average of the subboxing project]].&lt;br /&gt;
&lt;br /&gt;
or send the average to Chimera through:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb subboxBig:a -c &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:FhvSubboxRefimentChimera.png|thumb|center|600px| Density map of the average of subboxed teeth after refinement]].&lt;br /&gt;
&lt;br /&gt;
== Visualization ==&lt;br /&gt;
&lt;br /&gt;
You can continue working on this data in the [[Walkthrough on creation of 3d scenes]], where you will learn to depict tomgraphic slices, place templates in table positions, and depict graphical elements  representing model geometries.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHVDrive&amp;diff=5676</id>
		<title>Template:DownloadLinkFHVDrive</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHVDrive&amp;diff=5676"/>
		<updated>2025-12-03T15:36:16Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/wmbDNPi2YcYFjKb/download?path=%2FDownloadLinkFHVDrive&amp;amp;files=crop.rec&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHV&amp;diff=5675</id>
		<title>Template:DownloadLinkFHV</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkFHV&amp;diff=5675"/>
		<updated>2025-12-03T15:35:19Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/wmbDNPi2YcYFjKb&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkBasicHIVTomo&amp;diff=5674</id>
		<title>Template:DownloadLinkBasicHIVTomo</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkBasicHIVTomo&amp;diff=5674"/>
		<updated>2025-12-03T15:34:03Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/smSJXzxNA2ynw8K&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5673</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5673"/>
		<updated>2025-12-03T15:32:17Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2)&lt;br /&gt;
= Installation of Dynamo and Matlab = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:00|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00|| [[Starters guide (Tsinghua Spring School 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 12:30 - 13:00 || General modeling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:00 - 14:30  || [[Walkthrough_on_filament_models | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model worfklow reuse | Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:30 || [[Walkthrough_on_vesicle_models | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:30 - 16:00 || [[Walkthrough_on_membrane_models | Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:30 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (Tsinghua Spring School 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (Tsinghua Spring School 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (Tsinghua Spring School 2025) | Hands-on tutorial: Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (Tsinghua Spring School 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (Tsinghua Spring School 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 16:00 || [[Walkthrough for GUI-based template matching (Tsinghua Spring School 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:30- 17:30 ||  [[Walkthrough on PCA through the command line (Tsinghua Spring School 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5672</id>
		<title>I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=I2PC_%E2%80%93_Instruct_Course_on_Electron_Tomography_and_Subtomogram_Averaging_2025&amp;diff=5672"/>
		<updated>2025-12-03T15:31:52Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[WalkthroughsSpecific]]&lt;br /&gt;
&lt;br /&gt;
= The course = &lt;br /&gt;
== The venue ==&lt;br /&gt;
This page describes the contents of the &#039;&#039;Dynamo&#039;&#039;-specific part of the course &amp;quot;I2PC – Instruct Course on Electron Tomography and Subtomogram Averaging 2025&amp;quot;, which will take part at the premises of the Centro Nacional de Biotecnología in Madrid, from the 9th to the 12th of December 2025.&lt;br /&gt;
== Contents == &lt;br /&gt;
Whole pipelines for cryo-ET processing will be covered in the Scipion-related area of the course (days 1 and 2)&lt;br /&gt;
= Installation of Dynamo and Matlab = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Time schedule =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Morning) 11th of December&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 09:30 - 10:00|| Hands-on tutorial. First steps and formats.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00|| [[Starters guide (Tsinghua Spring School 2025) | Starters Guide: subtomogram averaging]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 11:00 - 11:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 10:00 - 11:00||  Starters Guide: subtomogram averaging (continuation).&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 12:30 - 13:00 || General modeling&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 3 (Afternoon)  11th of December&lt;br /&gt;
|-&lt;br /&gt;
| 3a ||14:00 - 14:30  || [[Walkthrough_on_filament_models | Models: Filaments]] &amp;lt;br/&amp;gt;  Additional material: [[Walkthrough model worfklow reuse | Coordinated extraction from several filaments]]&lt;br /&gt;
|-&lt;br /&gt;
| 3b || 15:00 - 15:30 || [[Walkthrough_on_vesicle_models | Models: Vesicles ]] &lt;br /&gt;
|-&lt;br /&gt;
| 3c || 15:30 - 16:00 || [[Walkthrough_on_membrane_models | Models: Surfaces ]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 16:30 - 17:30 || [[Getting a Structure from Multiple Tomograms of HIV Capsids (Tsinghua Spring School 2025) | Virus like particles]] or [[Walkthrough for lattices on vesicles (Tsinghua Spring School 2025)| Spherical geometries]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Morning: 12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
| 5a || 09:30 - 09:45 || Presentation of FHV: Advanced starters guide&lt;br /&gt;
|-&lt;br /&gt;
| 5b || 09:45 - 11:00 || [[Complete walkthrough on FHV virus (Tsinghua Spring School 2025) | Hands-on tutorial: Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee  || 11:00 - 11:30 || Coffee break &lt;br /&gt;
|-&lt;br /&gt;
| 5b || 11:30 - 12:00 ||   Hands-on tutorial: Advanced starters guide (continued)&lt;br /&gt;
|-&lt;br /&gt;
| 6a || 12:00 - 12:20 || [[Walkthrough on manual marker clicking (Tsinghua Spring School 2025) | Alignment of tilt series: Manual]] &lt;br /&gt;
|-&lt;br /&gt;
| 6b || 12:20 - 12:40 || [[Walkthrough on GUI based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: GUI ]]&lt;br /&gt;
|-&lt;br /&gt;
| 6c || 12:40 - 13:00 || [[Walkthrough on command line based tilt series alignment (Tsinghua Spring School 2025) | Alignment of tilt series: command line]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ Day 4, Afternoon session:  12th of December (Friday)&lt;br /&gt;
|-&lt;br /&gt;
! Module !! Time !! Subject&lt;br /&gt;
|-&lt;br /&gt;
| 7a || 14:00 - 15:00 || [[Walkthrough for template matching (Tsinghua Spring School 2025) | Template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| 7b || 15:00 - 16:00 || [[Walkthrough for GUI-based template matching (Tsinghua Spring School 2025) | Geometry aware template Matching]]&lt;br /&gt;
|-&lt;br /&gt;
| coffee || 16:00 - 16:30 || Coffee Break&lt;br /&gt;
|-&lt;br /&gt;
| 8  || 16:30- 17:30 ||  [[Walkthrough on PCA through the command line (Tsinghua Spring School 2025)| Principal Component Analysis ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Instructors =&lt;br /&gt;
* Daniel Castano-Diez (CSIC Bilbao, Spain).&lt;br /&gt;
* Raffaele Coray (CSIC Bilbao, Spain).&lt;br /&gt;
* Laura García-Cornejo (CSIC Bilbao, Spain).&lt;br /&gt;
* Andrés Molina (CSIC Bilbao, Spain).&lt;br /&gt;
* Miguel Sánchez López-Cuervo (CSIC Bilbao, Spain).&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Walkthrough_for_GUI-based_template_matching_(Tsinghua_Spring_School_2025)&amp;diff=5671</id>
		<title>Walkthrough for GUI-based template matching (Tsinghua Spring School 2025)</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Walkthrough_for_GUI-based_template_matching_(Tsinghua_Spring_School_2025)&amp;diff=5671"/>
		<updated>2025-12-03T15:31:29Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:WalkthroughsSpecific]]&lt;br /&gt;
&lt;br /&gt;
== Template matching ==&lt;br /&gt;
&lt;br /&gt;
In this technique, a template representing a molecule of interest is systematically cross-correlated against a tomogram, producing a &#039;&#039;cross-correlation map&#039;&#039; of the tomogram. Each pixel in this map represents a score assigned the corresponding pixel in the tomogram map. This score measures the similarity of the neighbourhood of the tomogram pixel to the used template.&lt;br /&gt;
This similarity is measured exclusively inside a mask.&lt;br /&gt;
&lt;br /&gt;
Model-aware template matching is meant as an extension of the normal template matching algorithm in Dynamo. The main change introduced in model-aware template matching is that the tomogram is split in chunks that are meant to be meaningful from the point of view of the tomogram models. This allows for the reduction of needed computation by restricting the angular combinations of the template to be scanned. &lt;br /&gt;
&lt;br /&gt;
In this walkthrough, the methods to manually manipulate these chunk is introduced.&lt;br /&gt;
&lt;br /&gt;
Walkthroughs on [[Walkthrough for template matching | basic TM]] in Dynamo and [[Walkthrough for model-aware template matching | model-aware TM]] are also available.&lt;br /&gt;
&lt;br /&gt;
== Data set ==&lt;br /&gt;
&lt;br /&gt;
In this course, the data for this walkthrough is in:&lt;br /&gt;
 &amp;lt;tt &amp;gt; /mnt/fs/2025workshop/Users/user**/Data/DownloadLinkTemplateMCP/&amp;lt;/tt&amp;gt;&lt;br /&gt;
and the tomogram with the data is in the link:&lt;br /&gt;
 &amp;lt;tt &amp;gt; /mnt/fs/2025workshop/Users/user**/Data/DownloadLinkTemplateMCP/fullReconstructionWBPCTFDW.mrc &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Getting the data ===&lt;br /&gt;
Currently the data necessary to tun this walkthrough can be downloaded using the link:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--https://drive.google.com/file/d/1ME2r6cDw6_sJVtFPTFTgOVBWIuQn44Wl/view?usp=drive_link--&amp;gt;&lt;br /&gt;
{{Template:DownloadLinkTemplateMCP}}&lt;br /&gt;
&lt;br /&gt;
It consists in: a tomogram fullReconstructionWBPCTFDW.mrc, a template templateMCP.mrc, a mask maskMCP.mrc and a fourier mask fmaskMCP.mrc.&lt;br /&gt;
&lt;br /&gt;
=== Tomogram description ===&lt;br /&gt;
&lt;br /&gt;
The tomogram contains Bdellovibrio bacteriovorus acquired by fast-incremental method. The tomogram has been generated using the tilt series from EMPIAR dataset entry 10226. The pixel size is 2.743 Å. The tomogram has been generated around an area of the bacteria presenting methyl-accepting chemotaxis protein (MCP) arrays. The template an average of MCP array.&lt;br /&gt;
&lt;br /&gt;
=== Acknowledgements ===&lt;br /&gt;
&lt;br /&gt;
The tomogram has been generated using the tilt series from EMPIAR dataset entry 10226 described in the paper &amp;quot;Chreifi, G., Chen, S., Metskas, L. A., Kaplan, M., &amp;amp; Jensen, G. J. (2019b). Rapid tilt-series acquisition for electron cryotomography. Journal of Structural Biology, 205(2), 163–169. https://doi.org/10.1016/j.jsb.2018.12.008&amp;quot;. The alignment and reconstruction was done using the [[Walkthrough on GUI based tilt series alignment | Dynamo AWF procedure]] as detailed in &amp;quot;Coray, R., Navarro, P., Scaramuzza, S., Stahlberg, H., &amp;amp; Castaño-Díez, D. (2024). Automated fiducial-based alignment of cryo-electron tomography tilt series in Dynamo. Structure, 32(10), 1808-1819.e4. https://doi.org/10.1016/j.str.2024.07.003&amp;quot;. The template has been generated by STA as described in the same paper.&lt;br /&gt;
&lt;br /&gt;
=== Visualizing the tomogram ===&lt;br /&gt;
&lt;br /&gt;
The tomogram can be found in the path with:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tomofile = &#039;fullReconstructionWBPCTFDW.mrc&#039;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can get a first glance on how the tomogram looks like:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dshow(tomofile);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tomogram should appear like the following figure. Note the MCP arrays on the inner membrane of the bacteria.&lt;br /&gt;
[[ File:tomogram_dshow_TM_MCP.png |thumb|center|500px| &amp;lt;tt&amp;gt;dshow&amp;lt;/tt&amp;gt; on the tomogram, View along &#039;&#039;z&#039;&#039; ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Estimation of the missing wedge ====&lt;br /&gt;
&lt;br /&gt;
We can quickly check the extent of the missing wedge in the tomogram. We extract a sample of the tomogram:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;fragment = dynamo_read_subtomogram(tomofile, &#039;r&#039;,128,&#039;c&#039;,[450,450,450]); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and plot a map of the distribution of the Fourier coefficients:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dynamo_wedge_estimate(fragment,&#039;show&#039;,1); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The wedge estimation will show a bi-directional tilt-series acquisition by fast-incremental from around -60 to 60 degrees. &lt;br /&gt;
[[ File:missing_wedge_MCP.png |thumb|center|500px| Estimation of the missing wedge]]&lt;br /&gt;
&lt;br /&gt;
=== Inspecting the template and mask ===&lt;br /&gt;
&lt;br /&gt;
In this walkthrough, a template and its mask are already provided. The template was generated by averaging ~50000 particles aligned with Dynamo. &lt;br /&gt;
&lt;br /&gt;
The template can be loaded by:&lt;br /&gt;
 &amp;lt;tt&amp;gt;av = dread(&#039;templateMCP.mrc&#039;); &amp;lt;/tt&amp;gt;&lt;br /&gt;
And the mask can be loaded by:&lt;br /&gt;
 &amp;lt;tt&amp;gt;mask = dread(&#039;maskMCP.mrc&#039;); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template and mask positioning can be inspected with:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dshow(av+mask); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:template_mask_MCP.png |thumb|center|500px| Template with its mask, View along &#039;&#039;Z&#039;&#039; ]]&lt;br /&gt;
&lt;br /&gt;
[[ File:template_mask_MCP_Y.png |thumb|center|500px| Template with its mask, View along &#039;&#039;Y&#039;&#039; ]]&lt;br /&gt;
&lt;br /&gt;
Note the membrane bilayer on which the MCP array is present is at the bottom of the template. The bacterial cytoplasm would be at the top of the template.&lt;br /&gt;
&lt;br /&gt;
== Description of basic chunk manipulations ==&lt;br /&gt;
&lt;br /&gt;
The GUI for chunk manipulation is &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; with a tomogram as input. It has a tab called Template Matching in the top bar of the GUI.&lt;br /&gt;
It is through this tab that general attributes of chunks distributions and TM processes can be manipulated.&lt;br /&gt;
Additionally, each chunk has its own attributes (such as position and size) that can be manipulated after they are created.&lt;br /&gt;
&lt;br /&gt;
[[ File:general_GUI_MCP.png |thumb|center|500px| &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; and template match tab.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Chunk creation ===&lt;br /&gt;
&lt;br /&gt;
Create a chunk by pointing the cursor on the tomogram and pressing the &amp;quot;B&amp;quot; key.&lt;br /&gt;
[[ File:newchunk_GUI_MCP.png |thumb|center|500px| Newly created chunk.]]&lt;br /&gt;
&lt;br /&gt;
Multiple chunks can be created by pressing the &amp;quot;B&amp;quot; key again. A chunk can be deleted by right-clicking it and selecting &amp;quot;Delete box&amp;quot;. This will also update the number of existing chunks noted in the Template Matching tab.&lt;br /&gt;
&lt;br /&gt;
[[ File:delete_chunk_MCP.png |thumb|center|500px| Delete options for chunks.]]&lt;br /&gt;
&lt;br /&gt;
Each created chunk is represented with a colored box indicating its position, size and orientation in the tomogram. The coordinate system defined by each chunk is noted by the colored axis. The X axis is magenta, the Y axis is green and the Z axis is black.&lt;br /&gt;
[[ File:chunk_axis_MCP.png |thumb|center|500px| Close-up of a new chunk.]]&lt;br /&gt;
&lt;br /&gt;
=== Basic chunk manipulations ===&lt;br /&gt;
&lt;br /&gt;
Resize a chunk by clicking an edge and dragging it with the cursor. The figure shows the chunk being increased in size along all directions.&lt;br /&gt;
[[ File:chunk_resizing_MCP.png |thumb|center|500px| Chunk during resizing operation.]]&lt;br /&gt;
&lt;br /&gt;
Move a chunk by shift-clicking an edge and dragging it with the cursor.  The figure shows the chunk being moved along its Z direction.&lt;br /&gt;
[[ File:chunk_moving_MCP.png |thumb|center|500px| Chunk during moving operation.]]&lt;br /&gt;
&lt;br /&gt;
Rotate a chunk by alt-clicking an edge and dragging it with the cursor.&lt;br /&gt;
[[ File:chunk_rotating_method1_MCP.png |thumb|center|500px| Chunk during change of chunk orientation by alt-click.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This can also be done by right-clicking the chunk and then selection the option &amp;quot;Change chunk orientation (into an oblique view)&amp;quot;. This will spawn a interactable lever that can rotate the chunk in any direction.&lt;br /&gt;
[[ File:chunk_rotating_method2_before_MCP.png |thumb|center|500px| Selection of chunk orientation by lever.]]&lt;br /&gt;
[[ File:chunk_rotating_method2_after_MCP.png |thumb|center|500px| Chunk during change of chunk orientation by lever.]]&lt;br /&gt;
&lt;br /&gt;
=== Chunk inspection ===&lt;br /&gt;
&lt;br /&gt;
The tomogram data included in a chunk can be inspected by right-clicking the chunk and selecting &amp;quot;show chunk (in tomoshow)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The data can also be inspected through a chunk-specific template match process that will be described in the following sections&lt;br /&gt;
&lt;br /&gt;
=== Chunk cone setting ===&lt;br /&gt;
The chunk cone orientation is the direction around which a template would be oriented during template match. It can be seen as the most probable direction that copies of the template present in the volume defined by the chunk. The graphical object allowing changes in the cone orientation is accessible by right-clicking a chunk as in the next figure.&lt;br /&gt;
&lt;br /&gt;
[[ File:cone_rotating_before_MCP.png |thumb|center|500px| Selection of cone orientation.]]&lt;br /&gt;
&lt;br /&gt;
The graphical object has some functionalities that can be accessed by right-clicking it as in the next figure.&lt;br /&gt;
&lt;br /&gt;
[[ File:cone_rotating_options_MCP.png |thumb|center|500px| Option for cone orientation.]]&lt;br /&gt;
&lt;br /&gt;
The cone orientation is changed by dragging the lever as in the following figure. Once the cone orientation is satisfactory, the lever graphical object should be removed by pressing the &amp;quot;Delete rotation frame&amp;quot; option shown in the previous figure.&lt;br /&gt;
&lt;br /&gt;
[[ File:cone_rotating_after_MCP.png |thumb|center|500px| Change of cone orientation.]]&lt;br /&gt;
&lt;br /&gt;
=== Per-chunk TM ===&lt;br /&gt;
&lt;br /&gt;
As mentioned before, it is possible to run a TM project on a chunk directly from the GUI. This can be done by right-click the chunk and select &amp;quot;Launch TM process for this chunk&amp;quot;. However, more parameters are necessary than only the chunk positions, size, orientation and cone orientation. These parameter can be accessed by selecting the &amp;quot;Template Matching&amp;quot; option on the top bar of the GUI and clicking &amp;quot;Settings for template match process&amp;quot; as in the next figure.&lt;br /&gt;
&lt;br /&gt;
[[ File:access_TM_setting_GUI.png |thumb|center|500px| How to access the TM parameters GUI.]]&lt;br /&gt;
&lt;br /&gt;
The TM parameter GUI is initially blank and need to be filled to be able to run a per-chunk TM. The main advantage of per-chunk TM is that it can be done directly from the GUI and on any type of chunk, including oblique chunks.&lt;br /&gt;
[[ File:blank_TM_setting_GUI.png |thumb|center|500px| Blank TM parameter GUI.]]&lt;br /&gt;
&lt;br /&gt;
It should be noted that the area of the chunk that will generate valid cross-correlation scores is reduced by half of the size of the template in all directions.&lt;br /&gt;
&lt;br /&gt;
== Relationship between GUI models and tessellations ==&lt;br /&gt;
&lt;br /&gt;
The GUI allows the creation and manipulation of tessellation with the tool mentioned in the previous section. However, these tessellations will be saved or loaded from .omd files. This can be done from the &amp;quot;Template Matching&amp;quot; tab in the GUI with the options &amp;quot;Save chunk distribution&amp;quot; and &amp;quot;Load chunk distribution from .omd file&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
However, TM processes require a tessellation in either table or dStar format as described in the tutorial [[Walkthrough for model-aware template matching | on model-aware template matching]]. This difference in format exists because .omd file tessellations are simplified so that their representations in the GUI would not be cumbersome. As such two converting functions are available in the Dynamo TM package:&lt;br /&gt;
&lt;br /&gt;
The function &amp;lt;tt&amp;gt;dpktomo.match.modelling.createTesselationFromGUIomd&amp;lt;/tt&amp;gt; converts an .omd tessellation into a dStar tessellation ready for &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
The function &amp;lt;tt&amp;gt;dpktomo.match.modelling.saveTesselationAsGUIomd&amp;lt;/tt&amp;gt; converts a dStar tessellation into an object that can be saved as a .omd file with &amp;lt;tt&amp;gt;dwrite&amp;lt;/tt&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Walkthrough on chunk manipulation ==&lt;br /&gt;
&lt;br /&gt;
In this walkthrough the basic function described before will be used to create a tesselation and run a model-aware TM project. Additionally, on per-chunk TM will be tested with different cones.&lt;br /&gt;
&lt;br /&gt;
=== Chunk setup ===&lt;br /&gt;
&lt;br /&gt;
First, if not done already, open the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI with the tomogram.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmslice(&#039;fullReconstructionWBPCTFDW.mrc&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, create a single chunk in the top area of the bacteria presenting an MCP array. For now, do not use oblique chunks.&amp;lt;br&amp;gt;&lt;br /&gt;
Ensure the chunk is thick enough to include the MCP array area even considering the template size.&amp;lt;br&amp;gt;&lt;br /&gt;
Rescale and shift the chunk until a configuration similar to the following figure is reached. The cone orientation will be left as the default one for now (that is, collinear to the Z axis of the tomogram).&lt;br /&gt;
[[ File:first_chunk_position_MCP.png |thumb|center|500px| Position of first chunk.]]&lt;br /&gt;
&lt;br /&gt;
=== Global TM ===&lt;br /&gt;
&lt;br /&gt;
In this first experiment, an per-chunk TM with isotropic angular scanning will be used.&amp;lt;br&amp;gt;&lt;br /&gt;
Howver, first it is necessary to set up the global TM parameters from the GUI. Update the GUI as in the following figure.&lt;br /&gt;
[[ File:settings_TM_GUI_360_MCP.png |thumb|center|500px| TM parameters for isotropic angular scans.]]&lt;br /&gt;
&lt;br /&gt;
This setup will allow the GUI to access template, mask and missing wedge mask. The scanning ranges are 360 degrees to ensure isotropic angular scans. The angular scanning steps are set to 10 to allow fine enough sampling to achieve good cross-correlation maps. The binning is set to 2 to speed up calculations.&amp;lt;br&amp;gt;&lt;br /&gt;
It is preferable to compute using GPUs for computing speed. Only one GPU is required. If more than one GPU are accessible by MATLAB, their corresponding id numbers can be checked with the MATLAB command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;gpuDeviceTable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The per-chunk TM can then by launched. Right-click the chunk and select &amp;quot;Launch TM process for this chunk&amp;quot;. This will automatically create a folder called &amp;quot;chunkTM.CTM&amp;quot; containing the oblique chunk and its resulting TM process.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, inspect the resulting cross-correlation map. In the created folder this can be done by:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dshow(&#039;process.TM/cc.mrc&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:CC_first_chunk_360_MCP.png |thumb|center|500px| Resulting CC map.]]&lt;br /&gt;
&lt;br /&gt;
=== Cone-restricted TM ===&lt;br /&gt;
&lt;br /&gt;
One of the main advantages of tesselation is that each chunk can limit the number of scanning angles by exploiting the know general orientation of the particle of interest present in the chunk area. This information is encoded in the cone orientation of each chunk. In this case, we know that the chunk is positioned on the top of the bacteria presenting the MCP arrays. This means that the MCP template is expected to identify the MCP array when it is oriented towards the bottom of the chunk. As such, updated the chunk orientation appropriately like in the following figure.&lt;br /&gt;
[[ File:first_chunk_correct_cone_MCP.png |thumb|center|500px| Position of first chunk with proper cone orientation.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The general TM parameters must be updated as well. In particular the cone range should be reduced from 360 degrees to 60 degrees.&lt;br /&gt;
&lt;br /&gt;
[[ File:settings_TM_GUI_60_MCP.png |thumb|center|500px| TM parameters for cone-limited angular scans.]]&lt;br /&gt;
&lt;br /&gt;
The per-chunk TM can then by launched and inspect the resulting cross-correlation map. In the created folder this can be done as before:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dshow(&#039;process.TM/cc.mrc&#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The map will look similar to the previous per-chunk TM, but the computing time will be reduced by a factor of 10.&lt;br /&gt;
&lt;br /&gt;
[[ File:CC_first_chunk_correct_cone_MCP.png |thumb|center|500px| Resulting CC map with limited angular cone.]]&lt;br /&gt;
&lt;br /&gt;
It must be noted that cone orientation can be used to test if sets of template orientations are not present. For example, we it is not expected that the MCP array on top of the bacteria will be horizontal. Update the chunk orientation like in the following figure. &lt;br /&gt;
[[ File:first_chunk_wrong_cone_MCP.png |thumb|center|500px| Position of first chunk with incorrect cone orientation.]]&lt;br /&gt;
&lt;br /&gt;
The per-chunk TM can then by launched and inspect the resulting cross-correlation map. The cross-correlation map shows a lack of matches for the scanned orientations, as expected.&lt;br /&gt;
[[ File:CC_first_chunk_wrong_cone_MCP.png |thumb|center|500px| Resulting CC map with limited angular cone oriented incorrectly.]]&lt;br /&gt;
&lt;br /&gt;
== Walkthrough on tessellation generation ==&lt;br /&gt;
&lt;br /&gt;
Tessellation are sets of chunks an cone orientations designed to be used by &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt; for advantageous TM. Here, the process to create and uses tesselations by GUI is shown.&lt;br /&gt;
&lt;br /&gt;
=== Add more chunks ===&lt;br /&gt;
&lt;br /&gt;
Firstly, add two new chunks with their cone orientations with the GUI as in the following figure. In total three non-oblique chunks are created.&lt;br /&gt;
&lt;br /&gt;
[[ File:full_tesselation_MCP.png |thumb|center|500px| Positions of multiple chunks with their cones.]]&lt;br /&gt;
&lt;br /&gt;
Now, save the tesselation to disk by pressing the &amp;quot;Save chunk distribution&amp;quot; in the &amp;quot;Template Match&amp;quot; tab. This will create a file &amp;lt;tt&amp;gt;tesselation.omd&amp;lt;/tt&amp;gt; to disk.&lt;br /&gt;
&lt;br /&gt;
=== Generate a tesselation ===&lt;br /&gt;
&lt;br /&gt;
As mentioned before, a .omd file need ot be converted to a star object to be an accepted input of &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
The conversion can be done by:&lt;br /&gt;
 &amp;lt;tt&amp;gt;star = dpktomo.match.modelling.createTesselationFromGUIomd(&#039;tesselation.omd&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The values encoded in the star object cen be inspected with:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;star.tbl&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The properties will look similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    index     tdrot      tilt       narot      posX      posY      posZ     sizeX     sizeY     sizeZ     coneRange    inplaneRange&lt;br /&gt;
    _____    _______    _______    _______    ______    ______    ______    ______    ______    ______    _________    ____________&lt;br /&gt;
&lt;br /&gt;
      1      -156.91    -160.25     156.91    702.55    743.66    564.27    515.44     397.2     270.9       60            360     &lt;br /&gt;
      2       147.92    -97.808    -147.92    912.01    455.29    326.33    414.75    387.03    242.75       60            360     &lt;br /&gt;
      3      -51.289    -78.113     51.289     486.3       883    322.65    455.65    549.42    282.14       60            360&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Run model-aware TM with manual tessellation ===&lt;br /&gt;
&lt;br /&gt;
Finally, a full model-aware TM process can be run.&lt;br /&gt;
 &amp;lt;tt&amp;gt;pts_GPU = dynamo_match(&#039;fullReconstructionWBPCTFDW.mrc&#039;,&#039;templateMCP.mrc&#039;,&#039;mask&#039;,&#039;maskMCP.mrc&#039;,...&lt;br /&gt;
 &#039;outputFolder&#039;,&#039;MCP_tesselation&#039;,...&lt;br /&gt;
 &#039;ytilt&#039;,[-60,60],&#039;is&#039;,10,&#039;cs&#039;,10,&#039;bin&#039;,2,&#039;mw&#039;,10,&#039;gpus&#039;,1,&#039;tilingTable&#039;,star);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The resulting TM object pts_GPU can be then used as in the tutorials [[Walkthrough for template matching | on basic TM]] and [[Walkthrough for model-aware template matching | model-aware TM]].&lt;br /&gt;
&lt;br /&gt;
== Additional functionalities ==&lt;br /&gt;
&lt;br /&gt;
Two other functionalities will be introduced in this section. First, an per-chunk TM with an oblique chunk and then a conversion of &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt; tesselation into an .omd file ready to be loaded in the GUI.&lt;br /&gt;
&lt;br /&gt;
=== Oblique chunks ===&lt;br /&gt;
&lt;br /&gt;
Oblique chunks are currently not supported by &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt;. However, per-chunk TM can be done on oblique chunks.&lt;br /&gt;
First, create an oblique chunk with appropriate cone orientation like in the following figure.&lt;br /&gt;
&lt;br /&gt;
[[ File:oblique_chunk_position_MCP.png |thumb|center|500px| Oblique chunk with correct cone.]]&lt;br /&gt;
&lt;br /&gt;
Per-chunk TM can then by run as in the previous sections.&lt;br /&gt;
&lt;br /&gt;
[[ File:CC_oblique_chunk_correct_cone_MCP.png |thumb|center|500px| Resulting CC map with limited angular cone on oblique chunk.]]&lt;br /&gt;
&lt;br /&gt;
=== Manipulation a tessellation with the GUI ===&lt;br /&gt;
&lt;br /&gt;
The GUI can save and load .omd files, allowing of their manipulation and as such, the manipulations of tesselations.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a tesselation is available as a star object, it can be converted in a .omd object with:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;newomd = dpktomo.match.modelling.saveTesselationAsGUIomd(star);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be save to disk as usual:&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(newomd,&#039;tesselation_back.omd&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new .omd file can then be loaded by the GUI.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that tesselations can be generated automatically with the functions: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;dpktomo.match.modelling.estimateTesselationForFilament&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;tt&amp;gt;dpktomo.match.modelling.estimateTesselationForMembrane&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;tt&amp;gt;dpktomo.match.modelling.estimateTesselationForDipole&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
and the creator of tesselation star objects:&lt;br /&gt;
&amp;lt;tt&amp;gt;dpktomo.match.modelling.setUpTilingTable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information on this can be found in the tutorial [[Walkthrough for model-aware template matching | on model-aware template matching]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Programmatic GUI customization for template matching ===&lt;br /&gt;
&lt;br /&gt;
It is possible to add custom functionalities to the GUI as described in the [[Programmatic GUI customization for template matching | corresponding tutorial]].&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkAWFHIV1TS&amp;diff=5670</id>
		<title>Template:DownloadLinkAWFHIV1TS</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkAWFHIV1TS&amp;diff=5670"/>
		<updated>2025-12-03T15:27:38Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/rWWRdGkYmbntywB&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkAWFHIV1TS&amp;diff=5669</id>
		<title>Template:DownloadLinkAWFHIV1TS</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinkAWFHIV1TS&amp;diff=5669"/>
		<updated>2025-12-03T15:26:53Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/rWWRdGkYmbntywB/download?path=%2F&amp;amp;files=b001ts001.mrc&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Walkthrough_on_localized_reconstruction&amp;diff=5668</id>
		<title>Walkthrough on localized reconstruction</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Walkthrough_on_localized_reconstruction&amp;diff=5668"/>
		<updated>2025-12-03T15:24:46Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Full resolution reconstruction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Walkthroughs]]&lt;br /&gt;
&lt;br /&gt;
In this walkthrough, we use &#039;&#039;localized reconstruction&#039;&#039; to reconstruct a set of  subtomograms at full pixel resolution without the requirement of creating a full reconstruction first.&lt;br /&gt;
In this approach, we:&lt;br /&gt;
* create a reconstruction at low resolution&lt;br /&gt;
* mark the coordinates of interest in the low resolution reconstruction&lt;br /&gt;
* reconstruct separately the different coordinates at full resolution&lt;br /&gt;
&lt;br /&gt;
For the sake of simplicity, in this walkthrough, the landmarks of interest will be simply the gold beads, which are trivially recognizable both in tomograms and in projections in the tilt series.&lt;br /&gt;
&lt;br /&gt;
== Example data set ==&lt;br /&gt;
The data set is an &#039;&#039;aligned&#039;&#039; tilt series. No filtering has been performed on it.&lt;br /&gt;
&lt;br /&gt;
=== Source ===&lt;br /&gt;
The tilt series was used in the publication &#039;&#039;Cryo-EM structure of the extended type VI secretion system sheath-tube complex&#039;&#039; (J Wang et. al - Nature microbiology, 2017).&lt;br /&gt;
&lt;br /&gt;
=== Download tilt series file===&lt;br /&gt;
The aligned tilt series  can be download with the command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;wget  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/t6ss/vc17_align.mrc &amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget  {{Template:DownloadLinklocResaliTS}} &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a linux shell, or through: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--&amp;lt;tt&amp;gt;curl -O  https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/t6ss/vc17_align.mrc&amp;lt;/tt&amp;gt;--&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;curl -O  {{Template:DownloadLinklocResaliTS}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
under MacOS.&lt;br /&gt;
&lt;br /&gt;
This will create a file called &amp;lt;tt&amp;gt;vc17_align.ali&amp;lt;/tt&amp;gt; in your current working directory. The tilt angles go from -60 to 60 in intervals of 3 degrees.&lt;br /&gt;
&lt;br /&gt;
The file can be brought into memory through the command&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ts = dread(&#039;vc17_align.ali&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
creating the variable &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt; (name has been chosen arbitrarily) which contains the tilt series as a numerical matrix.&lt;br /&gt;
&lt;br /&gt;
=== Inspecting the tilt series === &lt;br /&gt;
&lt;br /&gt;
The tilt series at full pixel resolution can be inspected by:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmshow(ts)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:LocalizedProjectionDtmshowFullZoomed.png |thumb|center|800px|  &amp;lt;tt&amp;gt;tmshow&amp;lt;/tt&amp;gt; of raw tilt series ]]&lt;br /&gt;
&lt;br /&gt;
==== Prebinning during inspection ====&lt;br /&gt;
You will notice that inspecting the full series in &amp;lt;tt&amp;gt;dtmshow&amp;lt;/tt&amp;gt; is bound to rather slow transitions. It is more convenient to bin the images to a smaller bin level.  This can be done by switching on the binning radiobutton. Thus, the accessed slices will be binned on the fl when required.&lt;br /&gt;
&lt;br /&gt;
Note that the coordinates of the axis are kept to the dimension of the unbinned tilt series.&lt;br /&gt;
&lt;br /&gt;
Also, it is possible to create a prebinned version of the stack for different binning levels, so that the slice is accessed already in its prebinned dimension. This can be done after &amp;lt;tt&amp;gt;dtmshow&amp;lt;/tt&amp;gt; has been initialized&lt;br /&gt;
&lt;br /&gt;
or already when starting it (at the cost of an slower initialization)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmshow(ts,&#039;bz&#039;,3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:LocalizedProjectionDtmshowBinnedZoomed.png |thumb|center|500px|  &amp;lt;tt&amp;gt;tmshow&amp;lt;/tt&amp;gt; of 3x binned tilt series ]]&lt;br /&gt;
&lt;br /&gt;
=== Geometric conventions ===&lt;br /&gt;
&lt;br /&gt;
In &#039;&#039;Dynamo&#039;&#039;, we call &#039;&#039;stack 3d center&#039;&#039;  to a point (x&amp;lt;sub&amp;gt;sc&amp;lt;/sub&amp;gt;, y&amp;lt;sub&amp;gt;sc&amp;lt;/sub&amp;gt;,z&amp;lt;sub&amp;gt;sc&amp;lt;/sub&amp;gt;) univocally defined by a stack of micrographs:&lt;br /&gt;
* &#039;&#039;x&amp;lt;sub&amp;gt;sc&amp;lt;/sub&amp;gt;&#039;&#039; and &#039;&#039;z&amp;lt;sub&amp;gt;sc&amp;lt;/sub&amp;gt;&#039;&#039; and determined by the rotation axis implicitly defined by the alignment.&lt;br /&gt;
*  &#039;&#039;y&amp;lt;sub&amp;gt;sc&amp;lt;/sub&amp;gt;&#039;&#039; is the center of the stack along direction &#039;&#039;y&#039;&#039;, defined as &amp;lt;tt&amp;gt;floor(Ny/2)+0.5;&amp;lt;/tt&amp;gt; for a tilt series with Ny pixels along &#039;&#039;y&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Creation of a binned reconstruction ==&lt;br /&gt;
&lt;br /&gt;
=== Binned tilt series ===&lt;br /&gt;
&lt;br /&gt;
We bin the original tilt series:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sbin = dpktilt.bin(ts,3);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command applies a binning of level two to the micorgraphs in the matrix &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt; separately. Note that the dimensions of the new matrix are floor( [sx,sy]/2&amp;lt;sup&amp;gt;2&amp;lt;2&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Filtered  tilt series ===&lt;br /&gt;
&lt;br /&gt;
In this walkthrough, we use Weighted Backprojection as reconstruction algorithm. We apply here the simplest possible  filter onto the original projections: a ramp filter.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;tt&amp;gt;sf = dpktomo.rec.applyRampFilter(sbin);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reconstruction ===&lt;br /&gt;
&lt;br /&gt;
As we have binned the tiltseries,  a reconstruction at the full extent of the tomogram  will fit easily in memory. We need to chose a size of the output tomogram, expressed in pixels of the stack&lt;br /&gt;
By default, the center of the reconstructed volume will be located at the stack 3d center.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;tiltAngles = -60:3:60; &amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; outputBP = dpktilt.math.backproject([400,300,200],sf,tiltAngles);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reconstruction can be normally accessed through the field &amp;lt;tt&amp;gt;rec&amp;lt;/tt&amp;gt; in the output.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmshow(outputBP.rec);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:LocalizedProjectionDtmshowRec.png  |thumb|center|800px|  &amp;lt;tt&amp;gt;tmshow&amp;lt;/tt&amp;gt; on the reconstruction, &#039;&#039;z&#039;&#039; and &#039;&#039;x&#039; views ]]&lt;br /&gt;
&lt;br /&gt;
In order to store this tomogram into a file, type:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dwrite(outputBP.rec,&#039;temp.mrc&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Reconstruction options ====&lt;br /&gt;
The command &amp;lt;tt&amp;gt;dpktilt.math.backproject&amp;lt;/tt&amp;gt; allows several modifications. The most used ones are: &lt;br /&gt;
* &amp;lt;tt&amp;gt; &#039;mw&#039;&amp;lt;/tt&amp;gt; to use several cores working in parallel.&lt;br /&gt;
* &amp;lt;tt&amp;gt;&#039;maxGb&#039;&amp;lt;/tt&amp;gt; to state the maximum size that can be kept at once in memory. If the reconstruction needs more space, it will be computed in chunks along z. Each chunk will be computed separately and immediately written into disk.&lt;br /&gt;
&lt;br /&gt;
==== Reconstruction output object====&lt;br /&gt;
&lt;br /&gt;
Other than the final reconstruction, the output of the &amp;lt;tt&amp;gt;dpktilt.math.backproject&amp;lt;/tt&amp;gt; command is an object that stores different information, including a description of the geometrical relationship between the reconstucted volume and the tilt series. We will use this information later in this walkthrough.&lt;br /&gt;
&lt;br /&gt;
In actual practice, this reconstruction object can be saved into disk (as a binary file with extension &amp;lt;tt&amp;gt;.obp&amp;lt;/tt&amp;gt;), so that the information on how a reconstruction relates to a given tilt series can be recalled in a later session. The command&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;outputBP.save(&#039;myInfo&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will create a file called &amp;lt;tt&amp;gt; myInfo.obp&amp;lt;/tt&amp;gt; in disk, whose contents can be brought later into memory through&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;oRead = dread(&#039;myInfo.obp&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== CTF considerations ====&lt;br /&gt;
For simplicity, we are skipping the CTF correction step in this walkthrough, where we are only interested in the geometrical manipulations. In a real case, you would just use a version of the tilt series where each micrograph has been phase-flipped according to a defocus estimation computed on the full micrograph.&lt;br /&gt;
&lt;br /&gt;
== Annotation on binned reconstruction ==&lt;br /&gt;
&lt;br /&gt;
The reconstruction in bin level 3 fits in memory and can be explored easily with &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We open it creating a catalogue on the fly to contain our annotations: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dtmslice(&#039;temp.rec&#039;,&#039;c&#039;,&#039;gbcat&#039;);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPBoxes.png |thumb|center|500px| Boxes-type models are the most suitable for picking in 3D]]&lt;br /&gt;
&lt;br /&gt;
The flag &amp;lt;tt&amp;gt;&#039;c&#039;&amp;lt;/tt&amp;gt; orders &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; to prepare a [[catalogue]] arbitrarily called &amp;lt;tt&amp;gt;gbcat&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Annotation on 3D  ===&lt;br /&gt;
&lt;br /&gt;
The most trivial strategy for picking particles is to use the 3D viewer. Use &#039;&#039;C&#039;&#039; to input a 3d coordinate into the model. Further controls are  [[dtmslice # editing models | explained here]]&lt;br /&gt;
&lt;br /&gt;
[[  File:LocalizedWBPSelectionBoxes.png |thumb|center|500px| Select a few gold beads. ]]&lt;br /&gt;
&lt;br /&gt;
Note that you don&#039;t need to be very precise to catch the center of the gold bead.&lt;br /&gt;
&lt;br /&gt;
[[  File:LocalizedWBPSelectionBoxesZoom.png |thumb|center|500px| Gold beads can be selected approximately]]&lt;br /&gt;
&lt;br /&gt;
=== Annotation on projections ===&lt;br /&gt;
An &#039;&#039;&#039;alternative&#039;&#039;&#039; way to quickly annotate the gold beads  is by concurrent projection. In this approach we launch a projection view of the full tomogram [&#039;&#039;Project &amp;gt; project full shown fragment alongz z&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
[[ File:LocalizedWBPSelectionProjection.png |thumb|center|500px| Location of a single gold bead in the total projection viewed along z. A right click (two-finger tap on the Mac) marks the x-y position]]&lt;br /&gt;
&lt;br /&gt;
Two concurrent viewers will pop up showing cuts along &#039;&#039;x&#039;&#039; and &#039;&#039;y&#039;&#039;, i.e, YZ and XZ planes where the &#039;&#039;z&#039;&#039; coordinate can be clicked (in either of them).&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPSelectionProjectionConcurrent.png |thumb|center|800px| A left click marks the z]]&lt;br /&gt;
&lt;br /&gt;
The (&#039;&#039;x&#039;&#039;,&#039;&#039;y&#039;&#039;,&#039;&#039;z&#039;&#039;) point will update in the &amp;lt;tt&amp;gt;tomoslice&amp;lt;/tt&amp;gt; window. Also, the windows that show the cuts long &#039;&#039;x&#039;&#039; and &#039;&#039;y&#039;&#039; will update upon new right-clicks on the &#039;&#039;z&#039;&#039; projection.&lt;br /&gt;
&lt;br /&gt;
=== Saving annotation as model  ===&lt;br /&gt;
&lt;br /&gt;
On either way you chose to perform your annotations (by 3d or by concurrent 2d projections and cut), you can save your model in the catalogue with the disk icon or under the active model menu.&lt;br /&gt;
&lt;br /&gt;
== Location of 3d annotations on 2d tilt series ==&lt;br /&gt;
&lt;br /&gt;
Now we want to localize the 3d coordinates of the gold beads in the binned tilt serie.  We first bring the coordinates to a memory variable that we can manipulate.&lt;br /&gt;
&#039;&#039;&#039;If&#039;&#039; your &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; is still open, you can put the points into the workspace memory by &#039;&#039;Active Model &amp;gt; Export to workspace &amp;gt; Points&#039;&#039;, which will create in the memory a variable called &amp;lt;tt&amp;gt;temp_points&amp;lt;/tt&amp;gt; with Nx3 entries. In this variable, each row are the &#039;&#039;xyz&#039;&#039; coordinates of a single gold bead.&lt;br /&gt;
&lt;br /&gt;
If you already closed the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; session, you need to read the model that you saved into catalogue:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;dcmodels gbcat -ws oum&lt;br /&gt;
m = dread(oum.files{1}); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The points are stored as Nx3 matrix in the &amp;lt;tt&amp;gt;points&amp;lt;/tt&amp;gt; property of the model &amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; gb = m.points;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have defined in memory a matrix Nx3 called &amp;lt;tt&amp;gt;gb&amp;lt;/tt&amp;gt;. Each row is the 3d position of the center on one of the manually picked gold beads, expressed in the coordinates of the 3x binned reconstruction. You can check the geometry with low level depicting commands as &amp;lt;tt&amp;gt;dslice3d&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure; dslice3d(&#039;temp.mrc&#039;,&#039;r&#039;,gb(1,:));&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which plots a single slice of the tomogram cutting a point of interest (by default, in direction &#039;&#039;z&#039;&#039; and covering the full extent of the volume), followed by a depiction of the 3d point of interest. For instance, for the first gold bead (in row 1)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;hold on;h=dpkgeom.plotCloud(gb(1,:),&#039;or&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPgoldbead1_3d.png|thumb|center|500px| &amp;lt;tt&amp;gt;dslice3d&amp;lt;/tt&amp;gt; ]]&lt;br /&gt;
&lt;br /&gt;
A different way to check it is to crop a subtomogram around  the 3d coordinates of interest. For instance, for the second gold bead:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;gb3d = dcrop(&#039;temp.rec&#039;,40,gb(2,:));&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and show it as montage of slices with &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;dview(gb3d);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPgoldbead1_view.png|thumb|center|500px|  &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt; of an area cropped with &amp;lt;tt&amp;gt;dview&amp;lt;/tt&amp;gt; ]]&lt;br /&gt;
&lt;br /&gt;
=== Computation ===&lt;br /&gt;
&lt;br /&gt;
To find the 2d coordinates of all the goldbeads at once in the micrograph corresponding to a tilt angle of -60, we would write&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tilt = 1;&lt;br /&gt;
r2d = dpktilt.point3dInMicrograph(gb,tiltAngles(tilt),&#039;sizeStack&#039;,size(sf),&#039;sc&#039;,[200.5,150.5,100.5]);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you need to express the geometric context of &amp;lt;tt&amp;gt;r3d&amp;lt;/tt&amp;gt;. &lt;br /&gt;
* &amp;lt;tt&amp;gt;&#039;sc&#039;&amp;lt;/tt&amp;gt; stands for &amp;lt;tt&amp;gt;&#039;stack3dcenter&#039;&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;&#039;ss&#039;&amp;lt;/tt&amp;gt; stands for &amp;lt;tt&amp;gt;&#039;stackSize&#039;&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In other words, &amp;lt;tt&amp;gt;gb&amp;lt;/tt&amp;gt; are the coordinates of the points of interest in the reconstructed volume. You need to express how the reconstructed volume related to the original stack &amp;lt;tt&amp;gt;dpktilt.point3dInMicrograph&amp;lt;/tt&amp;gt; needs this information explicitly. Alternatively, you can just use the method &amp;lt;tt&amp;gt;&#039;point3dInAlignedMicrograph&#039;&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;obp&amp;lt;/tt&amp;gt; object, assuming it  is still in memory. As this object carries the geometric information, the syntax is simpler.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; r2d = outputBP.point3dInAlignedMicrograph(gb,-60);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or with the notation {} to pass position in the tilt series instead of the angle value.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt; r2d = outputBP.point3dInAlignedMicrograph(r3d,{1});&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Visualization ===&lt;br /&gt;
&lt;br /&gt;
==== Basic Matlab commands ====&lt;br /&gt;
&lt;br /&gt;
So, did it work? You can check it by just plotting the image of the micrograph&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;figure(); &lt;br /&gt;
hi = dshow(sbin(:,:,tilt)); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then plotting on it the positions of the markers.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; hold on;&lt;br /&gt;
h = plot(r2d(:,1),r2d(:,2),&#039;o&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
further tunning of the graphical output is possible through access to the properties of the handle &amp;lt;tt&amp;gt;h&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;h.LineWidth=1;&lt;br /&gt;
h.MarkerSize=10;&lt;br /&gt;
h.Color=&#039;r&#039;; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPdshow2d.png|thumb|center|700px|  Projections of tilts 1 and 21 (-60 and 0 degrees) ]]&lt;br /&gt;
&lt;br /&gt;
Note that the default convention in &amp;lt;tt&amp;gt;dshow&amp;lt;/tt&amp;gt; is to plot the rows of the matrix along the &#039;x&#039; axis of the plot, with the origin of coordinates in the left bottom corner of the plot. The intensity of matrix entry [i,j] is represented in the pixel  centered at (i-0.5,j-0.5).&lt;br /&gt;
&lt;br /&gt;
==== Interactive GUI ====&lt;br /&gt;
&lt;br /&gt;
The basic tool for visualizing sets of 2d markers defined on a tilt series is &amp;lt;tt&amp;gt;dmarkers&amp;lt;/tt&amp;gt;. This allows to navigate at once through all the annotations on all the images. We first compute the positions  in 2d of all the 3d positions in &amp;lt;tt&amp;gt;gb&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;r2dAll = outputBP.point3dInAlignedMicrograph(gb,&#039;*&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then create a shape set object with this information. This step is necessary to provide &amp;lt;tt&amp;gt;dmarkers&amp;lt;/tt&amp;gt; with the right format.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ss     = dpktilt.aux.markgold.MarkerSet();&lt;br /&gt;
ss.setFrameCellArray(r2dAll); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can open the &amp;lt;tt&amp;gt;dmarkers&amp;lt;/tt&amp;gt; GUI on the tilt series &amp;lt;tt&amp;gt;ts3&amp;lt;/tt&amp;gt; for this shape set:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;og = dmarkers(sbin,&#039;lm&#039;,ss);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPdmarkersRough.png |thumb|center|900px|  &amp;lt;tt&amp;gt;dmarkers&amp;lt;/tt&amp;gt; allow to slide along the projections. On the right, a zoom view (with the mouse wheel) ]]&lt;br /&gt;
&lt;br /&gt;
Remember that the gold beads had been picked loosely. If you zoom in, you&#039;ll see that the red spots are close to but not on the gold bead projections.&lt;br /&gt;
&lt;br /&gt;
== Localized reconstruction ==&lt;br /&gt;
&lt;br /&gt;
Now we want to reconstruct locally each of the gold beads, i.e. &lt;br /&gt;
&lt;br /&gt;
=== Reconstruct a single area ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ogb = outputBP.localReconstruction(gb(1,:),[20,20,20],sf);&lt;br /&gt;
ogb.view(); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPlocalReconstruction1.png|thumb|center|500px|  Single area, binned ]]&lt;br /&gt;
&lt;br /&gt;
=== Reconstruction into a data folder ===&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;tt&amp;gt;dtrec&amp;lt;/tt&amp;gt; is the counterpart of &amp;lt;tt&amp;gt;dtcrop&amp;lt;/tt&amp;gt; for tilt series. It loops on the positions inside a table. We will use a different approach.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;outputBP.reconstructIntoDataFolder(&#039;binnedGoldBeads&#039;,20,sf,&#039;points&#039;,gb,&#039;fo&#039;,1);&lt;br /&gt;
figure;dslices binnedGoldBeads z -j * &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:LocalizedWBPlocalReconstructionAllBinned.png |thumb|center|500px|  All gold beads, binned. Each red box represents a &#039;&#039;z&#039;&#039; projection. ]]&lt;br /&gt;
&lt;br /&gt;
=== Full resolution reconstruction ===&lt;br /&gt;
Now we can proceed to transport the locations annotated in the 3x binned geometry into the full size information.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;fbp = outputBP.rescale(&#039;up&#039;,3);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can apply the weight on the original tilt series at full resolution &amp;lt;tt&amp;gt;ts&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;sWeightedFull = dpktomo.rec.applyRampFilter(ts);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will take around a minute. The function accepts the &amp;lt;tt&amp;gt;mw&amp;lt;/tt&amp;gt; flag to increase the speed.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;fgb = fbp.localReconstruction(gb(1,:)*2^3,[60,60,60], sWeightedFull); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The localized reconstruction can be shown through: &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;fgb.view();&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:LocalizedWBPlocalReconstruction1Full.png |thumb|center|500px|  Single gold bead, full resolution ]]&lt;br /&gt;
&lt;br /&gt;
Note that we don&#039;t really need to  use the object &amp;lt;tt&amp;gt;fgb&amp;lt;/tt&amp;gt; as support. Its only role is to work out the geometry, computing the position of the 3d stack center with reference to the subtomogram that we want to reconstruct locally. We can work out the maths and compute the vector:  &amp;lt;tt&amp;gt;[1035.431 551.378 318.140] &amp;lt;/tt&amp;gt; for a specific gold bead. We could use this vector directly in &amp;lt;tt&amp;gt;dpktilt.math.backproject&amp;lt;/tt&amp;gt;&lt;br /&gt;
and get the same result.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;fbpDirect  = dpktilt.math.backproject([60,60,60], sWeightedFull,tiltAngles,&#039;sc&#039;,[1035.431 551.378 318.140]);&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now reconstruct all the gold beads at full resolution.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;fbp.reconstructIntoDataFolder(&#039;fullGoldBeads&#039;,80, sWeightedFull,&#039;points&#039;,gb*8,&#039;fo&#039;,1); &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and create a depiction of the data set.&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;figure;dslices fullGoldBeads z -j * &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ File:LocalizedWBPlocalReconstructionAllFullCompare.png |thumb|center|1000px|  All gold beads, full resolution, compared to the reconstructions computed with the binned tilt series ]]&lt;br /&gt;
&lt;br /&gt;
=== Refining the full resolution reconstruction ===&lt;br /&gt;
&lt;br /&gt;
Now, we could find the actual positions of the gold beads with an alignment project. We create a spherical template and mask:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
dwrite(-dsphere(10,80),&#039;template.mrc&#039;);&lt;br /&gt;
dwrite(dsphere(16,80),&#039;mask.mrc&#039;);&lt;br /&gt;
dwrite(dynamo_table_blank(&#039;fullGoldBeads&#039;),&#039;blankFull.tbl&#039;); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ddelete goldAligner &lt;br /&gt;
dcp.new(&#039;goldAligner&#039;,&#039;d&#039;,&#039;fullGoldBeads&#039;,&#039;t&#039;,&#039;blankFull.tbl&#039;,&#039;template&#039;,&#039;template.mrc&#039;,&#039;mask&#039;,&#039;mask.mrc&#039;,&#039;show&#039;,0);&lt;br /&gt;
dvput goldAligner -cr 0;&lt;br /&gt;
dvput goldAligner -ir 0;&lt;br /&gt;
dvput goldAligner -rf 0;&lt;br /&gt;
dvput goldAligner -lims 40;&lt;br /&gt;
dvput goldAligner -ite 1;&lt;br /&gt;
dvput goldAligner -dim 80;&lt;br /&gt;
check = dvcheck(&#039;goldAligner&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the check doesn&#039;t report any problem, we can then just unfold the project:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; dvunfold goldAligner&lt;br /&gt;
 goldAligner&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then we can check the result.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ddb goldAligner:a -v &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The resulting gold bead is now centered&lt;br /&gt;
&lt;br /&gt;
[[ File:LocalizedWBPlocalReconstruction1FullRecentered.png |thumb|center|500px|  Averaged gold bead (centered)]]&lt;br /&gt;
&lt;br /&gt;
More importantly,  the &#039;&#039;individual&#039;&#039;  gold beads are now centered:&lt;br /&gt;
&lt;br /&gt;
[[ File:LocalizedWBPlocalReconstruction1FullRecentered.png |thumb|center|500px|  Averaged gold bead (centered)]]&lt;br /&gt;
&lt;br /&gt;
The alignment parameters are stored in the refinement table, which we can read into a workspace variable (we arbitrarily call it &amp;lt;tt&amp;gt;t&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;ddb goldAligner:rt -r t &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The position of gold beads in 3d is the addition of the computed shifts (columns 4 to 6 in the table) on the coarse positions of the gold beads:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;gf3d = t(:,4:6)/(2^3)+gb;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;r2coarse = outputBP.point3dInAlignedMicrograph(gf3d,&#039;*&#039;);&lt;br /&gt;
sc = dpktilt.aux.markgold.MarkerSet();&lt;br /&gt;
sc.setFrameCellArray(r2coarse);&lt;br /&gt;
ogc = dmarkers(sbin,&#039;lm&#039;,sc); &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[  File:LocalizedWBPMarkersAligned.png |thumb|center|500px|  New set of markers in 2d (red)]]&lt;br /&gt;
&lt;br /&gt;
We can show in this session of &amp;lt;tt&amp;gt;dmarkers&amp;lt;/tt&amp;gt; the same shape set of positions that we computed before the alignment project. We will paint it i blue for comparison with the current positions.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ss.name =&#039;previous&#039;;&lt;br /&gt;
ogc.bindGenericShapeSet(ss,&#039;pointColor&#039;,&#039;b&#039;);&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
[[  File:LocalizedWBPMarkersAlignedZoom.png |thumb|center|800px|  Raw set of markers (blue) ]]&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinklocResaliTS&amp;diff=5667</id>
		<title>Template:DownloadLinklocResaliTS</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinklocResaliTS&amp;diff=5667"/>
		<updated>2025-12-03T14:53:23Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/DX845bLskNyBmeg/download/vc17_align.mrc&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinklocResaliTS&amp;diff=5666</id>
		<title>Template:DownloadLinklocResaliTS</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinklocResaliTS&amp;diff=5666"/>
		<updated>2025-12-03T14:47:36Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://saco.csic.es/s/DX845bLskNyBmeg&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinklocResaliTS&amp;diff=5665</id>
		<title>Template:DownloadLinklocResaliTS</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template:DownloadLinklocResaliTS&amp;diff=5665"/>
		<updated>2025-12-03T14:46:59Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--https://wiki.dynamo.biozentrum.unibas.ch/w/doc/data/t6ss/vc17_align.mrc--&amp;gt;&lt;br /&gt;
https://saco.csic.es/s/DX845bLskNyBmeg&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Getting_started&amp;diff=5646</id>
		<title>Getting started</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Getting_started&amp;diff=5646"/>
		<updated>2025-09-23T14:02:04Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Set of walkthroughs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The best way to learn &#039;&#039;Dynamo&#039;&#039; on your own is to follow the materials in one of our 2 day-workshops such as [[PSI Workshop 2023]]. These materials are sorted and described in [[#Suggested order of walkthroughs | the section of suggested walkthroughs]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Starters guide ==&lt;br /&gt;
Concerning the task of subtomogram averaging, you can get a plunge-freeze immersion in &#039;&#039;Dynamo&#039;&#039; for from scratch, by following the [[Starters guide| starters guide]]. This is a short hands-on complete walkthrough through the main functionalities in &#039;&#039;Dynamo&#039;&#039;: [[Viewing tomograms|viewing]] and [[Catalogue|organizing]] tomograms, [[Particle extraction|extracting particles]], [[Subtomogram alignment|aligning]], averaging and [[Classification|classifying]] subtomograms, and [[Adaptive bandpass filtering|avoiding overfitting]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting help ==&lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; offers several ways of [[Getting help|getting help]] on specific subjects.... and of course, you can always [[https://groups.google.com/forum/#!forum/dynamo-for-cryo-electron-tomography contact our forum in Google Groups]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Suggested order of walkthroughs==&lt;br /&gt;
&lt;br /&gt;
The following is a subset of the available walkthroughs that give a general overview of the main modules and tools that are available in &#039;&#039;Dynamo&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Core module of &#039;&#039;Dynamo&#039;&#039;: models and STA===&lt;br /&gt;
[[File:orthoPickMain.png|thumb|upright|250px|  Clicking particles in the [[Starters guide ]] ]]&lt;br /&gt;
The first walkthrough is the [[Starters guide]]. It is used to learn the basic functionalities of &#039;&#039;Dynamo&#039;&#039; for tomogram annotation, particle picking and execution of STA experiments.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps are the walkthroughs [[Dipole set models]], [[Walkthrough on filament models]], [[Walkthrough on vesicle models]] and [[Walkthrough on membrane models]]. These walkthroughs introduce how sample architecture can be encoded and exploited in &#039;&#039;Dynamo&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Walkthrough [[Tips for management of tomographic data sets]] gives suggestions on how to manage the data used and generated by &#039;&#039;Dynamo&#039;&#039;, giving context on the catalogue object used by &#039;&#039;Dynamo&#039;&#039; to keep track of a dataset.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, the walkthrough [[Advanced starters guide]] shows how the previous ideas can be put together in a practical case.&lt;br /&gt;
&lt;br /&gt;
[[ File:FhvTmsliceUpdates.png |thumb|center|600px|   Modelling a membrane in the [[Advanced starters guide]]]]&lt;br /&gt;
&lt;br /&gt;
===Towards a full Cryo-ET processing pipeline===&lt;br /&gt;
&lt;br /&gt;
The following walkthroughs have been ordered to give a general view of the different &#039;&#039;Dynamo&#039;&#039; functionalities that are useful at different steps of a general Cryo-ET processing pipeline.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:General_pipeline.png|centre|thumb|800px| Cryoem general pipeline shown from grid preparation to high-resolution final average. The steps presented in the figure are, from left to right: grid preparation, data acquisition in the microscope, creation of the tilt series, contrast transfer function extraction, tilt series alignment, CTF correction, tomogram generation and modelling, subtomogram averaging and finally recovery of the high resolution average.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Tilt series alignment====&lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; includes a module for tilt series alignment. [[Walkthrough on manual marker clicking]] introduces the main concepts of tilt series alignment in &#039;&#039;Dynamo&#039;&#039;.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Walkthrough on GUI based tilt series alignment]] and then [[Walkthrough on command line based tilt series alignment]] present the &#039;&#039;Dynamo&#039;&#039; functionalities for automatic tilt series alignment using fiducials.&lt;br /&gt;
&lt;br /&gt;
====Managing multiple tomograms====&lt;br /&gt;
&lt;br /&gt;
The walkthrough [[Getting a Structure from Multiple Tomograms of HIV Capsids (walkthrough)]] present how to set up efficient processing pipelines to annotate and pick particles in datasets with multiple tomograms.&lt;br /&gt;
&lt;br /&gt;
====Particle picking with template matching====&lt;br /&gt;
&lt;br /&gt;
A template matching module is available in &#039;&#039;Dynamo&#039;&#039;. [[Walkthrough for template matching]] presents the basic functionalities of the module.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Walkthrough for GUI-based template matching]] introduces how the functionalities are integrated in &#039;&#039;Dynamo&#039;&#039; GUI.&lt;br /&gt;
&lt;br /&gt;
====Classification with PCA====&lt;br /&gt;
&lt;br /&gt;
[[Walkthrough on PCA through the command line]] introduces how &#039;&#039;Dynamo&#039;&#039; allows the users to use PCA to then classify sets of particles.&lt;br /&gt;
&lt;br /&gt;
====Inspection of &#039;&#039;Dynamo&#039;&#039; results====&lt;br /&gt;
&lt;br /&gt;
[[Walkthrough on placement of averages on table positions]] describes how to take advantage of different &#039;&#039;Dynamo&#039;&#039; tools to generate representations of the data.&lt;br /&gt;
&lt;br /&gt;
====Step-by-step guide====&lt;br /&gt;
&lt;br /&gt;
Finally, the [[High resolution walkthrough with HIV1]] can be done to see how the various functionalities of &#039;&#039;Dynamo&#039;&#039; can be used together in a practical step-by-step walkthrough going from raw microscope data of a cryo-electron tomography experiment to a high-resolution average.&lt;br /&gt;
&lt;br /&gt;
== Set of walkthroughs ==&lt;br /&gt;
The following table lists a set of suggested walkthroughs for different topics on Cryo-ET data processing using &#039;&#039;Dynamo&#039;&#039;. The full list of walkthroughs can be accessed through [[:Category:Walkthroughs  | its page]].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto&amp;quot;&lt;br /&gt;
|+ Set of available walkthroughs sorted by topic &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;background-color:#4EDFD7&amp;quot; |Topic&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; style=&amp;quot;background-color:#4EDFD7&amp;quot; |Walkthrough&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;5&amp;quot;| General&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Advanced starters guide]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Tips for management of tomographic data sets]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Getting a Structure from Multiple Tomograms of HIV Capsids (walkthrough)]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[High resolution walkthrough with HIV1]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;4&amp;quot;| Models&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Dipole set models]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough on filament models]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough on vesicle models]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough on membrane models]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;1&amp;quot; | PCA&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on PCA through the command line]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;2&amp;quot;| STA and MRA&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough basic multireference]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough on adaptive bandpass filtering]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;4&amp;quot;| Tilt series alignment   &lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on manual marker clicking]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on GUI based tilt series alignment]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on command line based tilt series alignment]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on localized reconstruction]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;4&amp;quot;| Template matching&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough for template matching]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough for GUI-based template matching]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Walkthrough for model-aware template matching]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Programmatic GUI customization for template matching]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;3&amp;quot;| Visualization&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on placement of averages on table positions]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on creation of 3d scenes]]&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#FFFFE5&amp;quot; | [[Walkthrough on hexagonal lattice coherence through neighborhood analysis]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; rowspan=&amp;quot;1&amp;quot; | Others&lt;br /&gt;
| style=&amp;quot;background-color:#ffffcc&amp;quot; | [[Integration with Warp and M]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5645</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5645"/>
		<updated>2025-09-23T14:01:32Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [https://www.dynamo-em.org/w/index.php?title=Category:Walkthroughs  here]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5644</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5644"/>
		<updated>2025-09-23T14:01:27Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [https://www.dynamo-em.org/w/index.php?title=Category:Walkthroughs | here]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5643</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5643"/>
		<updated>2025-09-23T14:01:18Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [https://www.dynamo-em.org/w/index.php?title=Category:Walkthroughs|here]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5642</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5642"/>
		<updated>2025-09-23T14:00:59Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [https://www.dynamo-em.org/w/index.php?title=Category:Walkthroughs | here]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5641</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5641"/>
		<updated>2025-09-23T14:00:46Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[https://www.dynamo-em.org/w/index.php?title=Category:Walkthroughs | here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5640</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5640"/>
		<updated>2025-09-23T14:00:38Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[https://www.dynamo-em.org/w/index.php?title=Category:Walkthroughs|here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5639</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5639"/>
		<updated>2025-09-23T14:00:13Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[Walkthroughs|here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5638</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5638"/>
		<updated>2025-09-23T13:58:45Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[Category:Walkthroughs|here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5637</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5637"/>
		<updated>2025-09-23T13:58:35Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[Category: Walkthroughs |here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5636</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5636"/>
		<updated>2025-09-23T13:58:00Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[Category:Walkthroughs |here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5635</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5635"/>
		<updated>2025-09-23T13:57:41Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[Walkthroughs |here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5634</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Downloads&amp;diff=5634"/>
		<updated>2025-09-23T13:57:31Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Example data sets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Dynamo package==&lt;br /&gt;
&lt;br /&gt;
=== Matlab and Linux Standalone ===&lt;br /&gt;
&lt;br /&gt;
Please follow this [https://drive.google.com/file/d/1GDUMYQNFH1ND-YO2zTeJoG2EfTGkqhfV/view?usp=sharing google drive link] [https://saco.csic.es/s/gPWc3HFmLCrn2Cw or this SACO link] download &#039;&#039;Dynamo&#039;&#039;. You can  safely ignore any complaint of your browser about not being able to preview the file.&lt;br /&gt;
&lt;br /&gt;
This package is around 8Gb as it includes the standalone [[MCR libraries|Matlab MCR libraries]] of Matlab R2021a. The &amp;lt;tt&amp;gt;tar&amp;lt;/tt&amp;gt; file can be [[installation|installed]] both as [[Standalone|standalone]] or inside the [[Dynamo Matlab version|Matlab environment]].&lt;br /&gt;
&lt;br /&gt;
=== Standalone for MAC ===&lt;br /&gt;
If you plan to use &#039;&#039;Dynamo&#039;&#039; in the Mac without a Matlab license use this [https://drive.google.com/file/d/1MR0E5GXnP4Iox_oFPNcNg95ynelNV8h0/view?usp=sharing google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux version. If you want the latest version of &#039;&#039;Dynamo&#039;&#039; as standalone for the Mac, drop us an email.&lt;br /&gt;
&lt;br /&gt;
=== Standalone for Windows ===&lt;br /&gt;
&lt;br /&gt;
A standalone/matlab version for Windows 7 can be downloaded in this [https://drive.google.com/open?id=12z9qo6y7Z5TrJqxEjNwq9rFR_qjOwDsQ google drive link]. &lt;br /&gt;
This link is updated less frequently than the link for the latest Linux or Mac versions. The Windows version is unsupported and distributed &amp;quot;as is&amp;quot;. If you find installation problems, we advice you to use a different platform.&lt;br /&gt;
&lt;br /&gt;
=== Latest Version (Beijing Workshop 2025)===&lt;br /&gt;
&lt;br /&gt;
This [https://saco.csic.es/s/EbCZbFjLAXiJ4Yj link] contains our newest version, 1.1.555 without MCR libraries (thus, not a standalone version). It will work only under Matlab. It includes our latest module for &#039;&#039;&#039;Geometry aware Template Matching&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Example data sets==&lt;br /&gt;
Examples of training data sets will be updated [[Category:Walkthroughs|here]]&lt;br /&gt;
&lt;br /&gt;
== Direct link ==&lt;br /&gt;
You can download the link from the command line (no need to access google drive via browser)  in Linux with this command:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_ID=1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;DYNAMO_LINK=https://drive.google.com/open?id=DYNAMO_ID&amp;lt;/tt&amp;gt;&lt;br /&gt;
 &amp;lt;tt&amp;gt;wget --load-cookies /tmp/cookies.txt &amp;quot;https://docs.google.com/uc?export=download&amp;amp;confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate &#039;$DYNAMO_LINK&#039; -O- | sed -rn &#039;s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p&#039;)&amp;amp;id=$DYNAMO_ID&amp;quot; -O dynamo-v-1.1.509_MCR-9.6.0_GLNXA64_withMCR.tar &amp;amp;&amp;amp; rm -rf /tmp/cookies.txt&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note that you will need to replace 1BpZ9pv3Zq5_jSOrIqotoqijOKpWMUQ4a with the actual value in the google link, likewise for the name of the tarball&lt;br /&gt;
(thanks for Samuel Fux at ETH Zürich for this tip).&lt;br /&gt;
&lt;br /&gt;
==Version features==&lt;br /&gt;
&lt;br /&gt;
We are restructuring our modules for alignment of tilt series and classification. Next stable releases will come in winter 2024; contact us if you want to be a beta tester.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.555 ===&lt;br /&gt;
&lt;br /&gt;
Correction of bug in .mrc reader.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.552 ===&lt;br /&gt;
New system for Geometry aware Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.546 ===&lt;br /&gt;
Bug fixes in Template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.538 ===&lt;br /&gt;
* IMOD-compliant tilt angle convention.&lt;br /&gt;
* CTF hand check in automated tilt series alignment.&lt;br /&gt;
* GPU and multiGPU enabled template matching.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.532 ===&lt;br /&gt;
* Bug with opening of Matlab parallel pool corrected for standalone and Matlab.&lt;br /&gt;
* Enhanced tools for manual alignment of tilt series through fiducial markers.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.524 ===&lt;br /&gt;
* Correction of problems derived from the different behaviour of dread and dwrite towards extension .txt.&lt;br /&gt;
&lt;br /&gt;
In previous versions, a file with extension .txt would be read as a matrix of number. From version 1.1.516, this default was changed into a cell array of text lines (to make the extension coherent with the usual interpretation of such files). This has cascaded some backward compatibility problems. This version solves all the reported ones; please let us know if you identify further bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.1.514 ===&lt;br /&gt;
* Debugging of problems with standalone.&lt;br /&gt;
* Phase randomization tools.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.509 ===&lt;br /&gt;
* Debugging of PCA system.&lt;br /&gt;
** PCA works now on GPU, and includes a new graphics system.&lt;br /&gt;
* New version of &amp;lt;/t&amp;gt;dmapview&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.1.478 ===&lt;br /&gt;
* Debugging of problems in the mesh system.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.470 ===&lt;br /&gt;
* tilt series alignment: improved reload of workflows, allows selection of reconstruction height&lt;br /&gt;
* PCA: new internal algorithm. Reworked workflow for command line&lt;br /&gt;
&lt;br /&gt;
=== 1.1.460 ===&lt;br /&gt;
Corrects a bug introduced into 1.1.454 concerning the multicore execution.&lt;br /&gt;
&lt;br /&gt;
=== 1.1.454 ===&lt;br /&gt;
Includes the Particle List File object (to access particles that are not organized as classical data folders)&lt;br /&gt;
&lt;br /&gt;
=== 1.1.452 ===&lt;br /&gt;
Tilt series alignment.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Main_Page&amp;diff=5633</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Main_Page&amp;diff=5633"/>
		<updated>2025-09-12T09:18:32Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:&#039;&#039;Dynamo&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Dynamo&#039;&#039; is a software environment for subtomogram averaging of cryo-EM data.&lt;br /&gt;
&lt;br /&gt;
This wiki [[Getting started|guides new &#039;&#039;Dynamo&#039;&#039; users]] all the way from tomograms to averages and classes. In a full workflow, you would  organize tomograms in [[Catalogue | catalogues]], use them to  [[Particle picking|pick particles]] and create [[Subtomogram alignment|alignment]] and  [[Classification |classification projects]] to be run on different [[computing environments]].&lt;br /&gt;
&lt;br /&gt;
= Participate =&lt;br /&gt;
&lt;br /&gt;
There is a [[https://groups.google.com/forum/#!forum/dynamo-for-cryo-electron-tomography forum in Google Groups]] where you can present your questions to developers and other users. Bear in mind that you need a Google account for this.&lt;br /&gt;
&lt;br /&gt;
= Cite =&lt;br /&gt;
Please cite these papers if &#039;&#039;Dynamo&#039;&#039; is useful in your research:&lt;br /&gt;
&lt;br /&gt;
* [http://www.sciencedirect.com/science/article/pii/S1047847711003650|&#039;&#039;Dynamo: A flexible, user-friendly development tool for subtomogram averaging of cryo-EM data in high-performance computing environments.&#039;&#039;] Castaño-Díez D, Kudryashev M, Arheit M, Stahlberg H., J. Struct. Biol. 2012.&lt;br /&gt;
&lt;br /&gt;
* [http://www.sciencedirect.com/science/article/pii/S1047847716301113| &#039;&#039;Dynamo Catalogue: Geometrical tools and data management for particle picking in subtomogram averaging of cryo-electron tomograms&#039;&#039;] Castaño-Díez D, Kudryashev M,  Stahlberg H., in J Struct Biol. 2017 Feb; 197(2):135-144&lt;br /&gt;
&lt;br /&gt;
* [https://doi.org/10.1107/S2059798317003369&#039;&#039;The Dynamo package for tomography and subtomogram averaging: components for MATLAB, GPU computing and EC2 Amazon Web Services&#039;&#039;] Castaño-Díez D. in Acta Crystallographica Section D: Structural Biology 73 (6).&lt;br /&gt;
&lt;br /&gt;
* [https://doi.org/10.3389/fmolb.2018.00082&#039;&#039;Protocols for Subtomogram Averaging of Membrane Proteins in the Dynamo Software Package&#039;&#039;] Navarro PP, Stahlberg H and Castaño-Díez D (2018). Front. Mol. Biosci. 5:82.&lt;br /&gt;
&lt;br /&gt;
* [https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3001318&#039;&#039;Step-by-step guide to efficient subtomogram averaging of virus-like particles with Dynamo&#039;&#039;] Scaramuzza S, Castaño-Díez D (2021). PLoS biology. 19(8):e3001318.&lt;br /&gt;
&lt;br /&gt;
* [https://doi.org/10.1016/j.str.2024.07.003 &#039;&#039;Automated fiducial-based alignment of cryo-electron tomography tilt series in Dynamo.&#039;&#039;], Coray et al. Structure, July 2024.&lt;br /&gt;
&lt;br /&gt;
* [https://doi.org/10.1016/j.str.2025.06.009 &#039;&#039;Geometry-aware template matching for cryo-electron tomograms in Dynamo.&#039;&#039;], Coray et al. Structure, September 2025.&lt;br /&gt;
&lt;br /&gt;
= Founding Agencies = &lt;br /&gt;
&lt;br /&gt;
[[File:AE_logo.jpg|170px|left]] [[File: Snf_logo_rgb_standard_en_pos.png |400px|right]] [[File: Logo_hfsp.jpg |400px|center]]&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template_matching&amp;diff=5629</id>
		<title>Template matching</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template_matching&amp;diff=5629"/>
		<updated>2025-07-30T13:18:47Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Basic concepts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Template consist in using an object of interest by systematically comparing it against a tomogram to identify the positions and orientations of copies of that object in the tomogram. This procedure can be seen either as an approach for particle picking or even segmentation. In &#039;&#039;Dynamo&#039;&#039; this is done either with the &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt; function or directly through the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI.&lt;br /&gt;
&lt;br /&gt;
== Basic concepts==&lt;br /&gt;
&lt;br /&gt;
In this technique, a template representing an object of interest is systematically cross-correlated against a tomogram, producing a &#039;&#039;cross-correlation map&#039;&#039; of the tomogram. Each pixel in this map represents a score assigned the corresponding pixel in the tomogram map. This score measures the similarity of the neighbourhood of the tomogram pixel to the used template.&lt;br /&gt;
This similarity is measured exclusively inside a mask.&lt;br /&gt;
&lt;br /&gt;
Once this cross-correlation map has been computed, local maxima can be identified to select the positions and orientations of the found particles in the tomogram.&lt;br /&gt;
&lt;br /&gt;
In summary, &#039;&#039;Dynamo&#039;&#039; allows users to compute these cross-correlation map in multiple ways:&lt;br /&gt;
* &#039;&#039;&#039;Basic template matching&#039;&#039;&#039;: this is the simplest way to use template matching in &#039;&#039;Dynamo&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Template matching by GUI&#039;&#039;&#039;: &#039;&#039;Dynamo&#039;&#039; provides a GUI to use template matching in a interactive way.&lt;br /&gt;
* &#039;&#039;&#039;Model-aware template matching&#039;&#039;&#039;: this mode allows users to improve the speed and quality of the procedure by including additional prior informations on the geometry (i.e. model) of the sample to guide template matching.&lt;br /&gt;
* &#039;&#039;&#039;On-the-fly modus&#039;&#039;&#039;: in this modus, a tilt series is given as input instead of a tomogram and sections are reconstructed on-the-fly.&lt;br /&gt;
* &#039;&#039;&#039;Single chunk modus&#039;&#039;&#039;: this modus allow for the parallel inspection of single specific region of the tomogram (the so-called single chunk). Ideal for fine and exhaustive angular searches in a restricted region of the sample.&lt;br /&gt;
&lt;br /&gt;
In all cases, the output will be a &#039;&#039;Dynamo&#039;&#039; object that can be used for result inspection, particle extraction and other common output manipulations.&lt;br /&gt;
&lt;br /&gt;
== Basic template matching==&lt;br /&gt;
&lt;br /&gt;
Basic (non-model-aware) template matching is the simplest way to use template match in &#039;&#039;Dynamo&#039;&#039;. In this mode, the template will be cross-correlated against a tomogram with the same set of rotation everywhere. The tomogram may be split into chunks, but this is done only so as not to crowd the memory during computation.&lt;br /&gt;
&lt;br /&gt;
A full walkthrough of [[Walkthrough for template matching | template matching in this mode]] is available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GUI-based template matching==&lt;br /&gt;
&lt;br /&gt;
Template matching can be done in &#039;&#039;Dynamo&#039;&#039; directly from the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI with a tomogram as input. It has a tab called Template Matching in the top bar of the GUI. It is through this tab that general attributes, parameters and region of interest for template matching processes can be manipulated. More information on how to use the GUI can be found in [[Walkthrough for GUI-based template matching | the GUI walkthrough]]. It is also possible to add custom functionalities to the GUI as described in the [[Programmatic GUI customization for template matching | corresponding tutorial]].&lt;br /&gt;
&lt;br /&gt;
== Model-aware template matching==&lt;br /&gt;
&lt;br /&gt;
Model-aware template matching is meant as an extension of the normal template matching algorithm in &#039;&#039;Dynamo&#039;&#039;. As such, all basic commands described in the previous sections are valid in this mode as well.&lt;br /&gt;
&lt;br /&gt;
The main change introduced in model-aware template matching is that the partition of the tomogram in regions of interest (chunks) is meant to be meaningful from the point of view of the tomogram models. This allows for the reduction of needed computation by restricting the angular combinations of the template to be scanned. The description of which chunks are created and their corresponding restricted angular combinations will be called a tessellation policy. &lt;br /&gt;
&lt;br /&gt;
A walkthrough on [[Walkthrough for model-aware template matching | model-aware template matching]] is available. Additionally, here template mathcing using on-the-fly reconstructions and single-chunk modus are also described.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template_matching&amp;diff=5628</id>
		<title>Template matching</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template_matching&amp;diff=5628"/>
		<updated>2025-07-30T13:17:23Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: /* Basic concepts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Template consist in using an object of interest by systematically comparing it against a tomogram to identify the positions and orientations of copies of that object in the tomogram. This procedure can be seen either as an approach for particle picking or even segmentation. In &#039;&#039;Dynamo&#039;&#039; this is done either with the &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt; function or directly through the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI.&lt;br /&gt;
&lt;br /&gt;
== Basic concepts==&lt;br /&gt;
&lt;br /&gt;
In this technique, a template representing an object of interest is systematically cross-correlated against a tomogram, producing a &#039;&#039;cross-correlation map&#039;&#039; of the tomogram. Each pixel in this map represents a score assigned the corresponding pixel in the tomogram map. This score measures the similarity of the neighbourhood of the tomogram pixel to the used template.&lt;br /&gt;
This similarity is measured exclusively inside a mask.&lt;br /&gt;
&lt;br /&gt;
Once this cross-correlation map has been computed, local maxima can be identified to select the positions and orientations of the found particles in the tomogram.&lt;br /&gt;
&lt;br /&gt;
In summary, &#039;&#039;Dynamo&#039;&#039; allows users to compute these cross-correlation map in multiple ways:&lt;br /&gt;
* &#039;&#039;&#039;Basic template matching&#039;&#039;&#039;: this is the simplest way to use template matching in &#039;&#039;Dynamo&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Template matching by GUI&#039;&#039;&#039;: &#039;&#039;Dynamo&#039;&#039; provides a GUI to use template matching in a interactive way.&lt;br /&gt;
* &#039;&#039;&#039;Model-aware template matching&#039;&#039;&#039;: this mode allows users to improve the speed and quality of the procedure by including additional prior informations on the geometry (i.e. model) of the sample to guide template matching.&lt;br /&gt;
* &#039;&#039;&#039;On-the-fly modus&#039;&#039;&#039;: in this modus, a tilt series is given as input instead of a tomogram and sections are reconstructed on-the-fly.&lt;br /&gt;
* &#039;&#039;&#039;Single chunk modus&#039;&#039;&#039;: this modus allow for the parallel inspection of single specific region of the tomogram (the so-called single chunk). Ideal for fine and exhaustive angular searches in a restricted region of the sample.&lt;br /&gt;
&lt;br /&gt;
== Basic template matching==&lt;br /&gt;
&lt;br /&gt;
Basic (non-model-aware) template matching is the simplest way to use template match in &#039;&#039;Dynamo&#039;&#039;. In this mode, the template will be cross-correlated against a tomogram with the same set of rotation everywhere. The tomogram may be split into chunks, but this is done only so as not to crowd the memory during computation.&lt;br /&gt;
&lt;br /&gt;
A full walkthrough of [[Walkthrough for template matching | template matching in this mode]] is available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GUI-based template matching==&lt;br /&gt;
&lt;br /&gt;
Template matching can be done in &#039;&#039;Dynamo&#039;&#039; directly from the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI with a tomogram as input. It has a tab called Template Matching in the top bar of the GUI. It is through this tab that general attributes, parameters and region of interest for template matching processes can be manipulated. More information on how to use the GUI can be found in [[Walkthrough for GUI-based template matching | the GUI walkthrough]]. It is also possible to add custom functionalities to the GUI as described in the [[Programmatic GUI customization for template matching | corresponding tutorial]].&lt;br /&gt;
&lt;br /&gt;
== Model-aware template matching==&lt;br /&gt;
&lt;br /&gt;
Model-aware template matching is meant as an extension of the normal template matching algorithm in &#039;&#039;Dynamo&#039;&#039;. As such, all basic commands described in the previous sections are valid in this mode as well.&lt;br /&gt;
&lt;br /&gt;
The main change introduced in model-aware template matching is that the partition of the tomogram in regions of interest (chunks) is meant to be meaningful from the point of view of the tomogram models. This allows for the reduction of needed computation by restricting the angular combinations of the template to be scanned. The description of which chunks are created and their corresponding restricted angular combinations will be called a tessellation policy. &lt;br /&gt;
&lt;br /&gt;
A walkthrough on [[Walkthrough for model-aware template matching | model-aware template matching]] is available. Additionally, here template mathcing using on-the-fly reconstructions and single-chunk modus are also described.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
	<entry>
		<id>https://www.dynamo-em.org//w/index.php?title=Template_matching&amp;diff=5627</id>
		<title>Template matching</title>
		<link rel="alternate" type="text/html" href="https://www.dynamo-em.org//w/index.php?title=Template_matching&amp;diff=5627"/>
		<updated>2025-07-30T13:14:27Z</updated>

		<summary type="html">&lt;p&gt;Raffaele Coray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Template consist in using an object of interest by systematically comparing it against a tomogram to identify the positions and orientations of copies of that object in the tomogram. This procedure can be seen either as an approach for particle picking or even segmentation. In &#039;&#039;Dynamo&#039;&#039; this is done either with the &amp;lt;tt&amp;gt;dynamo_match&amp;lt;/tt&amp;gt; function or directly through the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI.&lt;br /&gt;
&lt;br /&gt;
== Basic concepts==&lt;br /&gt;
&lt;br /&gt;
In this technique, a template representing an object of interest is systematically cross-correlated against a tomogram, producing a &#039;&#039;cross-correlation map&#039;&#039; of the tomogram. Each pixel in this map represents a score assigned the corresponding pixel in the tomogram map. This score measures the similarity of the neighbourhood of the tomogram pixel to the used template.&lt;br /&gt;
This similarity is measured exclusively inside a mask.&lt;br /&gt;
&lt;br /&gt;
Once this cross-correlation map has been computed, local maxima can be identified to select the positions and orientations of the found particles in the tomogram.&lt;br /&gt;
&lt;br /&gt;
In summary, &#039;&#039;Dynamo&#039;&#039; allows users to compute these cross-correlation map in multiple ways:&lt;br /&gt;
* Basic template matching: this is the simplest way to use template matching in &#039;&#039;Dynamo&#039;&#039;&lt;br /&gt;
* Template matching by GUI: &#039;&#039;Dynamo&#039;&#039; provides a GUI to use template matching in a interactive way.&lt;br /&gt;
* Model-aware template matching: this mode allows users to improve the speed and quality of the procedure by including additional prior informations on the geometry (i.e. model) of the sample to guide template matching.&lt;br /&gt;
* On-the-fly template matching: in this mode, a tilt series is given as input instead of a tomogram and sections are reconstructed on-the-fly.&lt;br /&gt;
* Single chunk modus template matching: this model allow for the parallel inspection of single specific region of the tomogram (the so-called single chunk). Ideal for fine and exhaustive angular searches in restricted regions of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Basic template matching==&lt;br /&gt;
&lt;br /&gt;
Basic (non-model-aware) template matching is the simplest way to use template match in &#039;&#039;Dynamo&#039;&#039;. In this mode, the template will be cross-correlated against a tomogram with the same set of rotation everywhere. The tomogram may be split into chunks, but this is done only so as not to crowd the memory during computation.&lt;br /&gt;
&lt;br /&gt;
A full walkthrough of [[Walkthrough for template matching | template matching in this mode]] is available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GUI-based template matching==&lt;br /&gt;
&lt;br /&gt;
Template matching can be done in &#039;&#039;Dynamo&#039;&#039; directly from the &amp;lt;tt&amp;gt;dtmslice&amp;lt;/tt&amp;gt; GUI with a tomogram as input. It has a tab called Template Matching in the top bar of the GUI. It is through this tab that general attributes, parameters and region of interest for template matching processes can be manipulated. More information on how to use the GUI can be found in [[Walkthrough for GUI-based template matching | the GUI walkthrough]]. It is also possible to add custom functionalities to the GUI as described in the [[Programmatic GUI customization for template matching | corresponding tutorial]].&lt;br /&gt;
&lt;br /&gt;
== Model-aware template matching==&lt;br /&gt;
&lt;br /&gt;
Model-aware template matching is meant as an extension of the normal template matching algorithm in &#039;&#039;Dynamo&#039;&#039;. As such, all basic commands described in the previous sections are valid in this mode as well.&lt;br /&gt;
&lt;br /&gt;
The main change introduced in model-aware template matching is that the partition of the tomogram in regions of interest (chunks) is meant to be meaningful from the point of view of the tomogram models. This allows for the reduction of needed computation by restricting the angular combinations of the template to be scanned. The description of which chunks are created and their corresponding restricted angular combinations will be called a tessellation policy. &lt;br /&gt;
&lt;br /&gt;
A walkthrough on [[Walkthrough for model-aware template matching | model-aware template matching]] is available. Additionally, here template mathcing using on-the-fly reconstructions and single-chunk modus are also described.&lt;/div&gt;</summary>
		<author><name>Raffaele Coray</name></author>
	</entry>
</feed>