Request for more fields
|
→How do I add decay branch probabilities?: new section
|
||
Line 27: | Line 27: | ||
== Magnetic properties etc == |
== Magnetic properties etc == |
||
How about adding [[magnetic moment]], [[gyromagnetic ratio]], and [[Quadrupole moment#Electric quadrupole|electric quadrupole moment]]? Will make a huge difference for us [[NMR]] folks. [[User:Xenonice|Xenonice]] ([[User talk:Xenonice|talk]]) 02:40, 1 May 2009 (UTC) |
How about adding [[magnetic moment]], [[gyromagnetic ratio]], and [[Quadrupole moment#Electric quadrupole|electric quadrupole moment]]? Will make a huge difference for us [[NMR]] folks. [[User:Xenonice|Xenonice]] ([[User talk:Xenonice|talk]]) 02:40, 1 May 2009 (UTC) |
||
== How do I add decay branch probabilities? == |
|||
Many isotopes, for example, 238-Pu, can decay in multiple ways. The Infobox isotope has the ability to list four different decay modes and their energies, which is good. |
|||
However, we need to list the branch probabilities as well. These are listed in the CRC bible as half-lifes for each decay mode, because often one branch is many orders of magnitude more likely than the other. |
|||
To do this, we can define two a new variable for each decay mode, decay_halflife1. I had hoped to modify the template as follows, but it didn't work: |
|||
<pre>{{!}}- |
|||
{{!}} {{{decay_mode1}}} |
|||
{{!}} {{#if:{{{decay_halflife1|}}}|{{{decay_halflife1}}} |}} |
|||
{{!}} {{#if:{{{decay_energy1|}}}|{{{decay_energy1}}} [[MeV]]|}} |
|||
{{!}}-|}} |
|||
{{#if:{{{decay_mode2|}}}| |
|||
{{!}} {{{decay_mode2}}} |
|||
{{!}} {{#if:{{{decay_halflife2|}}}|{{{decay_halflife2}}} |}} |
|||
{{!}} {{#if:{{{decay_energy2|}}}|{{{decay_energy2}}} MeV|}} |
|||
{{!}}-|}}</pre> |
|||
I gave up after I could not even figure out how to make any change at all show up in "Preview". If anyone else can make the template change, I'd appreciate it. |
|||
[[User:Iain.mcclatchie|Iain McClatchie]] ([[User talk:Iain.mcclatchie|talk]]) 09:34, 17 September 2010 (UTC) |
There is no good reason to resort to TeX markup for the plus-or-minus symbol, so I'm changing <math>\pm</math>
into ±
.
—Herbee 22:29, 2005 Apr 5 (UTC)
Oh, thanks, I was not aware there was HTML markup for plusminus. oo64eva (AJ) 00:45, Apr 6, 2005 (UTC)
Haha i just realized there is also a plusminus symbol at the bottom of every edit page in the character map... I should pay more attention. ± ± ± oo64eva (AJ) 16:16, Apr 6, 2005 (UTC)
I have made the last three decay modes fully optional (I hope). Rich Farmbrough, 13:06 19 September 2006 (GMT).
I chaged the halflife, etc. so that this template would work for stable isotopes. I could have changed that color part can be switched with "stable" or somthing. But I do not know if you would like to do or not.--Shoons 11:31, 19 April 2007 (UTC)[reply]
Hi, I've just improved the template. Please do let me know if there are any bugs!!!
I'm just wondering what rationale you have behind the colours. Should certain isotopes or chemicals be displayed in certain colours? The documentation ought to reflect this. It would make sense to have a colour coding (as they do for animal taxoboxes).
It might be nice, also, to have the option to have a little image to denote stability or decay mechanisms.
Verisimilus T 14:06, 7 May 2007 (UTC)[reply]
How about adding magnetic moment, gyromagnetic ratio, and electric quadrupole moment? Will make a huge difference for us NMR folks. Xenonice (talk) 02:40, 1 May 2009 (UTC)[reply]
Many isotopes, for example, 238-Pu, can decay in multiple ways. The Infobox isotope has the ability to list four different decay modes and their energies, which is good.
However, we need to list the branch probabilities as well. These are listed in the CRC bible as half-lifes for each decay mode, because often one branch is many orders of magnitude more likely than the other.
To do this, we can define two a new variable for each decay mode, decay_halflife1. I had hoped to modify the template as follows, but it didn't work:
{{!}}- {{!}} {{{decay_mode1}}} {{!}} {{#if:{{{decay_halflife1|}}}|{{{decay_halflife1}}} |}} {{!}} {{#if:{{{decay_energy1|}}}|{{{decay_energy1}}} [[MeV]]|}} {{!}}-|}} {{#if:{{{decay_mode2|}}}| {{!}} {{{decay_mode2}}} {{!}} {{#if:{{{decay_halflife2|}}}|{{{decay_halflife2}}} |}} {{!}} {{#if:{{{decay_energy2|}}}|{{{decay_energy2}}} MeV|}} {{!}}-|}}
I gave up after I could not even figure out how to make any change at all show up in "Preview". If anyone else can make the template change, I'd appreciate it.
Iain McClatchie (talk) 09:34, 17 September 2010 (UTC)[reply]