ocelot.optics.bragg¶
crystal optics
Module Contents¶
Functions¶
|
yields angle between vectors “a”=(ax,ay,az) and “b”=(bx,by,bz) in degrees |
|
atomic scattering factor |
|
|
|
|
|
|
|
|
|
|
|
Description : Calculates the eta factor as from Authier, p.136 Eq. 5.31 |
|
Description : Calculates the xijp factor as from Authier: |
|
Description : Calculates the MPp factor as from Authier p185: |
|
|
|
|
|
|
|
-
ocelot.optics.bragg._logger¶
-
ocelot.optics.bragg.m= 1.0¶
-
ocelot.optics.bragg.cm= 0.01¶
-
ocelot.optics.bragg.mm= 0.001¶
-
ocelot.optics.bragg.mum= 1e-06¶
-
ocelot.optics.bragg.nm= 1e-09¶
-
ocelot.optics.bragg.A= 1e-10¶
-
ocelot.optics.bragg.K= 1.0¶
-
ocelot.optics.bragg.hbar= 6.58211928e-16¶
-
ocelot.optics.bragg.c= 299792458.0¶
-
ocelot.optics.bragg.r_el= 2.8179403267e-15¶
-
ocelot.optics.bragg.calc_angle(a, b)¶ yields angle between vectors “a”=(ax,ay,az) and “b”=(bx,by,bz) in degrees
-
class
ocelot.optics.bragg.Element¶
-
ocelot.optics.bragg.elements¶
-
ocelot.optics.bragg.Z= 1¶
-
ocelot.optics.bragg.A= 1¶
-
ocelot.optics.bragg.Z= 6¶
-
ocelot.optics.bragg.A= 12¶
-
ocelot.optics.bragg.lattice_unit_cells¶
-
ocelot.optics.bragg.cells¶
-
class
ocelot.optics.bragg.CrystalLattice(element_name)¶
-
class
ocelot.optics.bragg.CrystalCell(element_name)¶
-
ocelot.optics.bragg.g1¶
-
ocelot.optics.bragg.lattice¶
-
ocelot.optics.bragg.temp¶
-
ocelot.optics.bragg.s0= [0, 0, 1]¶
-
class
ocelot.optics.bragg.StructureFactorFactory¶ -
atomic_structure_factor(self, element, model='spherical_elastic')¶
-
f_spher(self, a, k)¶ atomic scattering factor for hydrogen-like charge density of radius a k is the momentum transfer sin(theta)/lambda
-
f_sperical_elastic(self, element)¶
-
-
ocelot.optics.bragg.f_scat(phi, lambd)¶ atomic scattering factor
-
class
ocelot.optics.bragg.CrystalStructureFactors¶
-
ocelot.optics.bragg.load_stucture_factors(file_name)¶
-
ocelot.optics.bragg.save_stucture_factors(cdata, file_name)¶
-
ocelot.optics.bragg.F_hkl(cryst, ref_idx, lamb, temp)¶
-
ocelot.optics.bragg.find_bragg(lambd, lattice, ord_max)¶
-
ocelot.optics.bragg.plot_bragg_reflections(idc=[0, 0, 1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 2, 3, 4, 0, 0])¶
-
ocelot.optics.bragg.plot_scattering_factors()¶
-
ocelot.optics.bragg.eta(Dtheta, cryst)¶ Description : Calculates the eta factor as from Authier, p.136 Eq. 5.31
-
ocelot.optics.bragg.xij(Dtheta, cryst)¶ Description : Calculates the xijp factor as from Authier: Laue : Eq. 5.36 Bragg : Eq. 5.38
-
ocelot.optics.bragg.MP(Dtheta, cryst)¶ Description : Calculates the MPp factor as from Authier p185: Laue : Eq. 6.15, Bragg Eq. 7.9
-
ocelot.optics.bragg.D0_Dh(Dtheta, cryst)¶
-
ocelot.optics.bragg.transmissivity_reflectivity(klist, cryst)¶
-
ocelot.optics.bragg.get_crystal_filter(cryst, ev_seed, nk=10000, k=None, n_width=100)¶
-
ocelot.optics.bragg.unfold_angles(Phlist)¶