Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MalcolmHLevitt

Pages: 1 2 [3] 4 5 ... 7
31
Bug reports / Re: More of a question: Ordering of Zeeman product states
« on: February 06, 2015, 06:13:51 PM »
OK, I see the problem. A general fix uses this (rather fancy) syntax:

ReorderedKets =
 Flatten@Outer[ProductKet,
   Sequence @@ Map[BasisKets[ZeemanBasis[{#}]] &, SpinSystem[]]]

I hope to implement this automatically in the next version. To my shame I had not noticed that the ordering of the kets was inconsistent between SpinDynamica and my Spin Dynamics book. Apologies!

a revised notebook is attached

malcolm

32
Bug reports / Re: More of a question: Ordering of Zeeman product states
« on: February 06, 2015, 09:10:21 AM »
I expect to implement a built-in way to do this in the next release.

Malcolm

33
Bug reports / Re: More of a question: Ordering of Zeeman product states
« on: February 05, 2015, 03:26:50 PM »
Hi Andreas,
 there is no built-in way to do this, but the reordering of the basis kets may be accomplished rather easily using SpinPermutationOperator, and a new basis using the reordered kets defined using DefineBasis and used using SetBasis.

In general the permutation has to exchange pairs of spins related by reversing the order, i.e. if the spins are {a, b, c... X, Y, Z} then the appropriate permutation is {{a,Z},{b,Y},{c,X}...}.

An example file is attached. I hope this is clear.

malcolm

34
Updates and Messages / SpinDynamica 2.12.1 released
« on: January 28, 2015, 04:48:30 PM »
  • New routine Secularize secularizes operators and superoperators with respect to a general Hamiltonian, with an abbreviated syntax for Zeeman secularization.
  • A Signal object may now be multiplied directly by an complex number, for example to implement phase correction.
  • A new option DigitalFrequencyResolution for Signal1D provides more clarity and flexibility in the handling of time and frequency-domain signals. This is described in the enhanced documentation accompanying this release.
  • Some important bug fixes.
  • extended documentation files now include a section on Signal.

Download here: https://www.dropbox.com/sh/7vbgpq44w8qm3fh/AACayEeEMhTK6qwJWpoCAidxa?dl=0

35
Examples / Spin-3/2 dynamics
« on: January 16, 2015, 04:07:33 PM »
A new example file has been posted on http://www.spindynamica.soton.ac.uk.
The example file illustrates the spin dynamics of a spin-3/2 system in the presence of weak and strong rf fields. Selective manipulations of the central and satellite transitions are illustrated, including the use of cosine-modulated fields to excite the satellite transitions.

36
Bug reports / Re: Invalid syntax in SpinDynamica v2.10.1
« on: December 08, 2014, 02:05:34 PM »
This problem has been fixed in SD v2.11.1

37
Updates and Messages / SpinDynamica 2.11.1
« on: December 08, 2014, 02:03:49 PM »
SpinDynamica 2.11.1 has been released here:
https://www.dropbox.com/sh/4d5dhe5vr3gb7pk/AABBvmuAIW2nHpU-ll2wl7Bqa?dl=0

This is a relatively major new release with new functions ProductKet, ProductBra and ProductBasis. See part 3 of the documentation.

Signal1D has been augmented with new functionality allowing direct specification of the number of sampling points and the spectral width. See part 2 of the documentation.

Major speed improvements have been achieved for some calculations.
A variety of minor bugs have been fixed.

38
Bug reports / Re: Invalid syntax in SpinDynamica v2.10.1
« on: September 29, 2014, 01:45:29 PM »
Thanks Jyrki,
 You're right, the repeated pattern in SpinsOrderedQ[{label_..}] is not parsed by Mathematica, to my surprise.
 I will replace it by the equivalent SpinsOrderedQ[{Repeated[label_]}] in the next release. This does parse correctly, at least in 9.
 I think there is no urgency, since I'm not aware of any real problems being caused by this "Schönheitsfehler" right now.
all the best
malcolm

39
Bug reports / Re: Invalid syntax in SpinDynamica v2.10.1
« on: September 26, 2014, 10:20:37 PM »
Hi Jyrki,
 I just saw this bug report, which I had overlooked. However I cannot locate the problem. I encounter no error messages, at least in Mathematica 9. I also do not see an obvious problem with the syntax. Can you clarify please?
 thanks
malcolm

40
Bug reports / Re: opI[].A.opI[] product with SpinDynamica 2.9.1 (and 2.8.3)
« on: September 24, 2014, 10:19:22 PM »
Hi Jyrki, this has been fixed (amongst other things) in SDv2.10.2.

41
Updates and Messages / SpinDynamica 2.10.2 released
« on: September 24, 2014, 10:16:49 PM »
SpinDynamica 2.10.2 is now available here:

https://www.dropbox.com/sh/tffw30a9yo7q0yf/AAAP9rR0i8vODmG1HSwhvIroa?dl=0

This corrects some nasty misbehaviour which appeared in 2.10.1.

42
Examples / Quadrupolar echoes for spin-7/2
« on: September 19, 2014, 06:12:33 PM »
The attached notebook shows how to calculate the spectrum of a spin-7/2 nucleus (for example 133Cs) in an oriented medium, such as a gel (see for example P. W. Kuchel, "Quadrupolar Splitting in Stretched Hydrogels," in "eMagRes," Ed. (John Wiley & Sons, Ltd, 2007)). The EnsembleAverage function is used to generated a spread in quadrupolar interactions, corresponding to gel inhomogeneity. A simulation shows that a two-pulse sequence generates a series of quadrupolar echoes with curious fractional timings, as predicted in a very old paper by Solomon (I. Solomon, "Multiple Echoes in Solids," Phys. Rev. 110, 61 (1958)).




43
Examples / Chemical exchange in an AB system
« on: September 19, 2014, 06:07:01 PM »
The attached notebook shows how to build on SpinDynamica to predict the NMR spectrum of an AB system of two spins-1/2, exchanging between two sites with different chemical shifts and J-couplings. Currently, this case cannot be simulated entirely within SpinDynamica, but the notebook shows how to build on SpinDynamica so as to handle a chemical exchange case. Thanks to Phil Kuchel for stimulating this simulation. Malcolm

ps. I have stripped the graphics from the attached notebook but they will be regenerated when the code is executed.

44
Hello Jyrki. This bug has been fixed in v2.10.1.
all the best
Malcolm

45
Updates and Messages / SpinDynamica 2.10.1
« on: August 11, 2014, 04:29:05 PM »
SpinDynamica 2.10.1 has been released. More bug fixes and speed enhancements. Download here: https://www.dropbox.com/sh/ufllgrruhpgc02j/AABNG1Jl6jtR5FDbvrveBo3Aa

Pages: 1 2 [3] 4 5 ... 7