.. currentmodule:: simfish
Functions used to simulate localization patterns.
We implemented 9 patterns (8 localized patterns + 1 default random pattern) in 3D. The percentage of localized spots defines the pattern strength:
- Random
- Foci
- Intranuclear
- Extranuclear
- Nuclear edge
- Perinuclear
- Cell edge
- Pericellular
- Protrusion
We build a map of probability distribution to bias the localization of generated spots. Maps are built from specific cell templates:
We can simulate ground truth coordinates based on these probability maps:
.. autofunction:: build_probability_map
.. autofunction:: simulate_localization_pattern