<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://spindynamics.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Diamond_p.m</id>
	<title>Diamond p.m - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://spindynamics.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Diamond_p.m"/>
	<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Diamond_p.m&amp;action=history"/>
	<updated>2026-12-05T04:51:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.15</generator>
	<entry>
		<id>https://spindynamics.org/wiki/index.php?title=Diamond_p.m&amp;diff=10199&amp;oldid=prev</id>
		<title>Kuprov: version fragment to 2.13 per IK 2026-08-30</title>
		<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Diamond_p.m&amp;diff=10199&amp;oldid=prev"/>
		<updated>2026-08-30T09:11:05Z</updated>

		<summary type="html">&lt;p&gt;version fragment to 2.13 per IK 2026-08-30&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 09:11, 30 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[diamond_n_inter.m]], [[diamond_ni.m]], [[diamond_p1.m]], [[diamond_ti.m]], [[rotmat_align.m]], [[Import,_export,_and_visualisation]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[diamond_n_inter.m]], [[diamond_ni.m]], [[diamond_p1.m]], [[diamond_ti.m]], [[rotmat_align.m]], [[Import,_export,_and_visualisation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Version 2.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;11&lt;/del&gt;, authors: [[Alexey Bogdanov]]&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Version 2.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;13&lt;/ins&gt;, authors: [[Alexey Bogdanov]]&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kuprov</name></author>
		
	</entry>
	<entry>
		<id>https://spindynamics.org/wiki/index.php?title=Diamond_p.m&amp;diff=10080&amp;oldid=prev</id>
		<title>Kuprov: sync with Spinach main f053e432: new page for etc/diamond_defects/diamond_p.m, phosphorus-related defect spin system builder</title>
		<link rel="alternate" type="text/html" href="https://spindynamics.org/wiki/index.php?title=Diamond_p.m&amp;diff=10080&amp;oldid=prev"/>
		<updated>2026-08-30T08:00:40Z</updated>

		<summary type="html">&lt;p&gt;sync with Spinach main f053e432: new page for etc/diamond_defects/diamond_p.m, phosphorus-related defect spin system builder&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:diamond_p.m}} __NOTOC__&lt;br /&gt;
Phosphorus-related defect spin system for diamond. Magnetic parameters from Nadolinny et al., Crystals 7, 237 (2017), [https://doi.org/10.3390/cryst7080237 DOI link]. The spin system contains one spin-1/2 electron, one or two 31P nuclei, and, for some centres, a 14N or a 13C nucleus. Tensors of the trigonal centres are built in the [111] principal axis frame; the NP1 and NP4 centres, and the 31P hyperfine tensor of NP6, use the laboratory axis frame of the source table. Hyperfine principal values are tabulated in millitesla and are converted into Hz using the free electron magnetogyric ratio. All tensors are then rotated by the matrix that aligns the requested crystal plane normal with the magnetic field direction, and returned in the zeeman.matrix and coupling.matrix fields.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
     [sys,inter]=diamond_p(parameters)&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
     parameters is a structure with the following fields:&lt;br /&gt;
 &lt;br /&gt;
       .centre       - &amp;#039;ma1&amp;#039;, &amp;#039;np1&amp;#039;, &amp;#039;np2&amp;#039;, &amp;#039;np3&amp;#039;, &amp;#039;np4&amp;#039;, &amp;#039;np5&amp;#039;,&lt;br /&gt;
                       &amp;#039;np6&amp;#039;, &amp;#039;np8&amp;#039;, or &amp;#039;np9&amp;#039;&lt;br /&gt;
       .orientation  - &amp;#039;111&amp;#039;, &amp;#039;110&amp;#039;, or &amp;#039;100&amp;#039; crystal plane normal&lt;br /&gt;
                       aligned with the magnetic field&lt;br /&gt;
       .include_13c  - include the reported 13C hyperfine coupling;&lt;br /&gt;
                       applies only to MA1 and defaults to false&lt;br /&gt;
&lt;br /&gt;
==Outputs==&lt;br /&gt;
&lt;br /&gt;
     sys   - Spinach system specification structure&lt;br /&gt;
 &lt;br /&gt;
     inter - Spinach interaction specification structure&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
The MA1 centre carries a 31P hyperfine tensor of [1.96 1.96 2.32] mT, and, when .include_13c is set, an additional 13C hyperfine tensor of [13.92 13.92 18.13] mT. The NP1 and NP2 centres carry both a 31P and a 14N nucleus, NP3 likewise; NP8 carries two 31P nuclei; NP4, NP5, NP6 and NP9 carry a single 31P nucleus. Requesting .include_13c for any centre other than MA1 is an error.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[diamond_n_inter.m]], [[diamond_ni.m]], [[diamond_p1.m]], [[diamond_ti.m]], [[rotmat_align.m]], [[Import,_export,_and_visualisation]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Version 2.11, authors: [[Alexey Bogdanov]]&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Kuprov</name></author>
		
	</entry>
</feed>