Recent Posts

Pages: 1 2 [3] 4 5 ... 10
Simulations / Re: Euler angles in orientation.m
« Last post by kuprov on September 25, 2016, 09:47:38 AM »

The most likely answer is that the lectures are wrong -- rotations in Spinach kernel are extensively tested against a dozen different calculation types.
Simulations / Euler angles in orientation.m
« Last post by johncprice on September 25, 2016, 01:24:12 AM »
I have a question about Euler angles in Spinach.

I created a set of spin coordinates, rotated them using Euler angles (alpha,beta,gamma), and then created the full dipole Hamiltonian using


Now I do the same thing another way, by creating a spin system using the un-rotated coordinates and passing the Euler angles to orientation.m as follows:


It works! The two Hamiltonians are the same to high precision for various values of the angles.

But the call to orientation(Q,[gamma,-beta,alpha]) suggests to me that I am using the wrong Euler angle convention.  I am using the one given in Kuprov's lecture sd_m2_lecture_03.pdf which corresponds to gamma rotation about z, beta rotation about y, alpha rotation about z. Is a different one being used?
Bug reports / Bug - Transformation Amplitude Table (SDv.15.1b7).
« Last post by sje1g13 on September 14, 2016, 10:35:32 AM »

I believe that there is a possible clash between SVv2.15.1b7 and the latest version of Mathematica ( when using Transformation Amplitude Table.

A Mathematica/SpinDynamica notebook has been attached. The notebook is commented and should explain the problem sufficiently.

Excellent, Malcolm!

Thanks so much,
Hi Andy,
 while introducing SD v2.14.3, which is compatible with Mathematica 11, I also located and fixed this problem.
all the best
Bug reports / Re: Mathematica 11
« Last post by MalcolmHLevitt on August 16, 2016, 05:07:46 PM »
The latest release 2.14.3 is now compatible with Mathematica 11.

However, the SpinDynamica symbol Duration conflicts with the newly introduced Mathematica 11 symbol of the same name, and has been replaced by EventDuration.
SpinDynamica 2.14.3 has been released.

This version is compatible with Mathematica 11.

Note that the SpinDynamica symbol Duration clashes with the Mathematica 11 symbol of the same name and has been superseded by EventDuration

Download here:
Bug reports / Mathematica 11
« Last post by MalcolmHLevitt on August 15, 2016, 04:14:49 PM »
The latest release of SpinDynamica (2.14.2) does not yet run under the newly-released Mathematica 11. This is because Wolfram have introduced a new built-in symbol Duration which conflicts with its prior definition under SpinDynamica. A Mathematica11 workaround will be released shortly.

Examples / 2D spectroscopy
« Last post by MalcolmHLevitt on July 28, 2016, 02:05:40 PM »
Although SpinDynamica does not yet contain a fully general routine for 2D spectral simulation, the attached notebook allows the calculation of 2D spectra in some useful special cases. Code of this kind will be included in SpinDynamica itself, in future releases.

As usual the graphics have been stripped out but will be regenerated upon running the notebook.
Hello Malcolm,

I am using version

I am relieved you reproduced my observation. I was starting to think that I must be getting a bit soft in the head.

Enjoy your summer break,
Pages: 1 2 [3] 4 5 ... 10