Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.simulate.Geometry  (  )[source]

Class representing a fluorescence detection geometry. The solid angle over which fluorescence light is detected can be defined through intervals of the two angles $\theta$ and $\phi$. With these, every spacial direction can be addressed using an orthonormal system defined by $$ \hat{e}_r = \begin{pmatrix}\sin(\theta)\\ \cos(\theta)\sin(\phi)\\ \cos(\theta)\cos(\phi)\end{pmatrix}. $$ If the user specifies a rotation object with unitary matrix $R$, the new system is $\hat{e}_r^\prime = R \hat{e}_r$ The entire two-dimensional interval is defined through the cartesian product $\bigcup_i \theta_i \times \bigcup_i \phi_i$. For every disjoint interval a weight can be defined through a 'weights' matrix. A probability distribution function (pdf) can be defined to have continuous angle weights. A rotation matrix can be defined to rotate the entire coordinate systems/detection geometry. A sample of angle pairs from the defined intervals can be generated using the 'integration_sample' method.

API navigation