-
Notifications
You must be signed in to change notification settings - Fork 0
fill_random_demes
Yurii Kotsar edited this page Sep 16, 2025
·
1 revision
(pnt_wld_ms1, pnt_wld_ms2, pnt_wld_stats, fill::Vector{UnitRange{Int64}}, n_demes_to_fill=DEF_N_DEMES_STARTFILL)
Fills random demes within given monosome arrays with finite-sites individuals. Usually used after an empty world is created.
pnt_wld_ms1: a spatial array of demes that contain individuals' left monosome [Bool] arrays
pnt_wld_ms2: a spatial array of demes that contain individuals' right monosome [Bool] arrays
pnt_wld_stats: world stats Dict
fill: an array of Int ranges of the coordinates that define the area within which to fill
n_demes_to_fill: number of demes to fill \