48 | end
49 |
50 | minRes = min(Res(Res>0));
51 | if isempty(minRes)
52 | minRes = 0;
53 | end
54 |
55 | switch minRes
56 | case 0
57 | % no error
58 | fprintf(fid,'All test ran succesfull!\n');
59 | case 1
60 | % error message
61 | fprintf(fid,'The code throw an error message!\n');
62 | case 2
63 | % wrong result
64 | fprintf(fid,'Some of the numerical results were wrong!\n');
65 | otherwise
66 | fprintf(fid,'Unkown error code!\n');
67 | end
68 |
69 | errMsg = [allTestPath; errMsg];
70 |
71 | % clear symmetry.dat file from newly added entries
72 | sw_initialize;
73 |
74 | % change back to the current directory
75 | cd(currDir);
76 |
77 | % switch on warnings
78 | warning(warnLevel);
79 |
80 | end
--------------------------------------------------------------------------------
/test/sw_test_sym2.m:
--------------------------------------------------------------------------------
1 | function [Res, errMsg] = sw_test_sym2(tol)
2 |
3 | % no error
4 | Res = 0;
5 | errMsg = [];
6 |
7 | try
8 | %% RUN BY HAND
9 | mnco3 = sw;
10 | mnco3.genlattice('lat_const',[4.773 4.773 16.642],'angle',[90 90 120]*pi/180,'sym','R -3 c');
11 | %mnco3.genlattice('lat_const',[4.773 4.773 16.642],'angle',[90 90 120]*pi/180,'sym',167);
12 |
13 | mnco3.addatom('label',{'Mn'},'r',[0 0 0]','S',1,'color',[0;0;255]);
14 | mnco3.addatom('label',{'C'},'r', [0 0 1/4]','S',0,'color',[128;128;128]);
15 | mnco3.addatom('label',{'O'},'r', [0.2695 0 1/4]','S',0,'color',[255;0;0]);
16 |
17 | mnco3.gencoupling('maxdistance',10);
18 | mnco3.addmatrix('label',{'J1'},'color',[255;0;0]);
19 | mnco3.addmatrix('label',{'J2'},'color',[0;255;0]);
20 | mnco3.addmatrix('label',{'J3'},'color',[0;0;255]);
21 |
22 | mnco3.addcoupling('J1',1);
23 | mnco3.addcoupling('J2',1);
24 | %mnco3.addcoupling('J3',3);
25 |
26 | mnco3.setmatrix('label','J1','pref',{[1 0 0]});
27 | mnco3.setmatrix('label','J2','pref',{[0 1 0]});
28 |
29 | hFig = plot(mnco3,'range',[2 2 1],'pNonMagAtom',false);
30 | %%
31 | close(hFig);
32 |
33 | catch errMsg
34 | % code throws error
35 | Res = 1;
36 | return;
37 | end
38 |
39 | end
--------------------------------------------------------------------------------
/tutorials/help/Atomdat.m:
--------------------------------------------------------------------------------
1 | %% Atom.dat
2 | % The atom.dat file contains information about different elements/isotopes,
3 | % where each row defines an element/isotope. The meaning of the columns are
4 | % the following:
5 | %
6 | % * *Name* of element, string. These labels can be used in the
7 | % sw.unit_cell.label field to assign different atoms to crystallographic
8 | % positions.
9 | % * *Radius* in Angstrom, double. This gives the atomic radius for
10 | % plotting.
11 | % * *Color* RGB code, 3 integer. This gives the color for plottig the atom.
12 | % * *Mass*, double. The mass of the element/isotope for unit cell mass
13 | % calculation.
14 | % * *Long name*, string. Long name of the element/isotope.
15 | %
16 | % See also ion.dat.
--------------------------------------------------------------------------------
/tutorials/help/Atomdat/Atomdat.txt:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
16 | Atom.dat
The atom.dat file contains information about different elements/isotopes, where each row defines an element/isotope. The meaning of the columns are the following:
- Name of element, string. These labels can be used in the [[SwpropertiesEN#2][sw.unit_cell]].label field to assign different atoms to crystallographic positions.
- Radius in Angstrom, double. This gives the atomic radius for plotting.
- Color RGB code, 3 integer. This gives the color for plottig the atom.
- Mass, double. The mass of the element/isotope for unit cell mass calculation.
- Long name, string. Long name of the element/isotope.
17 |
18 |
19 |
27 |
28 |
--------------------------------------------------------------------------------
/tutorials/help/Bond.m:
--------------------------------------------------------------------------------
1 | %% Bond
2 | % Bonds are vectors connecting two magnetic ion.
3 | %
4 | %% Definition
5 | % Bonds are defined on the crystal of magnetic ions using the positions
6 | % within the unit cell. Each bond is defined by two atoms that are
7 | % connected with direction. The bond points from atom1 to atom2 where atom1
8 | % is at the zeroth unit cell (cell at the origin of the lattice coordinate
9 | % system), atom2 is in the unit cell defined by the *dl* translation vector
10 | % (in lattice units). The equivalent bonds that are related by lattice
11 | % vectors to the above defined one are not stored explicitly but assumed in
12 | % the spin wave calculation. The list of bonds are stored in the
13 | % sw.coupling field, where each column of dl, atom1 and atom2 subfields
14 | % defines different bonds. Each bond has an identifier stored in the idx
15 | % subfield. These identifiers let the user select certain set of bonds
16 | % easily. If two bonds have the same identifier, they are regarded
17 | % equivalent. Coupling matrix can be quickly assigned to multiple
18 | % equivalent bonds using the sw.addcoupling command.
19 | %
20 | %% Generating bonds
21 | % Although the sw.coupling matrix can be filled manually, the
22 | % sw.gencoupling command can generate the list of bonds automatically. The
23 | % generated list of bonds sorted according to increasing length, however no
24 | % particular order can be assumed between equal length bonds. If no
25 | % symmetry operators are considered for the generation of bonds
26 | % ('forceNoSym' option set to true) all bonds with equal length are
27 | % assigned the same identifier, starting with 1 for the shortest bonds. If
28 | % symmetry operators are considered, only symmetry equivalent bonds will
29 | % have the same identifier.
30 | %
31 | %% Listing bonds
32 | % To list bonds in an easyer to read format, the sw.couplingtable command
33 | % can be used. To list bonds with a set of identifiers use the
34 | % sw.couplingtable(bond_id) command.
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/tutorials/help/Documentation.m:
--------------------------------------------------------------------------------
1 | %% Documentation
2 |
3 | %% Old documentation
4 | % The old documentation that will be slowly replaced, can be found here:
5 | % [[https://wiki.helmholtz-berlin.de/spinw/index.php5/Documentation]]
6 |
7 | %% Introduction
8 | % *SpinW* is a Matlab Library for numerical and symbolic calculation on
9 | % spin wave dispersion on magnetic lattices. The main unit of the package
10 | % is the sw class, that contains the necessary properties and methods to
11 | % achieve this. The numerical method is described in the links under the
12 | % [[PublicationsEN][Publications]].
13 |
--------------------------------------------------------------------------------
/tutorials/help/Documentation/Documentation.txt:
--------------------------------------------------------------------------------
1 |
2 |
15 |
16 |
17 | Documentation
Contents
Old documentation
The old documentation that will be slowly replaced, can be found here: [[https://wiki.helmholtz-berlin.de/spinw/index.php5/Documentation]]
Introduction
SpinW is a Matlab Library for numerical and symbolic calculation on spin wave dispersion on magnetic lattices. The main unit of the package is the [[SwclassEN][sw class]], that contains the necessary properties and methods to achieve this. The numerical method is described in the links under the [[PublicationsEN][Publications]].
18 |
19 |
20 |
28 |
29 |
--------------------------------------------------------------------------------
/tutorials/help/Exchangecoupling/gen_Exchangecoupling_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/Exchangecoupling/gen_Exchangecoupling_01.png
--------------------------------------------------------------------------------
/tutorials/help/GenerateFigures.m:
--------------------------------------------------------------------------------
1 | %% sw properties
2 |
3 | docDir = '~/spinwdoc_git/docs/';
4 | imDir = [docDir 'images/'];
5 |
6 | plot(sw)
7 | saveas(gcf,[imDir 'swclass1.png'])
8 | close all
9 |
10 |
11 |
--------------------------------------------------------------------------------
/tutorials/help/Iondat.m:
--------------------------------------------------------------------------------
1 | %% Ion.dat
2 | % The ion.dat file contains information about different magnetic ions,
3 | % where each row defines an ion. The meaning of the columns are
4 | % the following:
5 | %
6 | % * *Name* of ion, string. These labels can be used in the
7 | % sw.unit_cell.label field to assign different ions to crystallographic
8 | % positions, predefined names follow the [M][element name][charge] notation
9 | % similarly to FullProf.
10 | % * *Magnetic form factor*, double. It is either 7 or 9 doubles the A, a,
11 | % B, b, ... coefficients in the formula:
12 | % LATEX\langle j_0(Q_s)\rangle = A\cdot exp(-a\cdot Q_s^2) + B\cdot exp(-b\cdot Q_s^2) + C* exp(-c\cdot Q_s^2)+D\cdot exp(-d\cdot Q_s^2) + EPATEX.
13 | % * *Spin quantum number*, double. This number defines the spin value that
14 | % is used as default in the sw.addatom mathod if 'S' is undefined.
15 | %
16 | % See also atom.dat, SW_MFF.
--------------------------------------------------------------------------------
/tutorials/help/Iondat/Iondat.txt:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
16 | Ion.dat
The ion.dat file contains information about different magnetic ions, where each row defines an ion. The meaning of the columns are the following:
- Name of ion, string. These labels can be used in the [[SwpropertiesEN#2][sw.unit_cell]].label field to assign different ions to crystallographic positions, predefined names follow the [M][element name][charge] notation similarly to FullProf.
- Magnetic form factor, double. It is either 7 or 9 doubles the A, a, B, b, ... coefficients in the formula: \langle j_0(Q_s)\rangle = A\cdot exp(-a\cdot Q_s^2) + B\cdot exp(-b\cdot Q_s^2) + C* exp(-c\cdot Q_s^2)+D\cdot exp(-d\cdot Q_s^2) + E.
- Spin quantum number, double. This number defines the spin value that is used as default in the sw.addatom mathod if 'S' is undefined.
See also [[AtomdatEN][atom.dat]], SW_MFF.
17 |
18 |
19 |
27 |
28 |
--------------------------------------------------------------------------------
/tutorials/help/Keywords.m:
--------------------------------------------------------------------------------
1 | %% Keywords
2 |
3 | %%
4 | % You can search for keywords below, that describe different topics. If you
5 | % have a question, this is a good starting point to search.
6 | %
7 | %
8 | %
9 | % *A, B, C*
10 | %
11 | %
12 | %
13 | % atom.dat, bond, cif class, cif file, constraint function,
14 | % coordinate system, crystal structure
15 | %
16 | %
17 | %
18 | %
19 | % *D, E, F*
20 | %
21 | %
22 | %
23 | % exchange coupling
24 | %
25 | %
26 | %
27 | % *G, H, I*
28 | %
29 | %
30 | %
31 | % g-matrix, ion.dat, help, Horace
32 | %
33 | %
34 | %
35 | %
36 | % *J, K, L*
37 | %
38 | %
39 | %
40 | %
41 | % *M, N, O*
42 | %
43 | %
44 | %
45 | % list of sw methods, long range order, magnetic field, magnetic structure
46 | %
47 | %
48 | %
49 | % *P, Q, R*
50 | %
51 | %
52 | %
53 | % plotting crystal structure, list of sw properties, powder spectrum
54 | %
55 | %
56 | %
57 | % *S, T, U*
58 | %
59 | %
60 | %
61 | % simulated annealing, space group, spin, spin-spin correlation function,
62 | % spin wave, symmetry.dat, sw class, temperature, twin, units
63 | %
64 | %
65 | %
66 | % *V, W, X, Y, Z*
67 | %
--------------------------------------------------------------------------------
/tutorials/help/Powderspectrum.m:
--------------------------------------------------------------------------------
1 | %%
--------------------------------------------------------------------------------
/tutorials/help/Swclass/export_fig_out.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/Swclass/export_fig_out.png
--------------------------------------------------------------------------------
/tutorials/help/Swclass/fig1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/Swclass/fig1.png
--------------------------------------------------------------------------------
/tutorials/help/Swclass/fig_test1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/Swclass/fig_test1.png
--------------------------------------------------------------------------------
/tutorials/help/Swclass/gen_Swclass_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/Swclass/gen_Swclass_01.png
--------------------------------------------------------------------------------
/tutorials/help/Swclass/painter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/Swclass/painter.png
--------------------------------------------------------------------------------
/tutorials/help/links.txt:
--------------------------------------------------------------------------------
1 | "sw.lattice" "[[SwpropertiesEN#1][sw.lattice]]"
2 | "sw.unit_cell" "[[SwpropertiesEN#2][sw.unit_cell]]"
3 | "sw.twin" "[[SwpropertiesEN#3][sw.twin]]"
4 | "sw.matrix" "[[SwpropertiesEN#4][sw.matrix]]"
5 | "sw.single_ion" "[[SwpropertiesEN#5][sw.single_ion]]"
6 | "sw.coupling" "[[SwpropertiesEN#6][sw.coupling]]"
7 | "sw.mag_str" "[[SwpropertiesEN#7][sw.mag_str]]"
8 | "sw.unit" "[[SwpropertiesEN#8][sw.unit]]"
9 | "sw class" "[[SwclassEN][sw class]]"
10 | "coordinate system" "[[CoordinatesystemEN][coordinate system]]"
11 | "powder spectrum" "[[PowderspectrumEN][powder spectrum]]"
12 | "exchange coupling" "[[ExchangecouplingEN][exchange coupling]]"
13 | "atom.dat" "[[AtomdatEN][atom.dat]]"
14 | "ion.dat" "[[IondatEN][ion.dat]]"
15 | "bond" "[[BondEN][bond]]"
--------------------------------------------------------------------------------
/tutorials/help/swclass1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/help/swclass1.png
--------------------------------------------------------------------------------
/tutorials/publish/LuVO3_fitted_modes.txt:
--------------------------------------------------------------------------------
1 | QH QK QL ENlim1 ENlim2 I1 EN1 sigma1 I2 EN2 sigma2
2 | 0 1.0000 2.1000 2.0000 40.0000 185.5220 27.9475 0.1788 0 0 0
3 | 0 1.0000 2.2000 2.0000 40.0000 237.3841 27.4221 0.3170 0 0 0
4 | 0 1.0000 2.3000 2.0000 40.0000 243.4974 26.2392 0.1756 0 0 0
5 | 0 1.0000 2.4000 2.0000 40.0000 271.7875 24.8575 0.1297 0 0 0
6 | 0 1.0000 2.5000 2.0000 40.0000 292.3563 22.7275 0.1265 0 0 0
7 | 0 1.0000 2.6000 2.0000 40.0000 350.5324 20.2714 0.1148 0 0 0
8 | 0 1.0000 2.7000 2.0000 40.0000 380.7541 17.4248 0.1450 0 0 0
9 | 0 1.0000 2.8000 2.0000 40.0000 446.7639 13.8905 0.1390 0 0 0
10 | 0 1.0000 2.9000 2.0000 40.0000 86.3028 5.6092 0.5161 540.3167 10.5548 0.2542
11 | 0 1.0000 3.0000 2.0000 40.0000 538.0782 3.9185 0.1739 577.6867 8.9039 0.4067
12 | 0 1.1000 3.1000 2.0000 40.0000 433.0529 12.9913 0.1046 0 0 0
13 | 0 1.2000 3.2000 2.0000 40.0000 243.7242 20.7170 0.1041 0 0 0
14 | 0 1.3000 3.3000 2.0000 40.0000 172.8896 27.2992 0.1228 0 0 0
15 | 0 1.4000 3.4000 2.0000 40.0000 166.9054 31.7067 0.0933 0 0 0
16 | 0 1.5000 3.5000 2.0000 40.0000 20.7324 36.6609 0.4899 0 0 0
--------------------------------------------------------------------------------
/tutorials/publish/tutorial1/tutorial1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial1/tutorial1.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial1/tutorial1_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial1/tutorial1_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial1/tutorial1_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial1/tutorial1_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial1/tutorial1_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial1/tutorial1_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial1/tutorial1_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial1/tutorial1_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial1/tutorial1_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial1/tutorial1_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial10/tutorial10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial10/tutorial10.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial10/tutorial10_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial10/tutorial10_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial10/tutorial10_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial10/tutorial10_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial10/tutorial10_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial10/tutorial10_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial10/tutorial10_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial10/tutorial10_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial11.m:
--------------------------------------------------------------------------------
1 | %% Spin wave spectrum of La2CuO4
2 | % Crystal structure of La2CuO4 contains Cu2+ atoms with S = 1/2 spin on a
3 | % square lattice. Exchange parameters are taken from the paper:
4 | % R. Coldea, Phys. Rev. Lett. *86*, 5377 (2001).
5 | % The exchanges are corrected for the ring exchange but the energy
6 | % renormalization factor included in the paper is not applied.
7 |
8 | J = 138.3;
9 | Jp = 2;
10 | Jpp = 2;
11 | Jc = 38;
12 |
13 | lacuo = sw_model('squareAF',[J-Jc/2 Jp-Jc/4 Jpp]/2,0);
14 | lacuo.unit_cell.S = 1/2;
15 | plot(lacuo,'range',[2 2 1])
16 |
17 | %% Magnon dispersion and intensity
18 | % We plot the magnon dispersion and the neutron scattering intensity that
19 | % can be directly compared to the paper. We manually apply the quantum
20 | % renormalization factor on the energies.
21 |
22 | Zc = 1.18;
23 |
24 | Qlist = {[3/4 1/4 0] [1/2 1/2 0] [1/2 0 0] [3/4 1/4 0] [1 0 0] [1/2 0 0] 100};
25 | Qlab = {'P' 'M' 'X' 'P' '\Gamma' 'X'};
26 |
27 | lacuoSpec = lacuo.spinwave(Qlist,'hermit',false);
28 | lacuoSpec.omega = lacuoSpec.omega*Zc;
29 |
30 | lacuoSpec = sw_neutron(lacuoSpec);
31 | lacuoSpec = sw_egrid(lacuoSpec,'component','Sperp');
32 | figure
33 | subplot(2,1,1)
34 | sw_plotspec(lacuoSpec,'mode',3,'axLim',[0 5],'dE',35,'dashed',true,'qlabel',Qlab)
35 | colorbar off
36 | subplot(2,1,2)
37 | lacuoSpec = sw_omegasum(lacuoSpec,'zeroint',1e-5,'tol',1e-3);
38 | sw_plotspec(lacuoSpec,'mode',2,'axLim',[0 20],'dashed',true,'colormap',[0 0 0],'qlabel',Qlab)
39 | swplot.subfigure(1,3,1)
40 |
41 | %%
42 | % Written by
43 | % Sandor Toth
44 | % 16-June-2014
--------------------------------------------------------------------------------
/tutorials/publish/tutorial11/tutorial11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial11/tutorial11.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial11/tutorial11_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial11/tutorial11_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial11/tutorial11_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial11/tutorial11_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_06.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial12/tutorial12_07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial12/tutorial12_07.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial13/tutorial13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial13/tutorial13.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial13/tutorial13_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial13/tutorial13_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial13/tutorial13_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial13/tutorial13_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial13/tutorial13_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial13/tutorial13_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial13/tutorial13_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial13/tutorial13_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial13/tutorial13_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial13/tutorial13_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial14/tutorial14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial14/tutorial14.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial14/tutorial14_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial14/tutorial14_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial14/tutorial14_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial14/tutorial14_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial14/tutorial14_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial14/tutorial14_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial15/tutorial15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial15/tutorial15.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial15/tutorial15_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial15/tutorial15_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial15/tutorial15_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial15/tutorial15_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial15/tutorial15_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial15/tutorial15_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial15/tutorial15_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial15/tutorial15_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial15/tutorial15_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial15/tutorial15_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_06.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_07.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_08.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_09.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_10.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial16/tutorial16_11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial16/tutorial16_11.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial18/tutorial18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial18/tutorial18.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial18/tutorial18_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial18/tutorial18_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial18/tutorial18_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial18/tutorial18_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial18/tutorial18_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial18/tutorial18_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial18/tutorial18_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial18/tutorial18_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial18/tutorial18_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial18/tutorial18_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial19/tutorial19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial19/tutorial19.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial19/tutorial19_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial19/tutorial19_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial19/tutorial19_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial19/tutorial19_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial19/tutorial19_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial19/tutorial19_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial19/tutorial19_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial19/tutorial19_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial19/tutorial19_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial19/tutorial19_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial2/tutorial2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial2/tutorial2.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial2/tutorial2_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial2/tutorial2_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial2/tutorial2_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial2/tutorial2_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial2/tutorial2_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial2/tutorial2_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial2/tutorial2_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial2/tutorial2_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial20/tutorial20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial20/tutorial20.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial20/tutorial20_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial20/tutorial20_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial20/tutorial20_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial20/tutorial20_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial20/tutorial20_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial20/tutorial20_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial20/tutorial20_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial20/tutorial20_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial21/tutorial21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial21/tutorial21.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial21/tutorial21_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial21/tutorial21_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial21/tutorial21_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial21/tutorial21_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial21/tutorial21_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial21/tutorial21_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial21/tutorial21_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial21/tutorial21_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial28/tutorial28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial28/tutorial28.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial28/tutorial28_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial28/tutorial28_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial28/tutorial28_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial28/tutorial28_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial28/tutorial28_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial28/tutorial28_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial28/tutorial28_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial28/tutorial28_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial3/tutorial3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial3/tutorial3.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial3/tutorial3_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial3/tutorial3_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial3/tutorial3_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial3/tutorial3_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial3/tutorial3_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial3/tutorial3_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial3/tutorial3_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial3/tutorial3_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial3/tutorial3_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial3/tutorial3_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_06.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_07.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial30/tutorial30_08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial30/tutorial30_08.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_06.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_07.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_08.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_09.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_10.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_11.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial31/tutorial31_12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial31/tutorial31_12.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_06.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial32/tutorial32_07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial32/tutorial32_07.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial33/tutorial33.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial33/tutorial33.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial33/tutorial33_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial33/tutorial33_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial33/tutorial33_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial33/tutorial33_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial33/tutorial33_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial33/tutorial33_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial34/tutorial34.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial34/tutorial34.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial34/tutorial34_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial34/tutorial34_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial34/tutorial34_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial34/tutorial34_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial34/tutorial34_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial34/tutorial34_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial35/tutorial35.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial35/tutorial35.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial35/tutorial35_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial35/tutorial35_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial35/tutorial35_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial35/tutorial35_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial35/tutorial35_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial35/tutorial35_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial35/tutorial35_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial35/tutorial35_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial35/tutorial35_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial35/tutorial35_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial37.m:
--------------------------------------------------------------------------------
1 | %% triangular lattice dispersion
2 |
3 | spec = sw_egrid(spinwave(sw_model('triAF',1),{[0 0 0] [1 1 0] 501}));
4 |
5 | %% constant resolution
6 |
7 | figure;
8 |
9 | % plot the constant resolution value
10 | dE = 0.3;
11 | subplot(3,2,1)
12 | plot([0 4],[dE dE],'r-')
13 | title('Constant resolution function')
14 | xlabel('Energy Transfer (meV)')
15 | ylabel('FWHM energy resolution (meV)')
16 |
17 | % apply constant resolution on the simulation
18 | subplot(3,2,2)
19 | spec = sw_instrument(spec,'dE',0.3);
20 | sw_plotspec(spec,'mode','color');
21 |
22 |
23 | % fit and plot tabulated resoltuion values and apply to the simulation
24 | EN = [0 1 2 3 4]; % meV
25 | dE = [0.05 0.05 0.05 0.3 0.4]; % meV
26 | R = [EN' dE'];
27 |
28 | subplot(3,2,3)
29 | spec = sw_instrument(spec,'dE',R,'polDeg',3,'plot',true);
30 |
31 | subplot(3,2,4)
32 | sw_plotspec(spec,'mode','color');
33 |
34 | % resolution is defined by user provided function (anonymous or .m file)
35 | a = 0.01;
36 | b = 1.0;
37 | resFun = @(x)a+b*exp(-x);
38 |
39 | % plot the user defined resolution function
40 | xVal = linspace(0,5,501);
41 | subplot(3,2,5)
42 | plot(xVal,resFun(xVal),'r-')
43 | title('Resolution function')
44 | xlabel('Energy Transfer (meV)')
45 | ylabel('FWHM energy resolution (meV)')
46 |
47 | % apply the function to the simulation
48 | subplot(3,2,6)
49 | spec = sw_instrument(spec,'dE',resFun);
50 | sw_plotspec(spec,'mode','color');
51 |
--------------------------------------------------------------------------------
/tutorials/publish/tutorial38/tutorial38.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial38/tutorial38.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial38/tutorial38_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial38/tutorial38_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial38/tutorial38_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial38/tutorial38_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial38/tutorial38_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial38/tutorial38_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial38/tutorial38_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial38/tutorial38_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial4/tutorial4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial4/tutorial4.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial4/tutorial4_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial4/tutorial4_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial4/tutorial4_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial4/tutorial4_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial4/tutorial4_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial4/tutorial4_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial4/tutorial4_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial4/tutorial4_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial5/tutorial5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial5/tutorial5.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial5/tutorial5_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial5/tutorial5_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial5/tutorial5_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial5/tutorial5_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial5/tutorial5_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial5/tutorial5_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial5/tutorial5_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial5/tutorial5_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial5/tutorial5_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial5/tutorial5_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial6/tutorial6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial6/tutorial6.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial6/tutorial6_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial6/tutorial6_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial6/tutorial6_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial6/tutorial6_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial6/tutorial6_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial6/tutorial6_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial6/tutorial6_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial6/tutorial6_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial6/tutorial6_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial6/tutorial6_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7.m:
--------------------------------------------------------------------------------
1 | %% k=0 Kagome antiferromagnet
2 | % We create a lattice with space group "P -3" where all first neighbor
3 | % bonds are symmetry equivalent and add a magnetic Cr+ with S=1 spin.
4 |
5 | AFkagome = spinw;
6 | AFkagome.genlattice('lat_const',[6 6 10],'angled',[90 90 120],'spgr','P -3')
7 | AFkagome.addatom('r',[1/2 0 0],'S', 1,'label','MCu1','color','r')
8 | plot(AFkagome,'range',[2 2 1])
9 |
10 | %% Create bonds
11 | % Generate the list of bonds and lists them.
12 |
13 | AFkagome.gencoupling('maxDistance',7)
14 | disp('Bonds:')
15 | AFkagome.table('bond',[])
16 |
17 | %% Hamiltonian
18 | % We create AFM first neighbor interaction and weak 2nd neighbor AFM
19 | % exchange.
20 |
21 | AFkagome.addmatrix('label','J1','value',1.00,'color','r')
22 | AFkagome.addmatrix('label','J2','value',0.11,'color','g')
23 | AFkagome.addcoupling('mat','J1','bond',1)
24 | AFkagome.addcoupling('mat','J2','bond',2)
25 | plot(AFkagome,'range',[3 3 1])
26 |
27 | %% Generate magnetic structure
28 | % We create a k = (0 0 0) magnetic structure, with the three spin directions
29 | % in the unit cell (120 degree between neighbors). The spin vector
30 | % components are given in the coordinate system of the lattice vectors
31 | % (abc).
32 |
33 | S0 = [1 -2 1; 2 -1 -1; 0 0 0];
34 | AFkagome.genmagstr('mode','direct','k',[0 0 0],'n',[0 0 1],'unitS','lu','S',S0);
35 | disp('Magnetic structure:')
36 | AFkagome.table('mag')
37 | AFkagome.energy
38 |
39 | plot(AFkagome,'range',[3 3 1])
40 |
41 | %% Calculate spin wave dispersion
42 |
43 | afkSpec = AFkagome.spinwave({[-1/2 0 0] [0 0 0] [1/2 1/2 0] 100},'hermit',false);
44 | figure
45 | sw_plotspec(afkSpec,'mode',1,'axLim',[0 3],'colorbar',false,'colormap',[0 0 0],'dashed',true)
46 |
47 | %% Powder spectrum
48 |
49 | afkPow = AFkagome.powspec(linspace(0,2.5,150),'Evect',linspace(0,3,250),...
50 | 'nRand',1e3,'hermit',false);
51 |
52 | figure
53 | sw_plotspec(afkPow,'axLim',[0 0.2])
54 |
55 | %%
56 | % Written by
57 | % Bjorn Fak & Sandor Toth
58 | % 06-Jun-2014, 06-Feb-2016
59 |
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7/tutorial7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial7/tutorial7.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7/tutorial7_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial7/tutorial7_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7/tutorial7_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial7/tutorial7_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7/tutorial7_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial7/tutorial7_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7/tutorial7_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial7/tutorial7_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial7/tutorial7_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial7/tutorial7_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_06.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_07.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial8/tutorial8_08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial8/tutorial8_08.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial9/tutorial9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial9/tutorial9.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial9/tutorial9_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial9/tutorial9_01.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial9/tutorial9_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial9/tutorial9_02.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial9/tutorial9_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial9/tutorial9_03.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial9/tutorial9_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial9/tutorial9_04.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorial9/tutorial9_05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tsdev/spinw/03e6d885c1d992404572c6fe22f930bd3330a7e5/tutorials/publish/tutorial9/tutorial9_05.png
--------------------------------------------------------------------------------
/tutorials/publish/tutorials.txt:
--------------------------------------------------------------------------------
1 | Examples.txt
2 |
3 | ex1 Ferromagnetic NN chain: energies and intensities (constant) OK
4 | ex2 AF NN chain: energies OK,
5 | intensities a bit wiggly when plotted by sw_plotspec(bfs, 'mode',2)
6 | ex3 Frustrated J1-J2 chain: some matlab warnings
7 | did not check results in detail
8 | ex4 Square lattice: energies and intensities OK [Coldea01, Headings01]
9 | ex5 ferro kagome: energies OK, intensities OK except for spikes at
10 | crossing points
11 | ex6 ferro kagome w/ 4 exchanges: energies OK, intensities OK except for
12 | spikes at crossing points
13 | ex7 AF k=0 kagome: magnetic structure and ground state energy OK
14 | dispersion OK [Fig 15 in Yildirim06]
15 | ex8 AF k=0 J1-DM kagome: OK for opposite sign convention of Dz
16 | as compared to Fig 13 of Yildirim06
17 | ex9 AF sqrt3Xsqrt3 kagome: OK with Sylvain Petit
18 | (despite that the gs is not unique for J1 only!)
19 |
--------------------------------------------------------------------------------
/tutorials/tutorial/aniso_rotation.m:
--------------------------------------------------------------------------------
1 | Aniso = diag([-1 0 0]);
2 |
3 | %% you define 2 vectors (the easy axis of Aniso (100) above and the easy axis direction you want in your system (111)):
4 |
5 | v1 = [1 0 0];
6 | v2 = [1 1 1]/sqrt(3);
7 |
8 | Find the axis around which v1 can be rotated to v2:
9 |
10 | ax = cross(v1,v2);
11 |
12 | Find the rotation angle:
13 |
14 | phi = atan2(norm(cross(v1,v2)),dot(v1,v2));
15 |
16 | Create a rotation matrix:
17 |
18 | R = sw_rotmat(ax,phi);
19 |
20 | Rotate the Aniso matrix:
21 |
22 | A = R*Aniso*R?;
23 |
24 | This A matrix will define an easy axis anisotropy along the (111) direction with the size of 1 meV. To double check that it is right, we calculate the eigenvalues:
25 |
26 | [V,Aniso2] = eig(A);
27 |
--------------------------------------------------------------------------------
/tutorials/tutorial/anneal_tutorial.m:
--------------------------------------------------------------------------------
1 | % Test to reproduce results of this paper:
2 | % P. Lacorre, et al., J. of Magn. and Magn. Mat., 71, 63(1987).
3 |
4 | %% Defines lattice for antiferromagnetic chains
5 |
6 | % AFM chain along a-axis
7 | hChain = sw_model('chain',2);
8 |
9 | % Adds D easy-axis single-ion anisotropy
10 | hChain.addmatrix('value',diag([0 0 -0.2]),'label','A','color','red')
11 |
12 | % Adds the defined D anisotropy to all magnetic atoms
13 | hChain.addaniso('A')
14 |
15 | % Removes units
16 | hChain.unit.kB = 1;
17 | hChain.unit.muB = 1;
18 |
19 | %% Plots crystal structure
20 |
21 | plot(hChain,'range',[1 1/2 1/2]);
22 |
23 |
24 | %% Plots initial magnetic structure
25 |
26 | plot(hChain,'range',[10 1/2 1/2]);
27 |
28 | %% Perform simulated annealing with periodic boundary condition in magnetic field
29 | % 150 unit cell along a-axis
30 |
31 | T = 1e-2;
32 | hChain.field([0 0 0]);
33 | param = struct('verbosity',2,'cool',@(T)(0.8*T),'initT',40,'endT',T,'nMC',1e3,'nStat',0,'random',true,'nExt',[150 1 1]);
34 | aRes = hChain.anneal(param);
35 |
36 | fieldSweep = [linspace(0,5,40) linspace(5,0,40)];
37 | loop_param = struct('x',fieldSweep,'func',@(obj,x)obj.field([0 0 x]),'nMC',2e4,'nStat',1e4,'tid',2,'fineT',T);
38 |
39 | pStat = hChain.annealloop(loop_param);
40 |
41 |
42 | M = squeeze(sum(pStat.avgM,2))/hChain.nmagext;
43 |
44 | %% Plot M versus external magnetic field
45 |
46 | hold on
47 | plot(pStat.x,M(3,:),'g.-')
48 |
49 | title(sprintf('S=1 Heisenberg antiferromagnetic chain, 150x1x1 unit cell, T=%g K',param.endT));
50 | xlabel('Magnetic Field (T)')
51 | ylabel('Magnetic moment')
52 | legend('M_z')
53 | axis([0 5 0 1.2])
--------------------------------------------------------------------------------
/tutorials/tutorial/ca2ruo4.m:
--------------------------------------------------------------------------------
1 | %% generate structure with 1st neghbor bonds
2 |
3 | ca2ruo4 = spinw('/Users/sandortoth/Documents/structures/Ca2RuO4/ca2ruo4.cif');
4 | ca2ruo4.unit_cell.S(2) = 1;
5 | plot(ca2ruo4)
6 |
7 | ca2ruo4.gencoupling()
8 | ca2ruo4.addmatrix('label','J','value',1)
9 | ca2ruo4.addcoupling('bond',1,'mat','J')
10 |
11 | %% symmetry allowed elements of the exchange interaction
12 |
13 | ca2ruo4.getmatrix('mat','J')
14 |
15 | %% assign values to the exchange matrix
16 |
17 | J = 5.2;
18 | a = 0.10*J;
19 | e = 1;
20 | E = 21.5;
21 | A = 1.0;
22 |
23 | Jmat = [J A 0;A J 0;0 0 J-a];
24 | Amat = [e 0 0; 0 0 0; 0 0 E];
25 | ca2ruo4.addmatrix('label','J','value',Jmat)
26 | ca2ruo4.addmatrix('label','A','value',Amat)
27 | ca2ruo4.addaniso('A')
28 | % show bond directional interactions, generated using the symmetry
29 | % operators of the space group
30 | %plot(ca2ruo4,'range',[2 2 1])
31 |
32 | % optimize magnetic structure
33 |
34 | ca2ruo4.genmagstr('mode','random','S',[1 0 0]','k',[0 0 0])
35 | magRes = ca2ruo4.optmagsteep('nRun',1e4);
36 | ca2ruo4.energy
37 | % calculate spin wave dispersion
38 |
39 | A = [1/2 0 0];
40 | M = [1/2 1/2 0];
41 | B = [1 0 0];
42 | G = [0 0 0];
43 | spec = ca2ruo4.spinwave({A M B G M});
44 | %spec = ca2ruo4.spinwave({[1/2 1/2 0] [1 0 0] [1 1 0] [0 0 0] [1 0 0]});
45 | spec = sw_egrid(spec,'component','Sxx+Syy+Szz','Evect',linspace(0,65,501));
46 | spec = sw_instrument(spec,'dE',4.2);
47 | figure
48 | sw_plotspec(spec,'qlabel',{'A' 'M' 'B' '\Gamma' 'M'},'axLim',[0 65],'mode','disp','colormap',[0 0 0],'dashed',false,'linestyle','--')
49 | hold on
50 | sw_plotspec(spec,'qlabel',{'(1/2,0)' '(1/2,1/2)' '(1,0)' '(0,0)' '(1/2,1/2)'},'axLim',[0 0.05],'mode','color')
51 | legend('off')
52 | colorbar
53 | title('')
54 |
55 |
56 |
--------------------------------------------------------------------------------
/tutorials/tutorial/damping_example.m:
--------------------------------------------------------------------------------
1 | %%
2 |
3 | model = sw_model('triAF',1);
4 | plot(model)
5 |
6 | % calculate LSWT spectrum
7 | spec = model.spinwave({[0 0 0] [1 1 0] 601});
8 | EvBin = linspace(0,5,501);
9 | EvCenter = (EvBin(2:end)+EvBin(1:(end-1)))/2;
10 | spec = sw_egrid(spec,'Evect',EvBin);
11 |
12 | % FWHM of the Lorentzian component
13 | lorFWHM = 0.2;
14 | % should be larger than zero
15 | gauFWHM = 1e-5;
16 |
17 | spec = sw_instrument(spec,'dE',gauFWHM,'func',@(x,p)swfunc.voigtfwhm(x,[p lorFWHM 0]));
18 |
19 | figure
20 | subplot(2,1,1)
21 | sw_plotspec(spec,'mode','color')
22 | axis([0 1 0 5])
23 | legend off
24 |
25 | % plot cut at a selected Q value
26 | Q = 1/2; % (1/2,1/2,0)
27 |
28 | % find the index of the Q in the calculated Q points
29 | idx = findmin(abs(spec.hkl(1,:)-Q));
30 | % intensity
31 | I = spec.swConv(:,idx);
32 |
33 |
34 | subplot(2,1,2)
35 | plot(EvCenter,I)
36 | xlabel('Energy Transfer (meV)')
37 | ylabel('Intensity (arb. units)')
38 |
39 | title(sprintf('Q=(%4.2f,%4.2f,%4.2f)',[Q Q 0]))
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/tutorials/tutorial/helical_chain_infield.m:
--------------------------------------------------------------------------------
1 | %% Optimize chain in magnetic field
2 |
3 | chain = spinw;
4 | chain.genlattice('lat_const',[3 4 4])
5 | chain.addatom('r',[0 0 0],'S',1)
6 | chain.addmatrix('label','J1','value',1)
7 | chain.addmatrix('label','D','value',[0 0 0.1])
8 | chain.gencoupling
9 | chain.addcoupling('mat','J1','bond',1)
10 | chain.addcoupling('mat','D','bond',1)
11 | plot(chain)
12 |
13 |
14 | %% Optimize chain in magnetic field
15 |
16 | chain = spinw;
17 | chain.genlattice('lat_const',[6 4 4])
18 | chain.addatom('r',[0 0 0],'S',1)
19 | chain.addatom('r',[1/2 0 0],'S',1)
20 | chain.addmatrix('label','J1','value',1)
21 | chain.addmatrix('label','D','value',[0 0 0.1])
22 | chain.gencoupling
23 | chain.addcoupling('mat','J1','bond',1)
24 | chain.addcoupling('mat','D','bond',1)
25 | plot(chain)
26 |
27 | %% k-vector
28 |
29 | res = chain.optmagk;
30 | chain.energy
31 |
--------------------------------------------------------------------------------
/tutorials/tutorial/inpurity.m:
--------------------------------------------------------------------------------
1 | %% simulate non-magnetic inpurities on the square lattice
2 |
3 | % probability that the site is magnetic
4 | p = 0.95;
5 |
6 | S = 1/2;
7 |
8 | N1 = 10;
9 | N2 = 10;
10 | nMagSite = rand(N1,N2) the ground state is trivial, since there is no frustration
33 |
34 | pMC.initT = 10;
35 | pMC.endT = 0.1;
36 | pMC.nMC = 1e3;
37 | pMC.nORel = 2;
38 |
39 | aStat = sq.anneal(pMC);
40 |
41 | % energy after MC
42 | E0 = sq.energy;
43 |
44 | % further optimisation using steepest descendent method
45 | sq.optmagsteep;
46 | E1 = sq.energy;
47 |
48 |
49 | %% plot magnetic structure
50 |
51 | sq.plot
52 |
53 | %% spin waves
54 |
55 | H = 1;
56 | K = 1;
57 | nQ = 200;
58 |
59 | spec = sq.spinwave({[0 0 0] [H*N1 K*N2 0] nQ},'hermit',false);
60 | spec = sw_egrid(spec);
61 |
62 | figure
63 | sw_plotspec(spec,'mode','color','dE',0.1)
64 |
65 |
66 | %% no disorder
67 |
68 | sq2 = sw_model('squareAF',[1 0.3]);
69 | spec0 = sq2.spinwave({[0 0 0] [H K 0] nQ});
70 | spec0 = sw_egrid(spec0);
71 |
72 | %% plot spec
73 |
74 | figure
75 | sw_plotspec(spec0,'mode','disp','imag',true,'colorbar',false,'axLim',[0 3],'colormap',[0 0 255])
76 |
77 | %% overplot the two calculations
78 |
79 | spec.hkl = [spec.hkl(1,:)/N1;spec.hkl(2,:)/N2;spec.hkl(3,:)];
80 |
81 | figure
82 | sw_plotspec(spec,'mode','color','dE',0.1)
83 | hold on
84 | sw_plotspec(spec0,'mode','disp','imag',true,'colorbar',false,'axLim',[0 3],'colormap',[0 0 255])
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/tutorials/tutorial/tutorial22.m:
--------------------------------------------------------------------------------
1 | %% antiferromagnetic chain
2 |
3 | afc = spinw;
4 | afc.genlattice('lat_const',[3 4 4])
5 | afc.addatom('r',[ 0 0 0],'S',1)
6 | afc.addmatrix('label','A','value',diag([0 0 0.1]))
7 | afc.addmatrix('label','J1','value',1)
8 | afc.addmatrix('label','J2-','value',1/3,'color','orange')
9 | afc.gencoupling
10 | afc.addcoupling('mat','J1', 'bond',1)
11 | afc.addcoupling('mat','J2-','bond',5)
12 | afc.addaniso('A')
13 | %afc.optmagsteep;
14 | plot(afc,'range',[2 1 1])
15 |
16 | %% opt magnetic structure
17 |
18 | %afc.field([0 0 7])
19 | afc.optmagstr('func',@gm_spherical3d,'xmin',[0 0, 0 0 0,0 0],'xmax',[pi/2 0,1/2 0 0,0 0])
20 | E0 = afc.energy;
21 | %% magnetic field
22 |
23 | optRes = afc.optmagsteep('random',false,'nRun',400);
24 | %plot(afc)
25 | figure;
26 | plot(optRes.e,'o-')
27 |
28 | %% spin wave
29 | spec = afc.spinwave({[0 0 0] [2 0 0] 500},'hermit',true);
30 | spec = sw_egrid(spec,'Evect',linspace(0,3,300));
31 | figure
32 | sw_plotspec(spec);%,'mode','disp','imag',true);
33 | axis([0 2 0 3])
34 |
35 |
36 |
--------------------------------------------------------------------------------
/tutorials/tutorial/tutorial26.m:
--------------------------------------------------------------------------------
1 | % Spiral dispersion and correlation function on Bravais lattice
2 | % Theoretical and experimental calculation
3 |
4 | %% chain
5 |
6 | J1 = 1;
7 | J2 = 3;
8 |
9 | ch = spinw;
10 | ch.genlattice('lat_const',[3 4 4])
11 | ch.addatom('r',[0 0 0],'S',1)
12 | ch.addmatrix('label','J1','value',1)
13 | ch.addmatrix('label','J2-','value',3,'color','blue')
14 |
15 | ch.gencoupling
16 | ch.addcoupling('mat','J1','bond',1)
17 | ch.addcoupling('mat','J2-','bond',5)
18 |
19 | plot(ch,'range',[3 1 1])
20 |
21 | %%
22 |
23 | ch.optmagstr('func',@gm_planar,'xmin',[0, 0 0 0, 0 0],'xmax',[0 1/2 0 0, 0 0])
24 |
25 | %%
26 |
27 | spec = ch.spinwave({[0 0 0] [1 0 0] 500});
28 | spec = sw_egrid(spec);
29 |
30 | figure
31 | subplot(2,1,1)
32 | sw_plotspec(spec,'mode','disp','linestyle','-');
33 | subplot(2,1,2)
34 | sw_plotspec(spec,'mode','int','linestyle','-');
35 |
36 | %
37 |
38 | Q = ch.mag_str.k(1);
39 |
40 | J = @(k)2*J1*cos(2*pi*k)+2*J2*cos(4*pi*k);
41 | A = @(k)J(k)+J(k+Q)/2+J(k-Q)/2-2*J(Q);
42 | B = @(k)J(k)-J(k+Q)/2-J(k-Q)/2;
43 |
44 | k = linspace(0,1,500);
45 |
46 | w1 = @(k)sqrt(A(k).^2-B(k).^2);
47 | w2 = @(k)-sqrt(A(k).^2-B(k).^2);
48 | %w1 = A(k)+B(k);
49 | %w2 = A(k)-B(k);
50 | Sxx = 2*(A(k)-B(k))./w1(k);
51 | Sxixi = @(k)2*(A(k)+B(k))./w1(k);
52 | Syy = 1/4*(Sxixi(k-Q)+Sxixi(k+Q));
53 | Szz = Syy;
54 |
55 | %figure;
56 | subplot(2,1,1)
57 | hold on
58 | plot(k,(w1(k))/2,'ro')
59 | hold on
60 | plot(k,(w1(k-Q))/2,'go')
61 | plot(k,(w1(k+Q))/2,'bo')
62 | axis([0 1 0 10])
63 | %
64 | subplot(2,1,2)
65 | hold on
66 | plot(k,Sxx/4+0.01,'r-')
67 | hold on
68 | plot(k,Sxixi(k-Q)/4/4+0.01,'g-')
69 | plot(k,Sxixi(k+Q)/4/4+0.01,'b-')
70 |
71 | axis([0 1 0 1])
72 |
--------------------------------------------------------------------------------
/tutorials/tutorial/tutorial29.m:
--------------------------------------------------------------------------------
1 | %% antiferromagnetic chain
2 |
3 | afc = spinw;
4 | afc.genlattice('lat_const',[4 4 6])
5 | afc.addatom('r',[ 0 0 0],'S',1)
6 | afc.addatom('r',[1/2 0 0],'S',1)
7 | afc.addmatrix('label','A','value',diag([0 0 -0.1]))
8 | afc.addmatrix('label','J','value',1)
9 | afc.gencoupling
10 | afc.addcoupling('mat','J','bond',1)
11 | afc.addaniso('A')
12 | afc.optmagsteep;
13 | plot(afc)
14 |
15 | %% magnetic field
16 |
17 | afc.field([0 0 7])
18 | afc.optmagsteep('random',true,'nRun',400);
19 | plot(afc)
20 |
21 | %% spin wave
22 | spec = afc.spinwave({[0 0 0] [2 0 0] 500},'hermit',true);
23 | spec = sw_egrid(spec,'Evect',linspace(0,3,300));
24 | figure
25 | sw_plotspec(spec);%,'mode','disp','imag',true);
26 | axis([0 2 0 3])
27 |
28 |
29 |
--------------------------------------------------------------------------------