Walkthrough basic multireference: Difference between revisions

From Dynamo
Jump to navigation Jump to search
Created page with "We first create a tutorial data set. <pre >dtutorial ttest -M 8 -N 8 -p pmulti -multi 1 -tight 1 </pre> The flags <tt>-M 8 -N 8</tt> mean that we want to create a synthetic..."
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Walkthroughs]]
We first create a tutorial data set.
We first create a tutorial data set.


Line 13: Line 15:
And then we take a look onto the results.
And then we take a look onto the results.
<pre>ddb pmulti:a:ref=* -m</pre>
<pre>ddb pmulti:a:ref=* -m</pre>
[[File:walkthroughMultireferenceIndependent.png|thumb|center|upright|800px|Result of running a multireference project without swapping]]




Line 19: Line 22:
<tt>dcp pmulti</tt>
<tt>dcp pmulti</tt>


We check on the <tt>Swap particles</tt> radiobutton, and run the project again: <tt>check</tt>,<tt>unfold</tt> and <tt>run</tt>.
We check on the <tt>Swap particles</tt> radiobutton,  
 
[[File:walkthroughMultireferenceSwap.png|thumb|center|upright|400px|Selecting the swap particles option in mapview]]
 
and run the project again: <tt>check</tt>,<tt>unfold</tt> and <tt>run</tt>.
 


And we check the results:
And we check the results:
{|style="margin: 0 auto;"
| [[File:walkthroughMultireferenceSwapResults.png|thumb|upright|400px| Mapview shows two different averages.]]
| [[File:walkthroughMultireferenceSwapResultsZoom.png|thumb|upright|400px| Zoom. Clicking [C] on a slice centers mapview on it  ]]
|}

Latest revision as of 12:53, 2 December 2024


We first create a tutorial data set.


dtutorial ttest -M 8 -N 8 -p pmulti -multi 1 -tight 1 

The flags -M 8 -N 8 mean that we want to create a synthetic data set with 8 particles on one class, and 8 particles from a different class.

Then we can just execute it. It will take some minutes.

pmulti


And then we take a look onto the results.

ddb pmulti:a:ref=* -m
Result of running a multireference project without swapping


(you can get this plot through the dc GUI). Apparently nothing happened. Why? The reason is that what we just ran was a multireference project without particle swapping, i.ie., the particles where aligned separately and were never allowed to "see" each other. So, we tray again, but now we connect the swapping:

dcp pmulti

We check on the Swap particles radiobutton,

Selecting the swap particles option in mapview

and run the project again: check,unfold and run.


And we check the results:

Mapview shows two different averages.
Zoom. Clicking [C] on a slice centers mapview on it