That's a great idea!  That'll save so much time!

Edward

On 15 June 2014 08:53,  <[email protected]> wrote:
> Author: tlinnet
> Date: Sun Jun 15 08:53:40 2014
> New Revision: 23953
>
> URL: http://svn.gna.org/viewcvs/relax?rev=23953&view=rev
> Log:
> Wrote the essential dot matrix up to be initiated earlier.
>
> Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
> models for Clustered analysis.
>
> Modified:
>     branches/disp_spin_speed/lib/dispersion/ns_cpmg_2site_3d.py
>
> Modified: branches/disp_spin_speed/lib/dispersion/ns_cpmg_2site_3d.py
> URL: 
> http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/lib/dispersion/ns_cpmg_2site_3d.py?rev=23953&r1=23952&r2=23953&view=diff
> ==============================================================================
> --- branches/disp_spin_speed/lib/dispersion/ns_cpmg_2site_3d.py (original)
> +++ branches/disp_spin_speed/lib/dispersion/ns_cpmg_2site_3d.py Sun Jun 15 
> 08:53:40 2014
> @@ -137,9 +137,12 @@
>          # This matrix is a propagator that will evolve the magnetization 
> with the matrix R for a delay tcp.
>          Rexpo = matrix_exponential(R*tcp[i])
>
> +        # Temp matrix.
> +        t_mat = Rexpo.dot(r180x).dot(Rexpo)
> +
>          # Loop over the CPMG elements, propagating the magnetisation.
>          for j in range(2*power[i]):
> -            Mint = Rexpo.dot(r180x).dot(Rexpo).dot(Mint)
> +            Mint = t_mat.dot(Mint)
>
>          # The next lines calculate the R2eff using a two-point 
> approximation, i.e. assuming that the decay is mono-exponential.
>          Mx = Mint[1] / pA
>
>
> _______________________________________________
> relax (http://www.nmr-relax.com)
>
> This is the relax-commits mailing list
> [email protected]
>
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-commits

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to