xoppylib.decorators package

Submodules

xoppylib.decorators.dabax_decorated module

DabaxXraylib instance decorated with xoppy calculation functions.

class xoppylib.decorators.dabax_decorated.DabaxDecorated(dabax_repository=None, file_f0='f0_InterTables.dat', file_f1f2='f1f2_Windt.dat', file_CrossSec='CrossSec_EPDL97.dat', file_Crystals='Crystals.dat')[source]

Bases: DabaxXraylib, XoppyDecorator

xoppylib.decorators.xoppy_decorator module

Mixin decorating material constants libraries (dabax/xraylib) with xoppy calculation functions.

class xoppylib.decorators.xoppy_decorator.XoppyDecorator[source]

Bases: object

bragg_calc(descriptor='Si', hh=1, kk=1, ll=1, temper=1.0, emin=5000.0, emax=15000.0, estep=100.0, fileout=None)[source]
bragg_calc2(descriptor='YB66', hh=1, kk=1, ll=1, temper=1.0, emin=5000.0, emax=15000.0, estep=100.0, ANISO_SEL=0, fileout=None, do_not_prototype=0, verbose=True)[source]
crystal_fh(input_dictionary, phot_in, theta=None, forceratio=0)[source]
f0_calc(MAT_FLAG, DESCRIPTOR, GRIDSTART, GRIDEND, GRIDN, FILE_NAME='', charge=0.0)[source]
mare_calc(descriptor, H, K, L, HMAX, KMAX, LMAX, FHEDGE, DISPLAY, lambda1, deltalambda, PHI, DELTAPHI, verbose=0)[source]

xoppylib.decorators.xraylib_decorated module

xraylib decorated with xoppy calculation functions.

class xoppylib.decorators.xraylib_decorated.XraylibDecorated[source]

Bases: XoppyDecorator

AtomicLevelWidth(Z, shell)[source]
AtomicWeight(Z)[source]
Atomic_Factors(Z, energy, q, debye_factor)[source]
AugerRate(Z, auger_trans)[source]
AugerYield(Z, shell)[source]
Bragg_angle(crystal, energy, i_miller, j_miller, k_miller)[source]
CS_Compt(Z, E)[source]
CS_Compt_CP(compound, E)[source]
CS_Energy(Z, E)[source]
CS_Energy_CP(compound, E)[source]
CS_FluorLine(Z, line, E)[source]
CS_FluorLine_Kissel(Z, line, E)[source]
CS_FluorLine_Kissel_Cascade(Z, line, E)[source]
CS_FluorLine_Kissel_Nonradiative_Cascade(Z, line, E)[source]
CS_FluorLine_Kissel_Radiative_Cascade(Z, line, E)[source]
CS_FluorLine_Kissel_no_Cascade(Z, line, E)[source]
CS_KN(E)[source]
CS_Photo(Z, E)[source]
CS_Photo_CP(compound, E)[source]
CS_Photo_Partial(Z, shell, E)[source]
CS_Photo_Total(Z, E)[source]
CS_Photo_Total_CP(compound, E)[source]
CS_Rayl(Z, E)[source]
CS_Rayl_CP(compound, E)[source]
CS_Total(Z, E)[source]
CS_Total_CP(compound, E)[source]
CS_Total_Kissel(Z, E)[source]
CS_Total_Kissel_CP(compound, E)[source]
CSb_Compt(Z, E)[source]
CSb_Compt_CP(compound, E)[source]
CSb_FluorLine(Z, line, E)[source]
CSb_FluorLine_Kissel(Z, line, E)[source]
CSb_FluorLine_Kissel_Cascade(Z, line, E)[source]
CSb_FluorLine_Kissel_Nonradiative_Cascade(Z, line, E)[source]
CSb_FluorLine_Kissel_Radiative_Cascade(Z, line, E)[source]
CSb_FluorLine_Kissel_no_Cascade(Z, line, E)[source]
CSb_Photo(Z, E)[source]
CSb_Photo_CP(compound, E)[source]
CSb_Photo_Partial(Z, shell, E)[source]
CSb_Photo_Total(Z, E)[source]
CSb_Photo_Total_CP(compound, E)[source]
CSb_Rayl(Z, E)[source]
CSb_Rayl_CP(compound, E)[source]
CSb_Total(Z, E)[source]
CSb_Total_CP(compound, E)[source]
CSb_Total_Kissel(Z, E)[source]
CSb_Total_Kissel_CP(compound, E)[source]
CompoundParser(compound)[source]
ComptonEnergy(E0, theta)[source]
ComptonProfile(Z, pz)[source]
ComptonProfile_Partial(Z, shell, pz)[source]
CosKronTransProb(Z, trans)[source]
Crystal_F_H_StructureFactor(crystal, energy, i_miller, j_miller, k_miller, debye_factor, rel_angle)[source]
Crystal_F_H_StructureFactor_Partial(crystal, energy, i_miller, j_miller, k_miller, debye_factor, rel_angle, f0_flag, f_prime_flag, f_prime2_flag)[source]
Crystal_Free(crystal)[source]
Crystal_GetCrystal(material)[source]
Crystal_GetCrystalsList()[source]
Crystal_MakeCopy(crystal)[source]
Crystal_UnitCellVolume(crystal)[source]
Crystal_dSpacing(crystal, i_miller, j_miller, k_miller)[source]
DCSP_Compt(Z, E, theta, phi)[source]
DCSP_Compt_CP(compound, E, theta, phi)[source]
DCSP_KN(E, theta, phi)[source]
DCSP_Rayl(Z, E, theta, phi)[source]
DCSP_Rayl_CP(compound, E, theta, phi)[source]
DCSP_Thoms(theta, phi)[source]
DCSPb_Compt(Z, E, theta, phi)[source]
DCSPb_Compt_CP(compound, E, theta, phi)[source]
DCSPb_Rayl(Z, E, theta, phi)[source]
DCSPb_Rayl_CP(compound, E, theta, phi)[source]
DCS_Compt(Z, E, theta)[source]
DCS_Compt_CP(compound, E, theta)[source]
DCS_KN(E, theta)[source]
DCS_Rayl(Z, E, theta)[source]
DCS_Rayl_CP(compound, E, theta)[source]
DCS_Thoms(theta)[source]
DCSb_Compt(Z, E, theta)[source]
DCSb_Compt_CP(compound, E, theta)[source]
DCSb_Rayl(Z, E, theta)[source]
DCSb_Rayl_CP(compound, E, theta)[source]
EdgeEnergy(Z, shell)[source]
ElectronConfig(Z, shell)[source]
ElementDensity(Z)[source]
FF_Rayl(Z, q)[source]
Fi(Z, E)[source]
Fii(Z, E)[source]
FluorYield(Z, shell)[source]
GetCompoundDataNISTByIndex(compoundIndex)[source]
GetCompoundDataNISTByName(compoundString)[source]
GetCompoundDataNISTList()[source]
GetErrorMessages()[source]
GetExitStatus()[source]
GetRadioNuclideDataByIndex(radioNuclideIndex)[source]
GetRadioNuclideDataByName(radioNuclideString)[source]
GetRadioNuclideDataList()[source]
JumpFactor(Z, shell)[source]
LineEnergy(Z, line)[source]
MomentTransf(E, theta)[source]
Q_scattering_amplitude(crystal, energy, i_miller, j_miller, k_miller, rel_angle)[source]
RadRate(Z, line)[source]
Refractive_Index(compound, E, density)[source]
Refractive_Index_Im(compound, E, density)[source]
Refractive_Index_Re(compound, E, density)[source]
SF_Compt(Z, q)[source]
SetErrorMessages(status)[source]
SetExitStatus(exit_status)[source]
SetHardExit(hard_exit)[source]
XRayInit()[source]

Module contents