Phase shift and displacement visualization.

October/2014

Added:
Visualization of the gradient vector inside the displacement visualization.
bValue is displayed in the title.
Displacement visualization now only displays a subset of the particles.
Resulting signal decay value is displayed on the PGSE pulse animation footnote.

Special issues:
Added the “padding” at the start of the simulation.

To obtain the same DW values, the displacement is computed now from the starting .trajfile particles position, and not the position at first gradient time.

The simulation and the gradients are now centralized as in the camino implementation:

    *pad = (TE - Delta - delta)/2.0;*

    *firstBlockStart = pad;*
    *firstBlockEnd = (pad+delta);*
    *secondBlockStart = (pad+Delta);*
    *secondBlockEnd = (pad+Delta+delta)*

The resulting DW values now match the camino outputs.
 

Last edit: jonathan Patiño 2014-11-02