|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.EPQLibrary.XRayTransitionSet
public class XRayTransitionSet
XRayTransitionSet represents a set of XRayTransition objects along with logic to assign the set a common shorthand name.
| Field Summary | |
|---|---|
static java.lang.String |
ABSOLUTE
Mode for getWeighiestTransitions |
static java.lang.String[] |
allBasicTransitionSets
|
static java.lang.String |
COLLECTION
An undefined collection of transitions associated with a specific element |
static java.lang.String |
ELEMENT
All transitions associated with a specified element |
static java.lang.String |
EMPTY
No transitions |
static java.lang.String |
K_ALPHA
The transitions often referred to as K alpha |
static java.lang.String |
K_BETA
The transitions often referred to as K beta |
static java.lang.String |
K_FAMILY
The transitions in the KFamily |
static java.lang.String |
K_SHELL
The transitions that end in the K-Shell |
static java.lang.String |
L_ALPHA
The transitions often referred to as L alpha |
static java.lang.String |
L_BETA
The transitions often referred to as L beta |
static java.lang.String |
L_FAMILY
The transitions in the LFamily |
static java.lang.String |
L_GAMMA
The transitions often referred to as L gamma |
static java.lang.String |
L_OTHER
The transitions in the L family that are not La, Lb or Lg |
static java.lang.String |
LI_SHELL
The transitions that end in the LI-Shell |
static java.lang.String |
LII_SHELL
The transitions that end in the LII-Shell |
static java.lang.String |
LIII_SHELL
The transitions that end in the LIII-Shell |
static java.lang.String |
M_ALPHA
The transitions often referred to as M alpha |
static java.lang.String |
M_BETA
The transitions often referred to as M beta |
static java.lang.String |
M_FAMILY
The transitions in the MFamily |
static java.lang.String |
M_GAMMA
The transitions often referred to as M gamma |
static java.lang.String |
M_OTHER
The transitions in the M family that are not Ma, Mb or Mg |
static java.lang.String |
MI_SHELL
The transitions that end in the MI-Shell |
static java.lang.String |
MII_SHELL
The transitions that end in the MII-Shell |
static java.lang.String |
MIII_SHELL
The transitions that end in the MIII-Shell |
static java.lang.String |
MIV_SHELL
The transitions that end in the MIV-Shell |
static java.lang.String |
MV_SHELL
The transitions that end in the MV-Shell |
static java.lang.String |
N_FAMILY
The transitions in the NFamily |
static java.lang.String |
NIV_SHELL
The transitions that end in the NIV-Shell |
static java.lang.String |
NORMALIZED
Mode for getWeighiestTransitions |
static java.lang.String |
NV_SHELL
The transitions that end in the NV-Shell |
static java.lang.String |
TRANSITION
A single transition |
| Constructor Summary | |
|---|---|
XRayTransitionSet()
|
|
XRayTransitionSet(AtomicShell shell)
Constructs a XRayTransitionSet from an AtomicShell. |
|
XRayTransitionSet(java.util.Collection c)
Constructs a XRayTransitionSet by adding all the XRayTransition objects in the specified collection. |
|
XRayTransitionSet(Element el)
Constructs a XRayTransitionSet representing all of an Element's transitions. |
|
XRayTransitionSet(Element el,
double e0,
double e1)
Constructs a XRayTransitionSet consisting of all transitions for the specified element between the energy e0 and e1; |
|
XRayTransitionSet(Element el,
int family)
Constructs a XRayTransitionSet from Element and transition family. |
|
XRayTransitionSet(Element el,
java.lang.String type)
|
|
XRayTransitionSet(XRayTransition xrt)
Constructs a XRayTransitionSet from a single XRayTransition |
|
| Method Summary | |
|---|---|
void |
add(XRayTransition xrt)
|
void |
add(XRayTransitionSet xrts)
combine - Add the specified XRayTransitionSet into this XRayTransitionSet. |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object obj)
|
boolean |
contains(XRayTransition xrt)
contains - Does this XRayTransitionSet contain the specified XRayTransition |
boolean |
equals(java.lang.Object obj)
|
static java.util.ArrayList |
getBasicFamilies(Element el,
double eB)
Returns an ArrayList of Strings containing all the transition sets that can be excited by an beam of the specified energy for the specified element. |
Element |
getElement()
getElement - Returns the element with which this XRayTransition set is associated. |
java.lang.String |
getMode()
getMode - Returns one of EMPTY, TRANSITION, ?_SHELL, ?_FAMILY, ELEMENT, or COLLECTION |
int |
getSize()
getSize - The number of XRayTransition objects in the XRayTransitionSet |
java.util.Set |
getTransitions()
getTransitions - Get an unmodifiable Set containing the XRayTransition objects represented by this object. |
XRayTransition |
getWeighiestTransition()
getWeighiestTransition - Returns the single weightiest transition. |
XRayTransitionSet |
getWeightiestTransitions(double weight,
java.lang.String mode)
getWeightiestTransitions - Returns the transitions in the set with weight larger than the specified weight. |
int |
hashCode()
|
java.util.Iterator |
iterator()
iterator - Returns an Iterator to iterate through the XRayTransitions. |
XRayTransition |
maxEnergy()
maxEnergy - Returns the transition with the maximum x-ray energy. |
XRayTransition |
minEnergy()
minEnergy - Returns the transition with the minimum x-ray energy. |
static XRayTransitionSet |
parseString(java.lang.String str)
parseString - The inverse of toString. |
void |
remove(XRayTransition xrt)
remove - Removes the specified transition from this XRayTransitionSet |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TRANSITION
public static final java.lang.String ELEMENT
public static final java.lang.String COLLECTION
public static final java.lang.String EMPTY
public static final java.lang.String K_ALPHA
public static final java.lang.String K_BETA
public static final java.lang.String L_ALPHA
public static final java.lang.String L_BETA
public static final java.lang.String L_GAMMA
public static final java.lang.String L_OTHER
public static final java.lang.String M_ALPHA
public static final java.lang.String M_BETA
public static final java.lang.String M_GAMMA
public static final java.lang.String M_OTHER
public static final java.lang.String K_FAMILY
public static final java.lang.String L_FAMILY
public static final java.lang.String M_FAMILY
public static final java.lang.String N_FAMILY
public static final java.lang.String K_SHELL
public static final java.lang.String LI_SHELL
public static final java.lang.String LII_SHELL
public static final java.lang.String LIII_SHELL
public static final java.lang.String MI_SHELL
public static final java.lang.String MII_SHELL
public static final java.lang.String MIII_SHELL
public static final java.lang.String MIV_SHELL
public static final java.lang.String MV_SHELL
public static final java.lang.String NIV_SHELL
public static final java.lang.String NV_SHELL
public static final java.lang.String NORMALIZED
public static final java.lang.String ABSOLUTE
public static final java.lang.String[] allBasicTransitionSets
| Constructor Detail |
|---|
public XRayTransitionSet(Element el,
double e0,
double e1)
el - The elemente0 - The lower energy bounde1 - The upper energy bound
public XRayTransitionSet(Element el,
java.lang.String type)
public XRayTransitionSet(java.util.Collection c)
c - public XRayTransitionSet(AtomicShell shell)
public XRayTransitionSet(Element el,
int family)
public XRayTransitionSet(XRayTransition xrt)
public XRayTransitionSet(Element el)
public XRayTransitionSet()
| Method Detail |
|---|
public java.lang.Object clone()
clone in class java.lang.Objectpublic void add(XRayTransition xrt)
public void remove(XRayTransition xrt)
xrt - public void add(XRayTransitionSet xrts)
xrts - public boolean contains(XRayTransition xrt)
xrt -
public int getSize()
public Element getElement()
public java.lang.String toString()
toString in class java.lang.Objectpublic static XRayTransitionSet parseString(java.lang.String str)
str -
public java.lang.String getMode()
public java.util.Set getTransitions()
public XRayTransition minEnergy()
public XRayTransition maxEnergy()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparablepublic java.util.Iterator iterator()
public XRayTransitionSet getWeightiestTransitions(double weight,
java.lang.String mode)
weight - In [0.0,1.0] (0.0->All, 1.0 & NORMALIZED -> Weightiest)mode - One of NORMALIZED or ABSOLUTE
public XRayTransition getWeighiestTransition()
public static java.util.ArrayList getBasicFamilies(Element el,
double eB)
el - An elementeB - The incident beam energy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||