Search found 201 matches

by kuprov
Tue Feb 10, 2026 8:42 am
Forum: Spinach support
Topic: n_el in hfc2pms.m script
Replies: 2
Views: 83785

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: 28110

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: 25986

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: 36627

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: 36627

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: 150033

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: 66121

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: 66121

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: 109051

Re: Spinach and SSNMR simulation.

By reading the manual and looking at the example set provided. :)
by kuprov
Mon Dec 23, 2024 12:02 pm
Forum: DEERNet support
Topic: Precision of the data generated with DeerNet
Replies: 1
Views: 154505

Re: Precision of the data generated with DeerNet

Of course there is - simply edit that line in the code and output as many as you wish! :)