mom_init_distr_elec_mol#

atompy.physics.mom_init_distr_elec_mol(distr_atomic, stretch_factor)[source]#

Create molecular momentum distribution

Parameters:
distr_atomicatompy.vector.Vector

The (atomic) distribution

stretch_factorfloat

The factor how much the distribution will be stretched along that axis

Returns:
atompy.vector.Vector

The new momentum distribution

atompy.vector.Vector

The distribution of directions perpendicular to the directions along which the stretch factor was applied

Notes

Creates a isotropic distribution of molecular orientations Takes the atomic distribution and stretches y and z component of it. This would mean that all molecules are aligned along x Rotate stretched atomic distribution and rotates it such that it corresponds to the isotropic distribution of molecules