Here is a collection of examples for the use of EasySpin, divided into several categories. They are an excellent starting point for writing your own code.
Data analysis| adaptiveaverage.m | Signal averaging using the EWRLS adaptive filter method |
| deadtime.m | ESEEM dead time correction with ctafft() |
| denoise.m | Various methods for de-noising spectral data |
| endorperturb.m | ENDOR simulations: matrix diagonalization vs perturbation theory |
| endorseparate.m | 1H ENDOR, summed and separate output |
| endorsimple.m | 1H ENDOR of a powder |
| excitew.m | ENDOR excitation widths and orientation selectivity |
| manynuclei.m | Orientation-selective ENDOR of many protons |
| mn_cluster_ps2.m | ENDOR of the tetranuclear Mn cluster in photosystem II (S2 state) |
| oripreselect.m | Speed-up of ENDOR simulations using orientation pre-selection |
| oripreselect2.m | Speed-up of ENDOR simulations using orientation pre-selection |
| oriselection.m | ENDOR orientation selection in a powder |
| userpreselect.m | User-supplied orientation pre-selection |
| chemicalexchange_norris.m | Multi-site chemical exchange |
| fast_fnb.m | Parafluoronitrobenzene (multinuclear system), fast-motional regime |
| fremysalt.m | Fremy's salt (PADS), motional narrowing |
| nitroxide_ftcorr.m | Nitroxide radical, various correlation times |
| basicfit.m | Basic example of spectral fitting using EasySpin |
| chili_multifreq.m | Custom function for simulating slow-motion X- and Q-band EPR spectra |
| curry_fit.m | Combined fit of magnetic susceptibility and magnetic moment |
| fit_multifreq.m | Using a custom function for globally fitting multiple EPR spectra |
| fitscaling.m | Impact of different scaling methods on fitted parameters |
| fittarget.m | Fitting the spectrum vs fitting its integral |
| globallocal.m | Genetic algorithm combined with local simplex search |
| multicomponents.m | Fitting a multi-component spectrum |
| pentacenefit.m | Fitting the spectrum of pentacene anion radical |
| twocompfit.m | Fitting a two-component spectrum |
| userfun_esfitalgorithm.m | Utilizing low-level fitting functions directly for custom fitting |
| biarylradical.m | Bridged biaryl cation radical (1000s of lines) |
| biphenyl.m | Biphenyl radical anion |
| cobalttrimer.m | Cobalt trimer |
| isotopemix.m | Simple isotope mixture |
| naphthalene.m | Naphthalene radical anion and cation |
| pentacene.m | Pentacene radical anion and cation |
| phenalenyl.m | Phenalenyl radical anion, including 13C satellite lines |
| phenalenyl_manual.m | Phenalenyl radical anion, including 13C satellite lines |
| cobaltdimer_magnetization.m | Magnetization curve of a cobald dimer complex (crystal) |
| curry_curie_law.m | Susceptibility for S=1/2 using curry and explicit Curie law |
| effectivemagneticmoment.m | Comparison of magnetic moment and effective magnetic moment |
| magnetization_tempdep.m | Temperature-dependence of magnetization |
| squid_basic.m | Temperature dependence of magnetic moment and susceptibility |
| squid_twospins.m | Temperature dependence of magnetic moment and susceptibility |
| susceptibility.m | Temperature dependence of magnetic susceptibility |
| deer_simple.m | DEER from a simple system with two spins-1/2 (powder) |
| pulsprof.m | Excitation profile of a mw pulse |
| threepeseem.m | Manual simulation of three-pulse ESEEM (density matrix) |
| twopecho.m | Simulation of a two-pulse echo using the density matrix |
| twopeseem.m | Manual two-pulse ESEEM simulation (density matrix) |
| custom_2p_echo.m | Two-pulse echo using chirp pulses (saffron) |
| custom_3p.m | Three-pulse ESEEM sequence with user-defined sequence |
| custom_3p_transient_detection.m | Three-pulse ESEEM sequence with user-defined sequence |
| custom_3pecho_withPhasecycling.m | Three-pulse echo with phasecycling (saffron) |
| custom_echo_indirectdimensions.m | Two-pulse echo using chirp pulses (saffron) |
| custom_hyscore.m | HYSCORE with non-ideal pulses |
| hh_threepulse.m | Three-pulse ESEEM of two 1H nuclei (saffron) |
| hyscoresimple.m | HYSCORE of a 14N nucleus (saffron) |
| n14_twopulse.m | Two-pulse ESEEM of a 14N nucleus (saffron) |
| orisel2p.m | Orientation-selective three-pulse ESEEM (saffron) |
| Downconversion.m | Digital downconversion and quadrature detection for a real input signal |
| IQupconversion.m | Upconversion of an IQ signal to an intermediate frequency (IF) |
| ResonatorBandwidthCompensation.m | Resonator bandwidth compensation by chirp rate adaptation |
| ResonatorSimulation.m | Illustration of the effect of the resonator on pulse shapes and pulse |
| SSBupconversion.m | Single sideband upconversion with upsampling |
| TransmitterNonlinearity.m | Illustration of amplitude compression and compensation for transmitter |
| chirpechopulses.m | WURST chirp pi/2 and pi pulses |
| higherordersechpulses.m | First order sech/tanh and higher order sech inversion pulses |
| sechtanhinversionpulse.m | Comparison of excitation profiles of a rectangular and sech/tanh pulse |
| adiabatic_passage.m | Spin trajectory during adiabatic passage (spidyan) |
| advanced_options.m | Advanced options for spindynamics (spidyan) |
| inversion_pulses.m | Spin trajectories with three different inversion pulses (spidyan) |
| moving_pulses.m | Moving a pulse with Exp.Dim (spidyan) |
| multidimensional_experiments.m | Setting up indirect dimensions (spidyan) |
| populationtransfer.m | Enhancement of central transition in a S = 3/2 system (spidyan) |
| rabi_oscillation.m | Rabi oscillation (spidyan) |
| relaxation.m | Relaxation (spidyan) |
| resonatorlimitations.m | Resonator limitations and compensation (spidyan) |
| spin_selective_excitation.m | Selective excitation of two spins with identical resonance frequency (spidyan) |
| spinecho_gaussianline.m | Spin echo of a Gaussian line (spidyan) |
| spinecho_nitroxide.m | Spin echo of a nitroxide using spidyan (spidyan) |
| cupc.m | Slow-motion spectrum of copper phthalocyanine in sulfuric acid |
| nitroxide_basic.m | Simple slow-motional cw EPR spectrum simulation of a nitroxide radical |
| nitroxide_frq.m | Frequency dependence of nitroxide slow-motional spectra |
| nitroxide_potential.m | Nitroxide slow-motional cw EPR spectrum with an orientational potential |
| nitroxide_tcorr.m | Correlation time dependence of a nitroxide spectrum |
| orderparameter.m | Calculate order parameter S(2,0) |
| orientpotential.m | Effect of orientational potential on slow-motion an rigid-limit EPR spectra |
| rhombicdiffusion.m | Comparison between fast- and slow-motion simulation algorithms |
| slow_fast.m | Comparison between fast- and slow-motion simulation algorithms |
| tempone.m | Slow-motional EPR spectrum of TEMPONE |
| tumbling.m | Effect of tumbling on EPR spectrum of axial g tensor |
| xchange.m | Effect of Heisenberg exchange in a nitroxide sample |
| broaden.m | Line broadening models for cw EPR spectra |
| chromium_iii.m | Cr(III) at Q band |
| copper_nitrogens.m | Cu2+ with four imidazole nitrogens |
| copper_sxq.m | A Cu(II) complex at S, X and Q band |
| crystalroadmap.m | Resonance roadmap from single crystal rotation |
| crystalrotation.m | Single-crystal spectra with sample rotation |
| cuedta.m | Mixture of two copper-EDTA complexes |
| cumnt2.m | [Cu(mnt)2] at 1.4 GHz, single-crystal |
| dstrain_corr.m | Demonstration of correlated D-E strain |
| eespins.m | Two coupled electrons |
| freq_vs_field_sweeps.m | Comparison of field sweep and frequency sweep cw EPR |
| freqsweep.m | Basic frequency-swept EPR spectrum |
| gstrain.m | Effect of g strain at various mw frequencies |
| inhomogeneous.m | How to use custom inhomogeneous distributions |
| matrixperturb.m | Matrix diagonalization vs perturbation theory |
| mn_strain.m | Mn(II) at X band with D strain |
| partial_order.m | An partially oriented Cu(II) complex |
| photosystem2_oec.m | EPR spectrum of the S2 state of the oxygen evolving complex |
| temp.m | Temperature effects for cw EPR |
| trifluormethyl.m | CF3 radical in gas matrix at low temperature |
| triplet_C60fullerene.m | Exited triplet state EPR of C60 fullerene |
| triplet_naphthalene.m | Photo-excited triplet state of naphthalene |
| triplet_spinpolarized.m | Powder spectrum of spin-polarized triplet (simple) |
| triplet_spinpolarized2.m | Single-crystal spectra of triplet with non-equilibrium populations |
| triplet_triphenylbenzene.m | Ground-state triplet of triphenylbenzene di-anion |
| cardamom_brownian_diffusion.m | Simulate a motional cw EPR spectrum using cardamom and chili |
| cardamom_jump.m | Simulate a cw EPR spectrum using a jump model between 3 states with |
| cardamom_md_direct_nitroxide.m | Simulation of a cw EPR spectrum using a molecular dynamics trajectory of |
| cardamom_md_explicit_nitroxide.m | Simulation of a cw EPR spectrum using a molecular dynamics trajectory of |
| cardamom_restricted_diffusion.m | Simulate a cw EPR spectrum with an orientational potential using cardamom |
| trajectories_diffusion.m | Trajectories of stochastic rotational diffusion |
| trajectories_diffusion_userpot.m | Trajectories of stochastic rotational diffusion |
| trajectories_jump.m | Trajectories of Markovian jumps between discrete states |
| trajectories_local_global.m | Trajectories of coupled stochastic rotational diffusion |
| cwmultiphoton.m | Cw EPR as a multiphoton experiment |
| overmodulation.m | Effect of modulation amplitude on the line shape in cw EPR |
| resonatorcoupling.m | Tuning picture of a cw EPR spectrometer |
| rotplane.m | Compute a set orientations in a plane |
| spinopxyz.m | Quick way to compute spin matrices by hand |
| symmdemo.m | Hamiltonian symmetry using symm() |
| terbium.m | Resonances of a Tb4+ system, animated |