Home - Tobionecenobi/SEB GitHub Wiki
Welcome to the SEB wiki!
Before using this library, please make sure to understand the theory linked below.
Introduction
SEB is a C++ library that lets you construct structures using building blocks like spheres, polymers, rods, and more, and symbolically obtain their scattering properties. With SEB, you can link these building blocks at specific "reference points" and calculate various scattering properties such as the form factor, $F$, and the radius of gyration, $R^2_g$. These properties align with the small-angle scattering theory, particularly for floating structures. Some literature may refer to the form factor as the isotropic form factor.
[!NOTE] Structures are not allowed to contain loops, therefore is the attaching building block functionality made to make this impossible.
The Theory of SEB
The foundational theory of SEB is detailed in these journal articles:
- A formalism for scattering of complex composite structures. I. Applications to branched structures of asymmetric sub-units
- A formalism for scattering of complex composite structures. II. Distributed reference points
Features
SEB offers an array of functionalities, including:
- Addition of sub units to a defined world.
- Simultaneous addition and linkage of a sub unit to an existing counterpart.
- Consolidation of linked sub units into a single structure.
- Integration and linkage of pre-defined structures.
- Retrieval of a structure's form factor and radius of gyration.
- Computation of a structure's form factor amplitude and mean square distances concerning a chosen reference point to all other reference point.
- Derivation of the phase factor and mean square distance of a structures two reference points.