Search found 202 matches

by kuprov
Tue Nov 24, 2026 1:27 pm
Forum: Spinach support
Topic: limits of SRSK simulation
Replies: 1
Views: 48832

Re: limits of SRSK simulation

Sorry about the slow reply - somehow, I only just got the notification. It should not be slow. If you attach the code, I can take a look.
by kuprov
Tue Feb 10, 2026 8:42 am
Forum: Spinach support
Topic: n_el in hfc2pms.m script
Replies: 2
Views: 121772

Re: n_el in hfc2pms.m script

I had a look, yes - we did put the number of electrons in for the exact reason that you describe: on our calculations (using Gaussian) we did always have a hard-to-explain integer multiplier that was needed for the data to match up. The integer was always equal to the nominal number of unpaired elec...
by kuprov
Wed Feb 04, 2026 6:21 pm
Forum: Spinach support
Topic: Equilibrium density operator for spin 3/2 in two-site chemical exchange
Replies: 2
Views: 65596

Re: Equilibrium density operator for spin 3/2 in two-site chemical exchange

Alas, relaxation to thermodynamic equlibrium cannot be combined with equilibrating chemical kinetics. This is because relaxation theory treats equilibration as a coupling to the unit state and there is only one unit state and its population is by definition concentration-independent. Another way of ...
by kuprov
Tue Dec 09, 2025 12:35 pm
Forum: Spinach support
Topic: ESEEM pulse sequence in the lab frame
Replies: 2
Views: 63125

Re: ESEEM pulse sequence in the lab frame

Hint: people will not do your project for you. :) 1. Yes; you do need to track the clock because phases in magnetic resonance are relative to the reference clock. 2. There is no way; Spinach uses a spherical tensor basis set. Express your projector in that basis set and then take the inner product. ...
by kuprov
Thu Nov 13, 2025 11:34 am
Forum: Spinach support
Topic: Different matrix elements in two methods for the same operator
Replies: 4
Views: 82541

Re: Different matrix elements in two methods for the same operator

Ah, that's a long story. Operators and states in spin dynamics should never be normalised. Technical details are in Section 1.6.3.3 ("Normalisation-Commutation Dilemma") here: https://link.springer.com/chapter/10.1007/978-3-031-05607-9_1 Briefly, the SU(2) commutation relations like [Sx,Sy...
by kuprov
Wed Nov 12, 2025 2:10 pm
Forum: Spinach support
Topic: Different matrix elements in two methods for the same operator
Replies: 4
Views: 82541

Re: Different matrix elements in two methods for the same operator

Not reproduced locally. The enclosed test across all formalisms runs correctly. Can you run the enclosed file on your end to see if works?
by kuprov
Mon Jul 28, 2025 3:08 pm
Forum: General discussion
Topic: New user wanting to so ss NMR simullation
Replies: 1
Views: 225064

Re: New user wanting to so ss NMR simullation

Yes, see examples/dnp_*, examples/esr_*, examples/nmr_paramag, examples/giant_spin directories.
by kuprov
Fri Jun 20, 2025 11:59 am
Forum: Spinach support
Topic: Return to Equilibrium Magnetisation
Replies: 3
Views: 118680

Re: Return to Equilibrium Magnetisation

Yep, loop is best for real-life modelling cases. I normally just implement the sequence literally: pulse by pulse, delay by delay, including any repetitions. Then it's a formally exact simulation that usually just works. There is a very recent function called steady.m - you could compute the sequenc...
by kuprov
Fri Jun 20, 2025 7:07 am
Forum: Spinach support
Topic: Return to Equilibrium Magnetisation
Replies: 3
Views: 118680

Re: Return to Equilibrium Magnetisation

Thermal equilibrium in proton-carbon system is actually 1 + alpha*(Hz+0.25*Cz) where alpha is a small number (around 1e-5, quantum tech people like to pretend it does not exist) and the quarter appears because the magnetogyric ratio of carbon is around four times smaller than that of proton. To take...
by kuprov
Tue May 06, 2025 2:43 pm
Forum: General discussion
Topic: Spinach and SSNMR simulation.
Replies: 0
Views: 161885

Re: Spinach and SSNMR simulation.

By reading the manual and looking at the example set provided. :)